header {
    justify-content: space-between;
}

#content {
    opacity: 0;
    min-height: 90vh;
}

#content.loaded {
    opacity: 1;
}

input[type="radio"]:checked+label {
    border-bottom: 5px solid;
    border-image: linear-gradient(to left, var(--lav), var(--purple));
    border-image-slice: 1;
    border-image-repeat: stretch;
    margin-top: 5px;
}

nav label {
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 7px;
}

nav label:hover {
    opacity: 0.5;
    transition: all 0.3s ease;
}

#failed-services {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 9;
}


@media screen and (max-width: 850px) {
    #logo div h1 {
        font-size: 30px;
    }
}

@media screen and (max-width: 768px) {
    header {
        justify-content: center;
    }

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

    nav {
        position: absolute !important;
        top: 35px !important;
        right: 25px !important;
        z-index: 9;
    }

    #mobile-nav span {
        font-size: 28px;
    }

    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #footer-info {
        display: flex;
        flex-direction: column !important;
    }
}

@media screen and (max-width: 460px) {
    #logo div h1 {
        font-size: 24px;
    }

    #logo div div h3 {
        font-size: 16px;
    }

}