@import "font.css";
@import "header.css";
@import "footer.css";

:root{
    --theme-font-family: 'Gerstner Programm';
    --theme-background-color : #FAFAFA;
    --theme-global-padding : 15px;
    --theme-max-width: 800px;
}

/*–––––––––––––––––––––––––––––––––––––––
                 GLOBAL
–––––––––––––––––––––––––––––––––––––––*/

*{
    margin: 0;
    padding: 0;
    font-family: var(--theme-font-family);
    font-weight: lighter;
    list-style: none;
    outline: none;
    box-sizing: border-box;
}

html{
    background-color: var(--theme-background-color);
}

a{
    color:#000000;
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

/*–––––––––––––––––––––––––––––––––––––––
                SECTION
–––––––––––––––––––––––––––––––––––––––*/

section{
    max-width: var(--theme-max-width);
    padding:var(--theme-global-padding);
    margin:0 auto;
}

/*–––––––––––––––––––––––––––––––––––––––
                ARTICLE
–––––––––––––––––––––––––––––––––––––––*/

article{
    margin-top: 100px;
}
article:last-child{
    margin-bottom: 150px;
}
article h1{
    font-size: 105px;
    line-height: 180px;
    font-weight: 500;
    text-align: center;
}
article h2{
    font-size: 30px;
    line-height: 30px;
    font-weight: normal;
    text-align: center;
    max-width: 600px;
    margin:0 auto;
    margin-top: 25px;
}
rticle h3{
    font-size: 20px;
    line-height: 15px;
    font-weight: normal;
    text-align: center;
    max-width: 600px;
    margin:0 auto;
    margin-top: 25px;
}
article p{
    margin-top: 50px;
    font-size: 25px;
    line-height: 30px;
}

article strong{
    font-weight: 500;
}

article figure img {
    width:100%;
    min-height: 300px;
    height: 600px;
    object-fit: cover;
    background-color: #FFD700;
    border-radius: 30px;
}

.title figure{
    margin-top: 70px;
}
.title figure figcaption{
    max-width: 400px;
    margin:30px auto;
    font-size: 15px;
    line-height: 20px;
    text-align: center;
}

/*.link{
    margin-top: 50px;
    font-size: 25px;
    line-height: 30px;
    text-align: center;
}*/

article ul{
    margin-top: 60px;
}

article ul li figure figcaption{
    max-width: 400px;
    margin:30px auto;
    font-size: 15px;
    line-height: 20px;
    text-align: center;
}

.team{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 50px;
    grid-auto-rows: minmax(100px, auto);
}

.team li h5{
    font-size: 18px;
    font-weight: 500;
}

.team li p{
    margin-top: 5px;
    font-size: 18px;
}
/*–––––––––––––––––––––––––––––––––––––––
               MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––*/

@media all and (max-width: 690px) { 
    
    article{
        margin-top: 100px;
    }
    article h1{
        font-size: 25px;
        line-height: 30px;
    }
    article h2{
        margin-top: 20px;
        font-size: 15px;
        line-height: 20px;
    }
    article p{
        margin-top: 30px;
        font-size: 20px;
        line-height: 25px;
    }  
    article figure img {
        width:100%;
        height: 300px;
        object-fit: cover;
    }
    
    .title figure figcaption{
        margin-top: 20px;
        font-size: 15px;
        line-height: 20px;
    }
    
    .link{
        margin-top: 40px;
        font-size: 15px;
        line-height: 20px;
    }
    
    article ul{
        margin-top: 60px;
    }
    
    article ul li{
        margin-top: 50px;
    }

    article ul li figure figcaption{
        font-size: 15px;
    }
    
    article:last-child{
        margin-bottom: 100px;
    }

    .team{
        display: block;
    }
}