@import url("variables-yzTto-1.css");

body {
    background-image: url("../images/background-houoQMV.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: grayscale(1);
    color: var(--text);
    min-height: 100vh;
}

.footer{
    margin-top: 0;
}

.navbar, .footer{
    max-height: 56px;
}

.navbar-brand{
    text-transform: uppercase;
    font-weight: 900;
}

.navbar-toggler{
    border: none;
}

.nav-item .nav-link{
    padding: 10px;
}

.signin, .vote, .vote__stats{
    background-color: white;
    border-radius: 6px;
    box-shadow: var(--shadow);
    padding: 20px 30px;
}

.signin{
    margin-bottom: 20%;
}

.signin__container, .vote__container{
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 56px - 56px);
}

.signin__title, .vote__title{
    font-size: 18px;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-weight: 900;
}

.signin label{
    color: gray;
    font-size: 12px;
    margin-bottom: 2px;
}

.signin button{
    margin-left: auto;
    display: block;
    background-color: var(--validation);
    border-color: var(--validation);
}

.signin button:hover{
    background-color: var(--primary);
    border-color: var(--primary);
}

.vote__row > *{
    max-width: 444px;
}

.vote__title{
    margin: 0;
}

.vote__imageId{
    font-weight: 300;
    font-style: italic;
    font-size: 12px;
}

.vote__description{
    font-size: 14px;
}

.vote__container{
    background-color: var(--background);
}


.vote__image{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vote__image__row{
    height: calc(100vh - 56px - 56px - 40px);
}

#form legend{
    display: none;
}

#form .form-check{
    padding: 0;
    position: relative;
    height: 42px;
    margin: 10px 0;
    cursor: pointer;
}

#form .form-check .form-check-input{
    border-radius: 6px;
    width: 100%;
    height: 100%;
    box-shadow: var(--shadow);
    border: none;
    float: none;
    margin: 0;
    background-image: none;
    cursor: pointer;
    background-color: white;
    transition: var(--transition);
}

#form .form-check .form-check-label{
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    width: 100%;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    color: var(--primary);
    transition: var(--transition);
}

#form .form-check .form-check-input:checked, #form .form-check:hover .form-check-input {
    background-color: var(--primary);
    
}

#form .form-check .form-check-input:checked + .form-check-label, #form .form-check:hover .form-check-label{
    color: white;
}

#form button{
    display: block;
    background-color: var(--validation);
    border-color: var(--validation);
    width: 100%;
    text-transform: uppercase;
    font-weight: 800;
}

#form button:hover{
    background-color: var(--primary);
    border-color: var(--primary);
}

.vote__stats{
    margin-top: 20px;
    font-size: 14px;
    padding: 10px 30px;
}

.vote__stats ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

@media (max-width: 1200px) {
    .vote__container {
        height: auto;
        padding: 20px 0;
    }

    .vote__row > *{
        max-width: 100%;
    }

    .vote__image__row{
        height: auto;
        max-height: 800px;
    }

    .vote__description{
        margin-top: 20px;
        background-color: white;
        border-radius: 6px;
        box-shadow: var(--shadow);
        padding: 20px 30px;
    }
}

@media (max-width: 992px) {
    .navbar-brand{
        font-size: 14px;
    }
}

@media (max-width: 510px) {
    .navbar{
        max-height: none;
    }

    .navbar-brand{
        text-align: center;
        width: 100%;
        font-size: 16px;
    }

    .navbar-nav{
        width: 100%;
        background-color: white;
        border-radius: 6px;
        box-shadow: var(--shadow);
        justify-content: space-evenly;
    }
}

