:root {
    --corPrinc: rgb(196, 196, 255);
    --corDetail: rgb(209, 0, 209);
}
.darkMode{
    --corPrinc: rgb(92, 92, 116);
    --corDetail: rgb(117, 18, 117);
    background-color: rgb(80, 80, 80);
}
*{
    margin: 0;
    text-decoration: none;
    box-sizing: border-box;
    transition: 1s;
}


nav{
    background-color: var(--corPrinc);
    padding: 2vb 2vw;
    height: 15vb; 
    width: 100vw;
    display: grid;
    grid-template-columns: 50vw 1fr;
    align-items: center;

    ul{
        display: flex;
        width: 50vw;
        font-size: 1.5vw;
        list-style: none;
        justify-content: space-between;
        font-family: Arial, Helvetica, sans-serif;

        li{
            a{
                color: black;
            }
        }
    }

    .switchDM{
        /* justify-self: flex-end; */
        position: relative;
        justify-self: flex-end;
        width: 100px;
        margin-right: 100px;

        input{
            position: absolute;
            width: 120px;
            height: 6vb;
            z-index: 3;
            opacity: 0;
        }
        input:checked ~ span::before{
            transform: translateX(60px) translateY(-50%);
        }
        span{
            display: block;
            background-color: var(--corDetail);
            width: 120px;
            height: 6vb;
            border-radius: 50px;
            position: relative;
            transition: all 1s;
        }
        span::before{
            content: "";
            background-color: white;
            width: 40px;
            height: 40px;
            border-radius: 50px;
            position: absolute;
            top: 50%;
            left: 10px;
            transform: translateY(-50%);
            transition: all 1s;
        }
    }

}

#sec-cards{
    padding: 5%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 100vw;
    height: 75vb;
    gap: 100px;
    justify-items: center;

    img{
        width: 200px;
        height: 300px;
    }
}
#rodape{
    background-color: var(--corDetail);
    height: 15vb;
    width: 100vw;
    margin-top: 20vb;
    padding: 2%;
    font-size: 2rem;
    font-weight: bold;
}

#modal{
    width: 100vw;
    height: 100vb;
    background-color: rgba(0,0,0,0.4);
    display: none;
    position: fixed; 
    z-index: 10; 
    padding-top: 100px;
    left: 0;
    top: 0;

    span{
        background-color: white;
        border-radius: 50px;
        display: block;
        position: fixed;
        top: 10%;
        left: 80%;
        width: 100px;
        height: 100px;
        font-size: 90px;
        text-align: center;
        cursor: pointer;
    }

    img{
        position: absolute;
        z-index: 11;
        top: 50%;
        left: 50%;
        width: 500px;
        height: 800px;
        transform: translate(-50%, -50%);
    }
}