:root {
    --border-radius: 12px;
    --amarelo-o21: rgb(175, 182, 80);
    --cinza-o21: rgb(88, 88, 88)
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

.btn-primary:hover {
    background-color: var(--cinza-o21) !important;
    border-color: var(--cinza-o21) !important;
}

.btn-primary {
    color: #fff !important;
    background-color: var(--amarelo-o21) !important;
    border-color: var(--amarelo-o21) !important;
    border-radius: 25px !important;
}

.btn-secondary {
    color: #fff !important;
    background-color: var(--cinza-o21) !important;
    border-color: var(--cinza-o21) !important;
    border-radius: 25px !important;
}

.btn-secondary:hover {
    background-color: var(--amarelo-o21) !important;
    border-color: var(--amarelo-o21) !important;
}

.btn-info {
    color: var(--amarelo-o21) !important;
    background-color: #fff !important;
    border-color: #fff !important;
    font-weight: bold;
    font-size: 18px;
    height: 100%;
    cursor: pointer;
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all .5s ease-out;
}

.btn-info:is(:hover, :active, :focus, :active:hover) {
    background-color: transparent !important;
    border-color: #fff !important;
    color: #fff !important;
}

body {
    width: 100%;
    height: 100%;
    touch-action: pan-y;
    /** Disable horizontal scrolling */
}

a {
    color: #fff !important;
}

nav {
    min-height: 75px;
    max-height: 75px;
    background-color: rgba(255, 255, 255, 0.3);
    position: absolute;
    width: 100%;
}

.cookie-container {
    padding: 25px;
    background-color: #fff;
    border-radius: var(--border-radius);
    z-index: 999;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.btn-aqui {
    color: var(--amarelo-o21) !important;
    text-decoration: none;
}

.plus-18-container {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    background-color: var(--amarelo-o21);
    position: fixed;
    z-index: 999;
}

.plus-18-title h1 {
    color: #fff;
    font-weight: bolder;
}

.bordered-button {
    border: 1px solid #fff;
    width: 150px;
    text-align: center;
    height: 50px;
    border-radius: 25px;
}

.bordered-button:hover {
    background-color: var(--cinza-o21);
    border-color: var(--cinza-o21);
}

.bordered-button a {
    margin: 0 auto;
    text-decoration: none;
    width: 100%;
    height: auto;
}

.plus-18-footer {
    text-align: center;
    width: 50%;
    padding: 25px;
}

.header-logo {
    width: 50px;
    height: 75px;
    margin-left: 20px;
}

.header-logo img {
    width: 100%;
    height: 100%;
}

.header-controls {
    margin-right: 20px;
}

.o-icon {
    color: var(--amarelo-o21)
}

.display-none {
    display: none;
}

.hero {
    background: url('../img/hero.jpg') center no-repeat;
    background-size: cover;
    object-fit: contain;
    min-height: 100vh;
    max-height: 100vh;
}

.hero-text {
    text-align: center;
}

.hero-text img {
    width: 150px;
    height: auto;
}

.hero-text h1 {
    font-size: 3rem;
    color: #fff;
}

.hero-text p {
    color: #fff;
}

h3 {
    color: var(--amarelo-o21);
}

.story-container {
    border-radius: var(--border-radius);
    min-width: 400px;
    max-width: 800px;
    min-height: 400px;
    margin: auto;
    background-color: #fff;
    margin-top: -75px;
    box-shadow: rgba(0, 0, 0, 0.5) 3px 1px 8px;
    position: relative;
    padding: 25px;
    z-index: 1;
}

.story-title {
    text-align: center;
    font-weight: bold;
}

.story p {
    text-align: justify;
}

#wines {
    margin-top: 100px;
}

#logotipo {
    margin-top: 100px;
}

#logotipo {
    margin-top: 100px;
}

#adega {
    margin-top: 100px;
}

#vinificacao {
    margin-top: 100px;
}


.carousel-container {
    display: flex;
    overflow: hidden;
    margin: 50px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
    background-color: #f3f3f3f3;
    border-radius: 0px;
}

.carousel-wrapper {
    display: flex;
    transition: 0.5s ease;
    width: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    padding: 20px;
}

.carousel-image {
    flex: 1;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image img {
    width: 25%;
    border-radius: 10px;
}

.carousel-text {
    flex: 1;
    padding: 20px;
}

.carousel-text h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.carousel-text p {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.download-btn {
    padding: 10px 20px;
    background-color: #8b0000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
}

.nav-buttons {
    text-align: center;
    margin-top: 20px;
}

.nav-buttons input[type="radio"] {
    display: none;
}

.nav-buttons label {
    width: 15px;
    height: 15px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-buttons input[type="radio"]:checked+label {
    background-color: #8b0000;
}

.wine-title {
    margin: 25px 0px 0px 25px;
    font-weight: bold;
    text-align: center;
}

.vinification-title {
    font-weight: bold;
    text-align: center;
}

.wine-container {
    margin: 100px;
}

.wine-description {
    width: 50%;
    text-align: justify;
    height: 250px;
}

.wine-text {
    height: 75%;
}

.wine-box {
    background: url('../img/vinha.png') center no-repeat;
    background-size: cover;
    object-fit: contain;
    min-height: 650px;
    max-height: 650px;
}

.wine-bottle {
    width: 250px;
    height: auto;
}

.background-yellow {
    background-color: #bd6137;
}

.background-grey {
    background-color: var(--cinza-o21);
}

.background-green {
    background: #9ab49a;
}

.background-orange {
    background: rgb(160 95 58)
}

.background-dark-red {
    background: rgb(144 14 22)
}

.wine-color-box {
    min-height: 500px;
    max-height: 1000px;
}

.wine-color-box img {
    width: 150px;
    object-fit: contain;
    aspect-ratio: auto;
    height: 350px;
}

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


.wine-color-box h2 {
    color: #fff !important;
    text-align: center;
}

.wine-color-box article {
    color: #fff;
    width: 60%;
    text-align: center;
    font-size: 18px;
}

.spos-absolute {
    position: absolute;
}

.spos-relative {
    position: relative;
}

.wine-bottle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.behind-logo {
    margin: 30px;
}

.logo-story-image {
    width: clamp(400px, 450px, 500px);
}

.logo-description {
    width: 150px;
}

.logo-story-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.restaurant-list {
    list-style-type: none;
}

.restaurant-list a {
    color: #212529 !important;
}


.oflex {
    display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    vertical-align: middle;
    flex-wrap: wrap;
    flex-direction: row;
}

.oflex-column {
    flex-direction: column !important;
}

.oflex-row {
    flex-direction: row !important;
}

.oflex-40 {
    flex: 1 0 40%;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-evenly {
    justify-content: space-evenly;
}

.gap-10 {
    gap: 10px;
}

.gap-25 {
    gap: 25px;
}

.gap-50 {
    gap: 50px;
}

.width-50 {
    width: 50% !important;
}

.full-width {
    width: 100%;
}

.winery-photogallery img {
    width: 350px;
    border-radius: var(--border-radius);
    box-shadow: rgba(0, 0, 0, 0.5) 3px 1px 8px;
}

.vinification-container {
    margin: 100px;
}

.vinification-photogallery img {
    width: 250px;
    border-radius: var(--border-radius);
    box-shadow: rgba(0, 0, 0, 0.5) 3px 1px 8px;
}

footer {
    margin-top: 100px;
    width: 100%;
    min-height: 50px;
    max-height: 50px;
}

.footer-data {
    margin-left: 25px;
    margin-right: 25px;
}

footer a {
    color: #212529 !important;
    text-decoration: none;
}

footer a:hover {
    color: var(--amarelo-o21) !important;
}

footer .justify-center {
    text-align: center;
}

/* CSS do Rato */

.mousey {
    width: 3px;
    padding: 10px 15px;
    height: 35px;
    border: 2px solid #fff;
    border-radius: 25px;
    opacity: 0.75;
    box-sizing: content-box;
    margin-top: 100px;
    margin-bottom: 100px;
}

.scroller {
    width: 3px;
    height: 10px;
    border-radius: 25%;
    background-color: #fff;
    animation-name: scroll;
    animation-duration: 2.2s;
    animation-timing-function: cubic-bezier(.15, .41, .69, .94);
    animation-iteration-count: infinite;
}

.zoom {
    transition: transform .2s;
    /* Animation */
}

.zoom:hover {
    transform: scale(1.1);
    /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}



@keyframes scroll {
    0% {
        opacity: 0;
    }

    10% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

@media only screen and (max-width: 1200px) {
    .wine-description {
        width: 100%;
    }
}

@media only screen and (max-width: 992px) {
    .story-container {
        min-width: 300px;
        max-width: 600px;
    }

    .plus-18-footer {
        width: 100%;
    }

    .wine-color-box .change {
        width: 100% !important;
        min-height: 500px;
        max-height: 1000px;
    }


}

@media only screen and (max-width: 768px) {
    .story-container {
        min-width: 200px;
        max-width: 300px;
    }
    
    .carousel-slide{
        flex-direction: column;
    }

}

@supports (-webkit-touch-callout:none) {
    .hero {
        background-attachment: scroll;
    }
}