body{
    background: linear-gradient( rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7) ), url("../assets/images/samae/mainbg.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

h2{
    color: white;
    grid-column: 1 / 4;
    width: 100%;
    margin:0;
    padding-top: 6%;
}

section{
    margin: auto auto 7vh auto;
    width: 60%;
    min-height: calc(100vh - 207px);
}

article{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
}

article a{
    height: 200px;
    width: 200px;
    border-radius: 0px;
    overflow: hidden;
    display: grid;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
    border-radius: 100px;
    margin-top: 20%;
    transition: 160ms;
}

article a:hover{
    transform: scale(1.1);
    transition: 160ms;
}

article a:nth-of-type(3n+1){
    justify-self: left;
}

article a:nth-of-type(3n+3){
    justify-self: right;
}

article img{
    margin-left: auto;
    margin-right: auto;
    height: 200px;
    width: 200px;
    object-fit: cover;
    object-position: 50% 50%;
}

/* ------------------------------ */
/* ---------- FOOTER ---------- */

/* ------------------------------- */

@media (max-width: 1200px){

    h2{
        grid-column: 1 / 3;
    }
    
    article{
        grid-template-columns: 1fr 1fr;
    }

    article a:nth-of-type(2n+1){
        justify-self: left;
    }
    
    article a:nth-of-type(2n){
        justify-self: right;
    }
}

@media (max-width: 800px){

    section{
        width: 90%;
    }

    article a{
        height: 150px;
        width: 150px;
    }

    article img{
        height: 150px;
        width: 150px;
    }
}