/* ==========================================================
   BEFLAME HOME
   Author: Oksana Diachenko
========================================================== */


/* ==========================================================
   RESET
========================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Geist", sans-serif;
    color: #1E1E1E;
    background: #ffffff;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    font: inherit;
}


/* ==========================================================
   VARIABLES
========================================================== */

:root {

    --green: #163F35;
    --green-hover: #0F2D25;
    --text: #1E1E1E;
    --white: #FFFFFF;

    --container-width: 1440px;

}


/* ==========================================================
   HERO
========================================================== */

.hero {

    position: relative;

    width: 100%;

    min-height: 1024px;

    max-width: 1440px;

    margin: 0 auto;

    overflow: hidden;

}

/* ==========================================================
   HERO IMAGE
========================================================== */

.hero__image {

    position: absolute;

    inset: 0;

    z-index: 1;

    overflow: hidden;

}

.hero__image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

}


/* ==========================================================
   LOGO
========================================================== */

.logo {

    position: absolute;

    top: 40px;
    left: 80px;

    width: 156px;
    height: 53px;

    z-index: 20;

}
.logo:hover {

    opacity: .9;

}

.logo img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

}

/* ==========================================================
   HERO CONTENT
========================================================== */

.hero__content {

    position: absolute;

    top: 175px;
    left: 80px;

    width: 620px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    z-index: 10;

}
/* ==========================================================
   TITLE
========================================================== */

.hero__title {

    width: 620px;

    margin-bottom: 24px;

    font-family: "Geist", sans-serif;

    font-size: 64px;

    font-weight: 500;

    line-height: 120%;

    letter-spacing: 0;

    text-transform: uppercase;

    color: #1E1E1E;

}


/* ==========================================================
   BODY TEXT
========================================================== */

.hero__text {

    width: 620px;

    margin-bottom: 40px;

    font-family: "Geist", sans-serif;

    font-size: 20px;

    font-weight: 400;

    line-height: 140%;

    letter-spacing: 0;

    color: #1E1E1E;

}
/* ==========================================================
   BUTTONS
========================================================== */

.hero__buttons {

    display: flex;
    align-items: center;
    gap: 16px;

}


/* Base Button */

.btn {

    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 12px;

    border-radius: 12px;

    font-family: "Geist", sans-serif;

    font-size: 18px;

    font-weight: 400;

    line-height: 120%;

    transition: all .25s ease;

    cursor: pointer;

}


/* Shop on Etsy */

.btn--primary {

    width: 160px;
    height: 46px;

    background: #163F35;

    color: #FFFFFF;

}

.btn--primary:hover {

    background: #0F2D25;

}


/* Wholesale */

.btn--secondary {

    width: 132px;
    height: 46px;

    border: 1px solid #1E1E1E;

    background: transparent;

    color: #1E1E1E;

}

.btn--secondary:hover {

    background: #1E1E1E;

    color: #FFFFFF;

}



/* ==========================================================
   SOCIAL LINKS
========================================================== */

.social-links {

    position: absolute;

    left: 50%;
    top: 900px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 12px;

    z-index: 100;

}

.social-links a {

    display: flex;
    justify-content: center;
    align-items: center;

    width: 40px;
    height: 40px;

    transition: transform .25s ease;

}

.social-links a:hover {

    transform: translateY(-3px);

}

.social-links img {

    display: block;

    width: 40px;
    height: 40px;

}


/* ==========================================================
   TRANSITIONS
========================================================== */

.logo img,
.hero__image img,
.social-links img {

    transition: .3s ease;

}

.logo:hover img {

    transform: scale(1.02);

}
/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1200px) {

    .hero {

        height: auto;
        min-height: 100vh;

    }

    .hero__content {

        left: 60px;
        top: 180px;

        width: 520px;

    }

    .hero__title {

        width: 520px;

        font-size: 54px;

    }

    .hero__text {

        width: 520px;

    }

    .social-links {

        left: 50%;
        transform: translateX(-50%);
        top: auto;
        bottom: 40px;

    }

}



@media (max-width: 992px) {

    .hero {

        height: auto;

        min-height: 100vh;

    }

    .logo {

        left: 40px;
        top: 40px;

    }

    .hero__content {

        position: relative;

        top: 180px;
        left: 40px;

        width: calc(100% - 80px);

    }

    .hero__title {

        width: 100%;

        font-size: 48px;

    }

    .hero__text {

        width: 100%;

        font-size: 18px;

    }

}



@media (max-width: 768px) {

    .hero {

        min-height: 100vh;

    }

    .logo {

        left: 24px;

        top: 24px;

        width: 140px;

        height: auto;

    }

    .hero__content {

        left: 24px;

        top: 140px;

        width: calc(100% - 48px);

    }

    .hero__title {

        font-size: 42px;

        width: 100%;

    }

    .hero__text {

        width: 100%;

        font-size: 18px;

    }

    .hero__buttons {

        flex-direction: column;

        align-items: flex-start;

        width: 100%;

    }

    .btn {

        width: 100%;

    }

    .btn--primary,
    .btn--secondary {

        width: 100%;

    }

    .social-links {

        bottom: 24px;

        left: 50%;

        transform: translateX(-50%);

        top: auto;

    }

}



@media (max-width: 480px) {

    .hero {

        min-height: 100vh;

    }

    .logo {

        width: 120px;

    }

    .hero__content {

        top: 120px;

    }

    .hero__title {

        font-size: 34px;

        line-height: 120%;

    }

    .hero__text {

        font-size: 16px;

        line-height: 150%;

    }

}



/* ==========================================================
   SELECTION
========================================================== */

::selection {

    background: #163F35;

    color: #FFFFFF;

}



/* ==========================================================
   FOCUS
========================================================== */

a:focus-visible,
button:focus-visible {

    outline: 2px solid #163F35;

    outline-offset: 4px;

}



/* ==========================================================
   END
========
