:root{
    font-size: 62.5%;
    --primary-color: #fcf9f4;
    --secondary-color: #14453d;
}

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body{
    font-size: 1.6rem;
    font-family: 'EB Garamond', serif;
    color: var(--secondary-color);
    background-color: var(--primary-color);
    position: relative;
}
body .header-background{
    width: 48.2%;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
body .header-background img{
    transform: rotate(60deg);
    width: 100%;
}

.hide{
    display: none;
}

header{
    display: grid;
    place-items: center;
    position: relative;
    text-align: center;
}

header .header-primary{
    padding: 3rem 5rem;
}
.header-text-context{
    margin: 10rem 0;
    padding: 10px;
    color: var(--primary-color);
    background-color: #14453dc2;
    backdrop-filter: blur(2px);
    border-radius: 8px;
}
header .header-primary h2{
    font-size: 5rem;
}
header .header-primary p{
    font-size: 3rem;
    font-weight: 500;
}
header .header-assets{
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
header .header-assets img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    /* position: absolute; */
}

.btn-contato{
    display: flex;
    align-items: center;
    margin: 2rem auto;
    justify-content: center;
    gap: 5px;

    text-decoration: none;

    width: 30rem;
    height: 6.5rem;
    border-radius: 100px;

    font-size: 2.5rem;
    color: var(--primary-color);    
    background-color: var(--secondary-color);
}
.btn-contato svg{
    width: 30px;
    fill: var(--primary-color);
}
.btn-contato:hover{
    transform: scale(1.03);
    transition: 0.6s;
}

.main-divisor{
    width: 100%;
    height: 150px;
    padding: 0 5rem;
    text-align: center;
    display: grid;
    place-items: center;
    background-color: var(--secondary-color);
}
.main-divisor a{
    font-size: 3rem;
    text-decoration: none;
    color: var(--primary-color);
}
.main-divisor a:hover{
    transform: scale(1.05);
    transition: 0.7s;
    /* transform: scaleY(1.05); */
}

footer{
    display: grid;
    place-items: center;
    height: 5rem;
    font-size: 2rem;
}
footer a{
    color: var(--secondary-color);
}

@media (max-width: 400px){
    header{
        padding: 20px;
    }
    .btn-contato{
        width: 25rem;
        height: 5.5rem;
        font-size: 2rem;
    }
}
@media (max-width: 600px){
    .header-text-context{
        margin-top: 3rem;
    }
    header .header-primary h2{
        font-size: 4rem;
        font-weight: bold;
    }
    header .header-primary p{
        font-size: 2rem;
        font-weight: 500;
        margin-top: 15px;
    }
}
@media (min-width: 1000px){
    body .header-background{
        display: block;
    }
    header .header-main{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    header .header-primary{
        width: 60%;
        display: grid;
        place-items: center;
    }
    header .header-text-context{
        backdrop-filter: none;
        background: none;
        margin: 0;
        color: var(--secondary-color);
    }
    header .header-assets{
        position: relative;
        height: 85rem;
        max-width: 60rem;
    }
    header .header-primary h2{
        margin: 60px 0 20px 0;
    }
}