


/* Fonts */
/* fraunces-latin-wght-normal */
@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/fraunces:vf@5.3.0/latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}



 

/* ---VARIABLES--- */
:root {
    --header-height: 3rem;
    --font-medium: 500;
}

/* -Colors- */
:root{
    --first-color: #927452;
    --white-color: seashell;
    --dark-color: #140b0b; 
    --light-green-color: rgb(148, 197, 149);
    --text-color: black;
}

/* -Typography- */ 
:root {
    --body-font: "Fraunces Variable";
    --big-font-size: 6.25rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
}
@media  screen and (min-width: 768px) {
    :root {
    --big-font-size: 10.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
} }

/* -Margins- */ 
:root {
    --mb-1: 0.5rem;
    --mb-2: 1rem;
    --mb-3: 1.5rem;
    --mb-4: 2rem;
}

/* -Z index- */ 
:root {
    --z-fixed: 100;
}

/* ---BASE--- */
*,::before,::after{
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;

    /* font-size: 18px;

    background-color: seashell; */
}
body{
    margin: var(--header-height) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    color: var(--text-color);
    line-height: 1.6;
}

h1,h2,p{
    margin: 0;
}
ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
a{
    text-decoration: none;
    color: var(--text-color);
}
img{
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Class CSS --- */
.section{
    padding: 3rem 0;
}
.section-title{
    position: relative;
    font-size: var(--h2-font-size);
    color: var(--dark-color);
    margin: var(--mb-4) 0;
    text-align: center;
}
.section-title::after{
    position: absolute;
    content: "";
    width: 32px;
    height: .18rem;
    left: 0;
    right: 0;
    margin: auto;
    top: 2.5rem;
    background-color: var(--first-color);
}

/* --- LAYOUT --- */ 
.bd-grid{
    max-width: 1624px;
    display: grid;
    grid-template-columns: 100%;
    column-gap: 2rem;
    width: calc(100% - 2rem);
    margin-left: var(--mb-2);
    margin-right: var(--mb-2);
} 
.header-1 {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: var(--first-color);
}

/* --- NAV --- */
.nav{
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav__menu{
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    height: 100vh;
    padding: 2rem;
    background-color: rgba(255, 255, 255, .3);
    transition: .5s;
    backdrop-filter: blur(10px);
}


.nav__item{
    margin-bottom: var(--mb-4);
}
.nav__link{
    position: relative;
    color: var(--dark-color);
}
.nav__link.nav__link:hover{
    color: var(--first-color)
}
.nav__logo{
    color: var(--white-color)
}
.nav__toggle{
    color: var(--white-color);
    font-size: 1.5rem;
    cursor: pointer;
}


/* --- Show Menu --- */
.show{
    right: 0;
}

/*Active Menu*/
.active::after{
    position: absolute;
    content: "";
    width: 100%;
    height: .18rem;
    left: 0;
    bottom: -.25rem;
    background-color: var(--first-color);
}

/* Desktop: normal inline menu */
@media screen and (min-width: 768px){
    .nav__menu{
        position: relative;
        top: 0;
        right: 0;
        width: initial;
        height: initial;
        padding: 0;
        background: none;
        backdrop-filter: none;
    }
    .nav__list{
    display: flex;
    column-gap: 2rem;
    }
    .nav__toggle{
        display: none;
    }
    .nav__item{
         margin-bottom: 0; 
         column-gap: 2rem;
         color: var(--white-color);
         display: flex;
    }
    .nav__link.nav__link:hover{
    color: var(--white-color)
    }
    .active::after{
        background-color: var(--white-color);
        top: -.25rem;
    }
}



/* === HOME === */
.home{
    position: relative;
    background-color: var(--first-color);
    overflow: hidden;
    padding-bottom: var(--mb-4);
}
.home__container{
    height: calc(100vh - var(--header-height));
    padding-bottom: var(--mb-4)
}
.home__title{
    align-self: flex-end;
    font-size: var(--big-font-size);
    color: var(--white-color);
    line-height: .8;
}
.home__title span{
    text-shadow: 0 20px 25px rgba(0,0,0,0.5);
}
.home__scroll{
    align-self: flex-end;
    padding-bottom: var(--mb-4);
}
.home__scroll-link{
    writing-mode: sideways-lr;
    transform: rotate(-180deg);
    color: var(--white-color);
}
.home__img{
    position: absolute;
    right: var(--mb-2);
    top: var(--mb-2);
    width: 295px;
}

/* === ABOUT === */
.about__container{
    justify-items: center;
    row-gap: 2rem;
    text-align: center;
}
.about__img{
    display: flex;
    justify-content: center;
    width: 120px;
    height: 120px;
    background-color: var(--first-color);
    border-radius: 50%;
    overflow: hidden;
}
.about__subtitle{
    font-size: var(--h2-font-size);
    color: var(--first-color);
    margin-bottom: var(--mb-1);
}
.about__text{
    margin-bottom: var(--mb-4);
    max-width: 900px;
}
.about__profession{
    display: block;
    margin-bottom: var(--mb-4);
}

