body {
    min-height: 100dvh;
    background-color: #303030;
    font-family: 'Nunito Sans', sans-serif;
}

main {
    width: 100dvw;
    height: 100dvh;
    display: grid;
    place-items: center;
}

.container {
    width: min(100% - 2rem, 60rem);
    margin-inline: auto;
}

.container h1,
.container p {
    color: white;
}

.container h1 {
    color: #2196F3;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4rem;
    text-align: center;
}

.container p {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.5;
    margin-top: 1rem;
    margin-bottom: 3rem;
    text-align: left;
}

.container p strong {
    font-weight: 700;
    color: #2196F3;
}

.modal {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000000;
    background-color: #00000066;
}

.modal-content {
    display: grid;
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 35rem;
    height: 35rem;
    border-radius: 2rem;
    transition: all 1s ease;
    animation: zoomIn 1s;
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }

    50% {
        opacity: 1;
    }
}


.modal-content .header {
    padding: 0 1rem;
    font-size: 2rem;
    display: flex;
    justify-content: left;
}

.modal-content p {
    margin: 1rem;
    font-size: 2rem;
    font-weight: 600;
    text-align: left;
}

.buttons {
    display: flex;
    justify-content: left;
    align-items: center;
}

#accept,
#save,
#settings {
    font-weight: 700;
    height: 5rem;
    width: 13rem;
    padding: 1rem 2rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.8rem;
    margin: 0.5rem 1rem;
    cursor: pointer;
    border: none;
    border-radius: 5rem;

    &:hover {
        background-color: #2196F3b3;
    }

    &:active {
        background-color: #2196F3;
        transform: scale(0.98);
    }
}

#accept,
#save {
    background-color: #2196F3;
    color: #ffffff;
}

#settings {
    background-color: #aeaeae;
    color: #ffffff;
}

.toggle-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.title {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.5;
}

.switch {
    position: relative;
    display: inline-block;
    width: 6rem;
    height: 3.4rem;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 2.6rem;
    width: 2.6rem;
    left: 0.4rem;
    bottom: 0.4rem;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 0.1rem #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(2.6rem);
    -ms-transform: translateX(2.6rem);
    transform: translateX(2.6rem);
}

/* Rounded sliders */
.slider.round {
    border-radius: 3.4rem;
}

.slider.round:before {
    border-radius: 50%;
}

.modal-accept,
.modal-settings {
    display: none;
}

.visible {
    display: block;
}