@import url(/cart.css);
@import url(/checkout.css);
@import url(/contact.css);
@import url(/footer.css);
@import url(/products.css);
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #e6cdb0, #1b0a0a);
}

.splash-page {
    width: 100%;
    height: 100vh;
    background-color: #9e7341;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2em;
}

.splash-page h2 {
    color: #d2d1cc;
    font-size: 4rem;
}

.splash-page p {
    color: #d2d1cc;
    width: 50%;
}

.page {
    width: 60%;
    padding: 5% 10%;
    background-image: url(./images/optimal1.jpg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3em;
    border-radius: 30px;
    box-shadow: 0 0 40px #9e7341;
    background-size: cover;
    background-position: center;
}

h1 {
    text-align: center;
    width: 100%;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(2rem, 3vw, 4rem);
    letter-spacing: 6px;
    transition: .75s;
    color:#6d5e52;
    text-shadow: 0 0 20px  black;
}

h1:hover {
    transform: scale(1.05); 
    text-shadow: 0 0 5px #444040;
}

.title {
    color: #cdcdc7;
}

p {
    align-self: center;
    text-align: center;
    line-height: 1.7em;
    font-style: italic;
    color: #cdcdc7;
}

.description {
    color: #4a3a35;
    width: 100%;
    font-size: 1.5rem;
}

button {
    width: 100%;
    padding: 2%;
    font-size: 1.5rem;
    letter-spacing: 2px;
    border-radius: 12px;
    border: none;
    box-shadow: 5px 2px 10px;
    transition: .5s;
}

button:hover {
    filter: invert(0.2);
    cursor: pointer;
}

header {
    position: relative;
    width: 100%;
    padding: 2% 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid;
}

header a {
        width: 30%;
}

h2 {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1rem, 2vw, 2.5rem);
    transition: .5s;
}

.logo:hover {
    text-shadow: 0 0 5px;
    letter-spacing: 4px;
}

nav {
    display: flex;
    align-items: center;
    width: 70%;
    justify-content: space-between;
}

a {
    width: 30%;
    font-size: 2rem;
    text-decoration: none;
    color: #1c0f0e;
}


ul {
    text-transform: uppercase;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: .5em;
}

ul li {
    list-style-type: none;
    margin-bottom: 5%;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.5rem;
}

li span {
    font-weight: 400;
}

hr {
    border-top: 1px solid;
}


main {
    gap: 3em;
    padding: 2% 5%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}


h3 {
    font-size: 4rem;
}

h3 span {
    font-weight: 200;
}

.inner-page {
    overflow: hidden;
    width: 90%;
    padding: 0;
    background-color: bisque;
    align-self: flex-start;
    margin: 5% 0;
    background-image: none;
}

img {
    width: 40%;
    border-radius: 20px;
    box-shadow: 5px 5px 10px #4f4139;
}

section {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4em;
}

section h1 {
    text-align: center;
    color: #6d5e52;
    text-shadow: 0 0 10px;
    width: 100%; 
}

.next-page {
    width: 100%;
}

.main-contact {
    align-items: center;
}

nav a {
    font-size: clamp(1.5rem, 10vw, 2rem);
}


/* =============animations============ */
.loading {
    animation: load 2s 8s linear forwards;
}

@keyframes load {
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* ==============media-queries============= */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
    }
    nav {
        flex-direction: column;
    }
    header a {
        width: 100%;
        text-align: center;
    }
    a {
        width: 50%;
    }
    main {
        align-items: center;
    }
    select {
        width: 100%;
    }

    h3 {
        font-size: 3rem;
    }
}
@media screen and (max-width: 376px) {
    body {
        padding: 5%;
    }
    .page {
        width: 100%;
    }
    header a {
        width: 100%;
        text-align: center;
    }
    nav {
        flex-direction: column;
    }
    select {
        width: 100%;
        font-size: 1rem;
    }
    a {
        text-align: center;
        width: 90%;
    }
    .next-page {
        text-align: center;
        width: 100%;
        margin-left: 0;
    }
    h3, .options h3 {
        font-size: 2rem; 
    }
}