/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

/* Reset and basic styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

body {
    display: grid;
    place-items: center;
}

/* Header */
header {
    background-color: #333;
    color: white;
    padding: 1rem;
    width: 100%;
    display: grid;
    justify-content: center;

}

.menu {
    list-style: none;
    padding: 0;
}

.menu li {
    display: inline-block;
    margin: 0 10px;
}

.menu button {
    background-color: #333;
    color: white;
    text-decoration: none;
    font-weight: 400;
    position: relative;
    padding: 8px 12px;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;

}

.menu button:hover {
    color: #6a11cb;
    background: #333;
    border-color: #2575fc;
    border-radius: 1rem;
}

main {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* prevents scrollbars */
}

/* Hero section */
.hero {
    position: relative;
    /* needed for z-index */
    z-index: 10;
    /* higher than cube container */
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom right, #6a11cb, #2575fc);
    clip-path: polygon(0 0, 50% 0, 80% 100%, 0 100%);
    padding-left: 1rem;
}

/* Text content */

.text-content {
    position: relative;
    z-index: 2;
    max-width: 45vw;
    width: 90%;
    max-height: 100vh;
    overflow-y: auto;
    color: white;
    background: rgba(0, 0, 0, 0.35);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Cube container */
#cube-container {
    position: absolute;
    padding-top: 0.2rem;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* behind hero */
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    gap: 10px;
}

.hero h2,
.hero p,
.hero button {
    display: block;
    margin: 50px 0;
    padding: 1rem;
}

/* Buttons */
button {
    padding: 10px 20px;
    border: none;
    background-color: #ff9800;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #e68900;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 1rem;
    text-align: center;
    width: 100%;
}

/* Address blocks */
address,
.adress-bottom {
    display: block;
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
}

.adress-bottom {
    margin-bottom: 200px;
}

/* H1 styling */
h1 {
    position: relative;
    font-family: "Poppins", sans-serif;
    color: #f6d8d5;
    font-size: 150px;
    background-image: radial-gradient(#333);
}

h1:hover::before {
    top: 0.04em;
    left: 0.04em;
}

h1::after {
    content: attr(data-text);
    position: absolute;
    color: transparent;
    top: 0;
    left: 0;
    background-image: linear-gradient(to bottom right, rgba(106, 17, 203, 0.5), rgba(37, 117, 252, 0.5));
    background-size: 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 1px transparent;
    transition: 0.2s;
}

h1:hover::after {
    top: -0.04em;
    left: -0.04em;
    -webkit-text-stroke: 1px transparent;
}

/* Optional: Red cube placeholder for background testing */


.hero .text-content {
    position: relative;
    z-index: 1;
    /* text stays above cube */
}

