.consent {
    z-index: 10;
    position: fixed;
    bottom: 30px;
    right: 30px;
    height: auto;
    width: 450px;
    padding: 20px;
    border-radius: 10px;
    background-color: #101010;
    display: none;
    flex-direction: column;
    text-align: left;
    box-shadow: 0 0 7px 2px rgb(0, 0, 0);
}

.consent-line {
    display: flex;
    align-items: center;
}

#cookie-img {
    height: 45px;
    width: 45px;
    margin-top: 5px;
    margin-left: 5px;
}

.consent-bts {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
}

.more {
    height: 50px;
    width: 180px;
    border-radius: 5px;
    border: 2px solid #97041D;
    background-color: #101010;
    color: #97041D;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.accept {
    height: 50px;
    width: 216px;
    border-radius: 5px;
    border: 1px solid #97041D;
    background-color: #97041D;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
}

.accept:hover {
    background-color: #6e0012;
}


.consent p {
    font-size: 16px;
    margin-top: 4px;
    font-weight: 300;
    line-height: 125%;
}

.consent-link {
    font-size: 17px;
    text-decoration: underline;
    font-family: 'Roboto Condensed', sans-serif;
}





.preferences-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(21, 21, 21, 0.6);
    flex-direction: row;
    justify-content: center;
    align-items: center;
    display: none;
    z-index: 25;
}

.preferences {
    height: auto;
    width: 500px;
    padding: 24px;
    background-color: #101010;
    margin-bottom: 2%;
    border-radius: 5px;
    text-align: center;
}

.cookie-heading {
    font-size: 32px;
    font-weight: 600;
    margin-top: 5px;
    font-family: 'Open Sans', sans-serif;
}


.cookies-line {
    display: flex;
    border-bottom: 1px solid rgb(58, 58, 58);
    height: auto;
    margin-top: 16px;
    padding-bottom: 8px;
}

#first-cookie-line {
    margin-top: 60px;
}

#last-cookie-line {
    border: 0;
    margin-bottom: 24px;
}

.cookies-text {
    width: 70%;
    text-align: left;
}

.cookies-slider {
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookies-text span {
    font-size: 19px;
}

.cookies-text p {
    font-size: 16px;
}

.cookies-text a {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 15px;
    text-decoration: underline;
}


.cookies-choice {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.choices {
    height: 52px;
    width: 220px;
    background-color: #97041D;
    border: 0;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.2s;
}

.choices:hover {
    background-color: #6e0012;
}


#consent-alter {
    cursor: pointer;
}


/*  */
/* slider-box */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-box {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider-box:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider-box {
  background-color: #97041D;
}

input:focus + .slider-box {
  box-shadow: 0 0 1px #97041D;
}

input:checked + .slider-box:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.slider-box.round {
  border-radius: 34px;
}

.slider-box.round:before {
  border-radius: 100%;
}

/* disabled */
input:checked:disabled + .slider-box {
    background-color: #6f1826;
  }
  
  input:focus:disabled + .slider-box {
    box-shadow: 0 0 1px #6f1826;
  }

.disabled:before {
    background-color: rgb(207, 207, 207);
}

.slider-box.disabled {
    cursor: default;
}


@media only screen and (max-width: 600px){
    .preferences {
        width: 80%;
    }

    .choices {
        height:52px;
        width: 225px;
    }


    .consent {
        bottom:10px;
        left: 50%;
        transform: translateX(-50%);
    }
}


@media only screen and (max-width: 570px){
    .preferences {
        width: 92%;
    }

    .choices {
        height:52px;
        width: 210px;
        max-width: 48%;
    }

    #first-cookie-line {
        margin-top: 40px;
    }

    .cookies-slider {
        justify-content: end;
        width: 25%;
    }

    .cookies-text {
        width: 75%;
    }

    .cookies-choice {
        margin-top: 0;
    }

}

@media only screen and (max-width: 530px){
    .consent {
        width: 92%;
    }

    .consent p {
        font-size: 15px;
    }

    .consent-bts {
        flex-direction: column;
        justify-content: start;
        align-items: center;
        margin-top: 25px;
    }
    
    .accept {
        width: 100%;
        margin-bottom: 10px;
    }

    .more {
        width: 100%;
    }


}

@media only screen and (max-width: 450px){
    .cookies-text span {
        font-size: 17px;
    }

}


@media only screen and (max-width: 360px){
    .consent {
        text-align: center;
        height: auto;
    }
    

}