/*variables---------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Metrophobic&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

    
:root {
    /*--primary-color: #35bca8;*/
    --primary-color: hsl(183, 42%, 63%);
    --important-color: hsl(0, 53%, 58%);
    --secondary-color: hsl(169, 88%, 25%);
    --text-color: #393939;
    --background-color: white;
    --heading-font:"Playfair Display", serif;
    --heading-weight:400;
    --text-font:"Metrophobic", sans-serif;
    --text-weight:400;
    --font-a:"Playfair Display", serif;
    --font-b:"Metrophobic", sans-serif;
}



/*web-wide settings------------------------------------------*/

*{
    font-family: var(--font-b);
    color: var(--text-color) ;
    margin: 0;
    padding: 0;
}
p,span,a,li{
    font-size: 1.1rem;
}
h1,h2,h3,h4,h5,h6{
    font-family: var(--font-a);
    font-weight: 500;
}
h1{
    font-size: 5rem;
    color: var(--background-color);
    background-color:  color-mix(in srgb, var(--primary-color) 90%, transparent);
    padding:8px 24px;
    font-weight: 400;
    text-align: center;
    width: fit-content;
}

h2{
    font-size: 2.5rem;
    color: var(--primary-color);
}
h3{
    color: var(--secondary-color);
    font-size: 1.5rem;
}
@media(max-width:600px){
    h1{
        font-size: 4rem;
    }
    h2{
        font-size: 2rem;
    }
}
@media(max-width:690px){
    h1{
        width: min-content;
    }
}

/*header---------------------------------------------------*/
header.m{
    display: none;
}
header{
    height: 82px;
    color: var(--background-color);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 12px 10%;
    box-sizing: border-box;
    align-items: center;
    position: fixed;
    background-color: var(--background-color);
    box-shadow:0px 2px 2px 0px hsl(0, 0%, 90%);
}
header *{
    font-family: var(--heading-font);
    font-weight: var(--heading-weight);
    text-decoration: none;
}
header div{
    gap: 12px;
    display: flex;
    align-items: center;
}
header img{
    height:58px;
    width: auto;
}
header span.logo{
    color: var(--primary-color);
    font-size: 1.75rem;
}
header nav a{
    margin-left: 12px;
    transition: ease-in-out 0.2s;
    border-bottom: solid var(--background-color) 2px
}

header nav a:hover{
    border-bottom: solid var(--primary-color) 2px;
}

@media(max-width: 930px){
    header{
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media(max-width: 830px){
    header.pc{
        display: none;
    }
    header.m{
        display: flex;
    }
    header.m .mobile-menu{
        cursor: pointer;
    }
    header nav.m {
        display: none;
    }
    header nav.m.active{
        display: flex;
        flex-direction: column;
        gap: 24px;
        position: fixed;
        top: 82px;
        width: 100%;
        background-color: var(--background-color);
        align-items: center;
        left: 0;
        padding: 5% 0;
    }

}

/*footer---------------------------------------------------*/

footer{
    background-color: var(--text-color);
    display: flex;
    padding: 48px 10%;
    margin-top: 48px;
    justify-content: space-between;
    gap: 24px;
}
footer *{
    color: var(--background-color);
}
footer h2{
    margin-bottom: 4px;
    font-size:1.5rem ;

}
footer img{
    height: 140px;
    width: 140px;
    align-self: center;
}
footer div{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (max-width:930px){
    footer{
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }
    footer img{
        display: none;
    }
}
/*templates------------------------------------------------*/

hr{
    width: 105%;
    color: var(--text-color);
    margin-top: 24px;
    align-self: center;
}
.important{
    color: var(--important-color);
    font-weight: 400;
}

section.atf-subpage{
    border-top: solid 82px transparent;
    background-image: url('/img/head.jpg');
    height: 40vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
}
