*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html{
    font-size: 62.5%;

}

body{
    height: fit-content;
    min-height: 100vh;
    width: 100vw;
    background: linear-gradient(0deg, rgba(186,32,127,1) 0%, rgba(93,23,138,1) 100%);
    padding-bottom: 8%;
}

header{
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 320px;
    padding: 20px 0 20px 0;
}

header img{
    width: 236px;
    height: 53px;
    align-self: center;
}

header p{
    align-self: center;
    text-align: center;
    font-family: sans-serif;
    margin-top: 7px;
    font-size: 1.8rem;
    font-weight: 550;
    line-height: 2.2rem;
    color: white;
}

main{
    width: 100%;
    display: flex;
    justify-content: center;
    min-width: 320px;
    margin-bottom: 20px;
}

main section{
    min-width: 286px;
    max-width: 1130px;
    padding: 0 10px 0 10px;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(286px,360px));
    gap: 15px;
}

main section a:link, main section a:visited, main section a:hover, main section a:active { 
    text-decoration: none;
    color: black;
 }

main article{
    display: flex;
    position: relative;
    top: 0;
    left: 0;
    flex-direction: row;
    align-items: center;
    padding: 20px 0 20px 0;
    background-color: white;
    border-radius: 20px;
    transition: top 80ms, left 80ms;
    
}

main article:hover{
    cursor: pointer;
    top: -2px;
    left: -2px;
    
}

main article p{
    
    font-family: sans-serif;
    margin-top: 7px;
    font-size: 1.6rem;
    font-weight: 550;
    line-height: 1.9rem;
    
}

main article .logo{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 46px;
    height: 46px;
    margin: 0 20px 0 20px;
}


main article .logo-whatsapp{
    background-image: url('img/logowhatsapp.png');
    
}

main article .lupa{
    background-image: url('img/lupa.png');
    
}

main article .museta{
    background-image: url('img/museta.png');
   
}

main article .construccion{
    background-image: url('img/297637.png');
   
}

main article .oferta-academica{
    background-image: url('img/5846217.png');
   
}

main article .simuladores{
    background-image: url('img/7440540.png');
   
}

main article .estrella{
    background-image: url('img/estrella.png');
   
}

main article .logo-youtube{
    background-image: url('img/YouTube_social_white_squircle.svg.png');
   
}

main article .logo-instagram{
    background-image: url('img/logoinstagram.png');
   
}

main article .logo-facebook{
    background-image: url('img/Facebook_f_logo_\(2019\).svg.png');
   
}

main article .logo-tiktok{
    background-image: url('img/logo-icone-tiktok-simbolo.png');
   
}

main article .logo-pdf{
    background-image: url('img/2200055.png');
   
}

@media (min-width: 768px){
    header{
        
        flex-direction: row;
        justify-content: center;
        gap: 10px;
       /* padding-top: 70px;*/
        
    }
    
    header p{
        font-size: 2.1rem;
        line-height: 2.3rem;
    }
    
    header img{
        width:243px;
        height:54px;
    }
    
    main{
        padding-top: 40px;
    }
    
    body{
        display:flex;
        flex-direction: column;
        justify-content:center;

    }
}
