*{
    margin:0;
    padding:0;
    
    font-family: 'Montserrat', sans-serif;
}

main{
    position: relative;
    min-height: 500px;
    height: calc(100vh - 68px);/*heigth de img + padding=10*/    
}

.img-bg{
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: .5;
    z-index: -1;
}

header{
    display: flex;
}

header img{
    height: 100%;
    padding-top: 10px;
    padding-left: 10px;
}

.title{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-top: 10vh;
}

.title p{
    text-transform: uppercase;
    font-size: 36px;
    font-weight: 600;
    color:rgb(27, 27, 109);
    letter-spacing: 0.05em;
    text-align: center;
}

.links-container{
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: space-evenly;
    padding-top: 8vh;
    gap: 30px;
    width:800px;
}


a{
    text-decoration: none;
}

a:visited{
    text-decoration: none;
}

a:active{
    text-decoration: none;
}

.link{
    height: 150px;
    width: 150px;
    border-radius: 50%;
    /*border: 2px solid rgb(7, 7, 56);*/
    background-color: rgba(255, 255, 255, 0.644);
    display:flex;
    justify-content: center;
    align-items: center;
}

.link:hover{
    transform: scale(1.05);
    transition: .1s;
    background-color: rgba(255, 255, 255, 0.747);
}

.link img{
    width: 100%;
    height: 100%;
}

.link p{

    font-weight: 600;
    font-size: 26px;
    text-decoration: none;   
    padding: 3px 0;
}
/*
.link p{
    border-top: 1px solid rgb(7, 7, 56);
    border-bottom: 1px solid rgb(7, 7, 56);
}*/


@media (max-width: 800px) {
    main{
        height: 100%;
        padding-bottom: 30px; 
    }
    header img{
        height: 41px;
        width: 140px;
    }
    .img-bg{
        object-position: bottom left;
    }
    .title{
        padding-top: 6vh;
    }
    .title p{
        font-size: 32px;
    }
    .links-container{
        grid-template-columns: auto auto;
        width: unset;
        padding-top: 4vh;
    }
    .link{
        height: 120px;
        width: 120px;
    }

    .link p{
        font-size: 20px;
    }
     
  }