/* Dark mode */
html{
    background: var(--bg);
    --bg-squares: linear-gradient(to right, #2BC0E4 0%, #EAECC6 100%);
    --color-text: black;
    --color-text2:rgba(84, 87, 86, 0.699);
}
.text{
    color: var(--color-text);
}
.text2{
    color: var(--color-text2);
}
.losango{
    box-shadow: 5px 15px 50px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.1);
}
.squares li{
    background: var(--bg-squares);
}
/* Toggle style */
.toggle{
    margin: 60px;
}

input[type=checkbox]{
    height: 0;
    width: 0;
    visibility: hidden;
}

label {
    cursor: pointer;
    text-indent: -9999px;
    width: 52px;
    height: 27px;
    background: grey;
    float: right;
    border-radius: 100px;
    position: relative;
}

label::after{
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 90px;
    transition: 0.3s;
}

input:checked + label {
    background-color: var(--color-headings);
}

input:checked + label::after {
    left: calc(100% - 5px);
    transform: translateX(-100%);
}

label:active:after {
    width: 45px;
}
@media screen and (max-width: 360px){
    .toggle{
        margin: 45px;
        margin-left: -20px;
    }
}
@media screen and (max-width: 320px){
    .toggle{
        margin: 20px;
    }
    .container{
        margin-left: -90px;
    }
}
