@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Poppins, Arial, Helvetica, sans-serif;
}

:root{
    --principal: #66ccff;
    --7A: rgb(212,56,80);
    --6A: rgb(187,60,1);
    --5A: rgb(17,127,78);
    --4A: rgb(6,104,250);
    --3A: rgb(135,73,220);
    --2A: rgb(241,132,246);
    --A: rgb(255,54,64);
    --B: rgb(255,111,48);
    --C: rgb(242,155,191);
    --D: rgb(210,184,61);
    --E: rgb(137,210,155);
    --F: rgb(56,113,104);
    --G: rgb(65,156,175);
    --H: rgb(58,121,162);
    --I: rgb(13,53,100);
    --J: rgb(233,217,200);
    --K: rgb(219,215,203);
    --L: rgb(233,168,76);
    --M: rgb(151,121,97);
    --N: rgb(132,127,107);
    --O: rgb(55,95,69);

}

.horizontal{
    display: flex;
    flex-direction: row;
}

.vertical{
    display: flex;
    flex-direction: column;
}

#oculto {
    opacity: 0;
}

header{
    padding: 0 10%;
    height: 100px;
    background-color: var(--principal);
    text-align: center;
    gap: 30px;
    display: flex;
    align-items: center;

    a{
        color: navy;
    }
    
    h1{
        text-align: center;
        width: 100%;
    }
}

body {
    text-align: center;
    background-color: #f2f2f2;
    display: flex;
    width: 100vw;
    min-height: 100vh;
    flex-direction: column;
    overflow-x: hidden;
}

main{
    width: 100%;
    min-height: calc(100vh - 100px);
    justify-content: center;
    padding: 10%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.estagios{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;

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

    li{
        display: flex;
        list-style: none;
        text-align: center;
        border-radius: 15px;
        background-color: #fff;
        font-weight: bold;
        overflow: hidden;
        border-bottom: 6px solid rgba(0, 0, 0, 0.4);

        div{
            width: 100px;
            height: 100px;
            transition: all .5s ease-in-out;

        }

        span{
            width: 100%;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
        }
    }

    li:hover{
        border-bottom: 3px solid rgba(0, 0, 0, 0.4);
        border-top: 3px solid rgba(0, 0, 0, 0);
    }

    #A7 { background-color: var(--7A); }
    #A6 { background-color: var(--6A); }
    #A5 { background-color: var(--5A); }
    #A4 { background-color: var(--4A); }
    #A3 { background-color: var(--3A); }
    #A2 { background-color: var(--2A); }
    #A  { background-color: var(--A); }
    #B  { background-color: var(--B); }
    #C  { background-color: var(--C); }
    #D  { background-color: var(--D); }
    #E  { background-color: var(--E); }
    #F  { background-color: var(--F); }
    #G  { background-color: var(--G); }
    #H  { background-color: var(--H); }
    #I  { background-color: var(--I); }
    #J  { background-color: var(--J); }
    #K  { background-color: var(--K); }
    #L  { background-color: var(--L); }
    #M  { background-color: var(--M); }
    #N  { background-color: var(--N); }
    #O  { background-color: var(--O); }
}

#cards {
    gap: 30px;
    height: 75vh;

    a{
        width: 100%;
        text-decoration: none;
        color: #000;
        height: 30%;
    }
}

.card {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border: 2px solid rgba(0, 0, 0, 0.4);
    border-bottom: 6px solid rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    overflow: hidden;
    justify-content: space-between;

    img{
        width: 100%;
        height: 80%;
        object-fit: cover;
    }    

    p{
        width: 80%;
        margin: auto;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 25px;
        font-weight: bold;
    }
}
.card:hover{
    border-bottom: 3px solid rgba(0, 0, 0, 0.4);
    border-top: 3px solid rgba(0, 0, 0, 0);
}

@media screen and (min-width: 1080px){

    main{
        padding: 3% 10%;
    }    

    #cards{
        flex-direction: row;

        a{
            height: 70%;
        }
    }
}