html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Quicksand", sans-serif;
    font-size: 14px;
    min-height: 100vh;
    background-color: #F8F9FA;
}

a {
    color: #000000;
    text-decoration: none;
}

a:hover {
    color: #7d7d7d;
}

p {
    font-size: 0.875rem;
}

/* Navbar */

.navbar-bg {
    height: 6.9rem;
    background-color: #ffffff;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    line-height: 65px;
    z-index: 10;
    padding: 1rem 0;
    transition: all 0.4s ease;
}

.navbar-brand img {
    width: 250px;
}

.navbar-collapse {
    background-color: #ffffff;
    justify-content: end;
}

.navbar-toggler {
    border: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-nav {
    text-align: center;
}

.nav-item {
    line-height: normal;
}

.nav-link:focus,
.nav-link:hover {
    color: #7d7d7d;
}

.nav-link {
    color: #000000;
    border: 1px solid #e9ecef;
}

.nav-link.active,
.nav-link.show {
    color: #7d7d7d !important;
}

.dropdown-menu[data-bs-popper] {
    top: 80%;
}

.dropdown-item:active {
    background-color: #7d7d7d;
}

.navbar-nav .dropdown-menu {
    min-width: auto;
    text-align: center;
}

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

.language__flag {
    width: 18px;
}

.language__item {
    margin-left: 4px;
}

.navTrigger {
    display: block;
    cursor: pointer;
    width: 50px;
    right: 0px;
}

.navTrigger i {
    background-color: #990100;
    border-radius: 2px;
    content: "";
    display: block;
    width: 100%;
    height: 4px;
}

.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes inM {
    50% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes outM {
    50% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(9px) rotate(0deg);
    }

    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(9px) rotate(0deg);
    }

    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-9px) rotate(0deg);
    }

    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-9px) rotate(0deg);
    }

    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

.affix {
    padding: 0;
    background-color: #ffffff;
}

/* Button */

.btn-personalized {
    background-color: #920100;
    color: #ffffff;
}

.btn-personalized:hover {
    background-color: rgb(153 1 0 / 60%);
    color: #ffffff;
}

.btn-cream {
    background-color: #F2F2BE;
    color: #000000;
}

.btn-cream:hover {
    background-color: rgb(242 242 190 / 50%);
}

.btn-sheen-gold {
    background-color: #CD9936;
    color: #ffffff;
}

/* .btn-sheen-gold:hover {} */

.btn-outline-light-gray {
    color: #000;
    border: 1px solid #E0E2E3;
}

/* Section front page */

.bg-img-section {
    width: 100%;
    height: 100vh;
    background-position: center;
    background-size: cover;
    /* background-attachment: fixed; */
}

.bg-img-section--home {
    background-image: url(/img/wine-cup.jpeg);
    background-position-x: 61%;
    background-position-y: 78%;
}

/* Section Home Wines */
.bg-img-section--home-wines {
    background-image: url(/img/wines-sm.png);
    background-position: bottom;
}

.bg-img-section--about-us {
    background-image: url(/img/carmelo.jpg);
}

.bg-img-section--our-wines {
    background-image: url(/img/vinos.png);
}

.bg-img-section__content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

/* Background */

.bg-light-gray {
    background-color: #E9EBEB;
}

.bg-cream {
    background-color: #F2F2BE;
}

.bg-sheen-gold {
    background-color: #CD9936;
}

.bg-peen-red {
    background-color: #990100;
}

/* Button scroll to top */

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    width: 45px;
    height: 45px;
    border-radius: 4px;
    background-color: #990100;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
}

#scrollToTopBtn:hover {
    background-color: rgba(153, 1, 0, 0.5);
}

/* Section about us */

.about-us {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 2rem;
}

.about-us__title {
    font-size: calc(1.3rem + .6vw);
    text-align: center;
    text-wrap: balance;
    margin-bottom: 3rem;
    margin-top: 1rem;
}

.about-us__container-img {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.about-us__container-img img {
    width: 245px;
    height: 360px;
}

.history {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: justify;
    padding: 1rem 0rem;
    width: 75%;
}

/* Section location */

.location {
    display: flex;
    flex-direction: column;
    justify-content: normal;
    align-items: center;
    background-color: #e9ebeb;
    padding: 3rem 2rem;
    width: 100%;
    min-height: auto;
    position: relative;
}

.location__address {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0rem;
    width: 100%;
}

.location__address div {
    display: flex;
    padding: .5rem 0rem;
    font-weight: 300;
}

.location__address span {
    display: block;
}

.fa-location-dot {
    font-size: 1.25em;
    color: #990100;
    margin: 0rem .5rem;
}

.location__map {
    width: auto;
    text-align: center;
    position: relative;
}

.location__map-img {
    width: 100%;
    max-width: 535px;
}

.location__map-options {
    display: flex;
    position: absolute;
    padding: 0.5rem;
    margin: .625rem;
    font-size: .8rem;
    font-weight: 600;
    background-color: #fff;
    left: 0;
    bottom: 0;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    border-radius: 2px;
}

/* Section Wines */

.card-wine {
    width: 18rem;
    margin: .75rem;
    text-align: center;
}

.modal-dialog-scrollable {
    height: 82vh;
    margin-top: 5.2rem;
    margin-bottom: 0;
}

/* Footer */

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #990100;
    width: 100%;
}

.social-networks {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-color: #f2f2be;
    color: #212529;
    padding: 0.5rem 0rem 0.2rem 0rem;
}

.social-networks__title {
    font-size: 1rem;
    margin: 0;
    width: 100%;
    text-align: center;
    font-weight: 300;
}

.social-network__icon {
    color: #cc9a33;
    font-size: 1.75rem;
    padding: 0.3125rem;
}

.social-network__icon:hover {
    color: rgb(204 154 51 / 34%);
}

.logo-footer {
    height: 110px;
    margin: 0.75rem auto;
}

.text-footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: #fff;
    width: 100%;
    padding: 0rem 0.625rem;
    text-align: center;
}

.text-footer p {
    font-size: 0.75rem;
    margin: 0;
}

.text-footer a {
    font-size: 0.75rem;
    margin: 0;
    color: #fff;
}

.text-footer a:hover {
    color: #cc9a33;
}

.website-creator {
    padding: 0.5rem 0rem 1rem 0rem;
}

.website-creator__link {
    color: #fffffff2;
    font-size: 0.85rem;
    font-weight: bold;
    font-style: italic;
}

.website-creator__link:hover {
    color: #cc9a33;
}

/* Form */

.form-control:focus,
.form-select:focus {
    border-color: #E0E2E3;
    box-shadow: 0 0 0 0.2rem #E0E2E3;
}

/* Cambiar el color de los radios a negro */
.form-check-input:checked {
    background-color: #000;
    border-color: #E0E2E3;
}

/* Cambiar el color del radio a negro cuando está en foco */
.form-check-input:focus {
    border-color: #E0E2E3;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
    /* Cambiar el color del sombreado del borde a negro cuando está en foco */
}

/* Section Reservation */

.reservation {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 1rem;
}

.reservation__title {
    font-size: 1.7rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ebeb;
}

.reservation__subtitle {
    text-align: center;
    font-size: 1.25rem;
    padding: 1rem;
}

.reservation .btn {
    font-size: 12px;
}

.reservation__information {
    font-size: 0.875rem;
    font-weight: 300;
    max-width: 650px;
    margin-bottom: 2rem;
}

.reservation__information p {
    margin-bottom: 0.5rem;
}

.reservation__information p span {
    font-weight: bold;
}

.reservation__questions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3rem auto;
    max-width: 650px;
}

.reservation__form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: center;
    min-width: 300px;
    max-width: 320px;
    background-color: #fff;
    border: 1px solid #E0E2E3;
    border-radius: 0.375rem;
    padding-bottom: 1rem;
    box-shadow: 0 0 35px 0px rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
    text-align: center;
    border-radius: 0.375rem;
    margin: auto;
}

/* Progressbar */

#progressbar {
    width: 100%;
    text-align: center;
    margin: 1rem 0rem;
    overflow: hidden;
    counter-reset: step;
    padding: 0;
}

#progressbar li {
    list-style-type: none;
    color: #000;
    text-transform: uppercase;
    font-size: 9px;
    width: 25%;
    float: left;
    position: relative;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 25px;
    height: 25px;
    line-height: 25px;
    display: block;
    font-size: 12px;
    color: #000;
    background: #e9ebeb;
    border-radius: 4px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #e9ebeb;
    position: absolute;
    left: -50%;
    top: 12px;
    z-index: 1;
}

#progressbar li:first-child:after {
    content: none;
}

#progressbar li.active:before,
#progressbar li.active:after {
    background: rgb(25, 135, 84);
    color: #fff;
}

.reservation__form #step1 input[type="text"] {
    width: 115px;
    text-align: center;
    margin: auto;
}

.reservation__form #step2 input[type="number"] {
    width: 65px;
    margin: auto;
}

.reservation__form #step3 select {
    width: 136px;
    margin: auto;
}

.reservation__form #step4 textarea {
    width: 80%;
    margin: auto;
}

.inactive-step {
    display: none;
}

.accordion-button {
    background-color: #F8F9FA;
}

.accordion-button:focus {
    border-color: #e0e2e3;
    z-index: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #000;
    background-color: #E9EBEB;
}

/* flatpickr */

.flatpickr-day.flatpickr-disabled.event,
.flatpickr-day.flatpickr-disabled.event:hover {
    cursor: not-allowed;
    color: #990100;
    border: 1px solid #990100;
}

/* Login */

.login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 81vh;
    text-align: center;
    background-color: #F8F9FA;
    padding: 2rem;
}

.form-login {
    width: 100%;
    max-width: 330px;
    padding: 1.5rem;
    border-radius: 5px;
}

.form-login .form-control {
    padding: .75rem;
}

.form-login input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-login input[type="password"] {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.form-login .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-top-right-radius: 0;
}

.login .form-login small a {
    color: #212529;
}

.login .form-login small a:hover {
    color: #818486;
}

small strong a {
    color: #5b5b5b;
}

/* Register */

.register {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    min-height: 91vh;
    background-color: #F8F9FA;
    padding: 2.5rem 0rem;
}

.password-toggle {
    cursor: pointer;
}

.container-captcha {
    width: 296px;
    padding: 0.2rem;
}

.accordion-button-reservation {
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
}

#accordionMyReservations .accordion-button::after {
    margin-left: 15px;
}

.card:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

.error {
    display: block;
    text-align: start;
    font-size: 0.75rem;
    color: red;
    margin-left: 5px;
    /*font-weight: bold;*/
}

.vh-75 {
    min-height: 75vh;
}

@media (width >=768px) {

    html,
    body {
        font-size: 16px;
    }

    /* Section location */

    .location {
        flex-direction: row;
        justify-content: space-evenly;
        min-height: 100vh
    }

    .location__address {
        width: 40%;
    }

    /* Section wines */

    .bg-img-section--home-wines {
        background-image: url(/img/wines.png);
        background-position: center;
    }

    /* Section reservations */

    .reservation__information {
        margin-bottom: 0;
    }

    /* Section register */

    .register {
        padding: 3rem 0rem;
    }
}

@media (width >=992px) {

    /* Navbar */

    .navTrigger {
        display: none;
    }

    .navbar-collapse {
        background-color: transparent;
    }

    .nav-link {
        border: none;
    }
}