/*  Style */
header {
    background: rgba(1, 9, 16, 0.54);
    border-bottom: 1px solid var(--secondary-color);
    position: fixed;
    width: 100%;
    height: 110px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
    z-index: 100;
    backdrop-filter: blur(4px);

    @media (max-width: 980px) {
        height: 60px;
    }
}

header.minimised {
    background-color: #1a272f;
    height: 40px;
    @media (max-width: 980px) {
        height: 60px;
    }
}

header .logo img {
    width: 160px;
    height: auto;
    position: absolute;
    left: 1%;
    top: 20px;
    transition: all 0.2s ease;

    @media (max-width: 980px) {
        width: 90px;
        top: 14px;
    }
}

header.minimised .logo img {
    width: 52px;
    top: 10px;
}

.top-bar {
    height: 50px;
    padding-top: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    height: 40px;
    gap: 20px;
}

.language-bar {
    color: var(--secondary-color);
    display: flex;
    flex-direction: row;
    gap: 4px;
    padding-top: 10px;
    align-items: center;
    @media (max-width: 980px) {
        display: none;
    }
}

.language-bar a {
    background: transparent;
    color: var(--secondary-color);
    border: none;
    cursor: pointer;
    font-size: 14px;
    outline: none;
}

.language-bar a:hover {
    color: var(--primary-color);
}


.search-bar {
    display: flex;
    gap: 0;
    align-items: center;
    overflow: hidden;
    width: 400px;
    justify-content: end;
    @media (max-width: 980px) {
        display: none;
    }
}

.search-bar input {
    padding: 5px 0;
    border: none;
    border-bottom: thin solid var(--secondary-color);
    outline: none;
    background: transparent;
    width: 80%;
    font-size: 14px;
    color: var(--secondary-color-light);
    transition: width 0.3s ease;
    margin: 0;
    border-radius: 0;
}

.search-bar input:focus {
    border-bottom: 1px solid var(--primary-color);
    width: 100%;
}

.search-bar button {
    padding: 5px 10px;
    background: transparent;
    border: thin solid var(--secondary-color);
    border-left: none;
    border-right: none;
    border-top: none;
    color: var(--secondary-color);
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease; /* Smooth transition for hover */
}

.search-bar button:hover, .search-bar button:focus {
    color: var(--primary-color);
    border-bottom: thin solid var(--primary-color);
    outline: none;
}


header.minimised .top-bar {
    display: none;
}

.main-menu {
    font-family: "Merriweather", serif;
    height: 60px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    width: 100%;
    transition: color 0.3s ease;
}

.hamburger-menu {
    position: absolute;
    right: 0;
    top: -45px;
    cursor: pointer;
    display: block;
    width: 50px;
    height: 50px;
}

@media (min-width: 981px) {
    .hamburger-menu {
        display: none;
    }
}

.hamburger-icon {
    position: absolute;
    right: 0;
    top: 0;
}

.hamburger-icon, .hamburger-icon::before, .hamburger-icon::after {
    width: 3rem;
    height: 4px;
    background-color: var(--secondary-color-light);
    margin: 0;
    padding: 0;
    transition: all .3s;
    display: none;
    @media (max-width: 980px) {
        display: inline-block;
    }
}

.hamburger-icon::before, .hamburger-icon::after {
    content: "";
    position: absolute;
    left: 0
}

.hamburger-icon::before {
    top: 14px
}

.hamburger-icon::after {
    top: 28px
}

.main-menu nav ul {
    list-style: none;
    display: flex;
    justify-content: right;
    gap: 2px;
    height: 35px;
    font-size: 16px;
    @media (max-width: 980px) {
        display: none;
    }
}

.main-menu nav ul li {
    font-weight: 300;
    font-size: 1rem;
    color: var(--secondary-color-light);
    padding: 0;
    list-style-type: none;
    margin-left: 0;
}

.main-menu nav ul li a, .main-menu nav ul li a:visited {
    border-top: solid 1px var(--secondary-color);
    font-weight: 400;
    cursor: pointer;
    color: var(--secondary-color);
    transition: color 0.3s ease;
    padding: 10px 14px;
    background: linear-gradient(178deg, rgb(133 150 128 / 14%), rgba(133, 150, 128, 0));
}

.main-menu nav ul li a:hover {
    /*border-top: solid 1px var(--primary-color-dark);*/
    color: var(--secondary-color-light);
    background: linear-gradient(178deg, rgba(66, 80, 62, 0.14), rgba(133, 150, 128, 0));
}

.main-menu nav ul li a.selected {
    background-color: rgba(222, 132, 42, 0.09);
    border-top: solid 1px #de842a9c;
    color: var(--secondary-color-light);
}


/* Hero Section */
.hero {
    background: url(../images/banner1.png) no-repeat center center / cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInMoveDown 1s ease-out forwards;
}

.hero-holder {
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    padding-top: 22vh;

    opacity: 0;
    transform: translateX(40px);
    animation: fadeInMoveLeft 1s ease-out forwards;

    @media (max-width: 980px) {
        width: 70%;
    }
    @media (max-width: 768px) {
        width: 90%;
    }
    @media (max-width: 576px) {
        width: 100%;
    }
}


.hero-holder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 100%;
    border-radius: 0 0 50% 0;
    background: rgb(18 49 40 / 44%);
    z-index: 1;
    filter: blur(20px);
    transform: scaleX(1.5);
}

.hero-arrows {
    width: var(--slider-width);
    z-index: 21;
    gap: 1px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: left;
    align-items: flex-start;
    color: var(--secondary-color-light);;
    transition: .3s ease;

}

.hero-arrows a, .hero-arrows a :visited {
    font-size: 1.4em;
    width: 30px;
    height: 34px;
}

.hero-arrows a:hover {
    color: var(--primary-color);
    transition: .3s ease;
}

.hero-arrows a i {
    transition: .3s ease;
}

.hero-arrows a.left-arrow:hover i {
    transform: translateX(-50%);
}

.hero-arrows a.right-arrow:hover i {
    transform: translateX(50%);
}

.hero-navigation {
    width: var(--slider-width);
    z-index: 20;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 4px;
    position: relative;
    margin-top: 10px;
    margin-bottom: 20px;
    height: 8px;
    padding-right: 20px;
}

a.hero-nav-link, a.hero-nav-link:visited {
    background-color: var(--secondary-color-light);
    height: 2px;
    flex: 1 1 100px;
    box-shadow: 0 2px 6px var(--secondary-color-dark);
    transition: 0.3s ease;
}

a.hero-nav-link:hover {
    transition: 0.3s ease;
    height: 8px;
}

a.hero-nav-link.selected {
    background-color: var(--primary-color);
    box-shadow: 0 2px 6px var(--primary-color-light);
}

.hero-slider {
    z-index: 10;
    display: flex;
    flex-direction: row;
    width: var(--slider-width);
    overflow: hidden;
}

.hero-slides {
    display: flex;
    flex-direction: row;
    gap: 0;
    transition: transform 0.5s ease;
    width: 100%;
}

.hero-slide {
    width: var(--slider-width);
    display: flex;
    flex-direction: column;
    padding: 0 20px 10px 4px;
    flex: 0 0 100%;
}

.hero-slide > a.btn {
    margin-top: 30px;
}


.hero h1 {
    font-weight: 700;
    color: #d4f3cb;
    font-size: 2.2rem;
    line-height: 2.2rem;
    margin-bottom: 10px;
    text-align: left;
    text-shadow: 0 0 30px #35524a, 0 0 14px #0d171c;
    @media (max-width: 420px) {
        font-size: 2rem;
        line-height: 2.2rem;
    }
}

.hero p {
    font-weight: 300;
    color: #d4f3cb;
    font-size: 1.2rem;
    line-height: 1.4rem;
    text-align: left;
    text-shadow: 0 0 20px #35524a, 0 0 4px #0d171c;
    @media (max-width: 420px) {
        font-size: 1rem;
        line-height: 1.2rem;
    }
}


header.open {
    @media (max-width: 980px) {
        height: 100vh;
        background-color: #1a272f;
    }
}

header.open .hamburger-menu {
    @media (max-width: 980px) {
        top: 20px;
        right: 10px;
        position: fixed;
    }
}

header.open .hamburger-icon {
    @media (max-width: 980px) {
        background: transparent;
    }
}

header.open .hamburger-icon::before {
    @media (max-width: 980px) {
        rotate: 45deg;
        top: 20px;
    }
}

header.open .hamburger-icon::after {
    @media (max-width: 980px) {
        rotate: -45deg;
        top: 20px;
    }
}

header.open nav ul {
    @media (max-width: 980px) {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        font-size: 32px;
        gap: 20px;
    }
}

header.open nav ul li a, header.open nav ul li a:visited {
    @media (max-width: 980px) {
        background: none;
        border: none;
    }
}

header.open nav ul li a:hover {
    @media (max-width: 980px) {
        background: none;
        border: none;
    }
}

header.open nav ul li a.selected {
    @media (max-width: 980px) {
        background: none;
        border: none;
        color: var(--primary-color);
    }
}

header.open .top-bar {
    @media (max-width: 980px) {
        height: 200px;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        padding-bottom: 40px;
    }
}

header.open .top-bar .container {
    align-items: center;
    justify-content: space-evenly;
}

header.open .search-bar {
    @media (max-width: 980px) {
        display: flex;
    }
}

header.open .language-bar {
    @media (max-width: 980px) {
        display: flex;
    }
}


/* About Us Section */
.about-us {
    padding-top: 0;
}

.about-us .container:first-of-type {
    padding-top: 20px;
    position: relative;
    min-height: 1300px;
    width: 100%;
    display: block;
    @media (max-width: 420px) {
        height: 1600px;
    }
    @media (max-width: 320px) {
        height: 1800px;
    }
}

.the-lab .container:first-of-type {
    height: max-content;
    @media (max-width: 420px) {
        height: max-content;
    }
    @media (max-width: 320px) {
        height: max-content;
    }
}

.cocktail .container:first-of-type {
    height: max-content;
    @media (max-width: 420px) {
        height: max-content;
    }
    @media (max-width: 320px) {
        height: max-content;
    }
}

.about-image {
    position: absolute;
    width: 60%;
    height: auto;
    display: block;
    @media (max-width: 1200px) {
        width: 80%;
    }
    @media (max-width: 980px) {
        width: 100%;
    }
}

.about-image:before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    /*border-top: 2px solid var(--primary-color);*/
    border-left: 2px solid var(--primary-color);
    @media (max-width: 980px) {
        border-top: 2px solid var(--primary-color);
        border-left: none;
    }

}

.about-content {
    border-top: solid 2px var(--primary-color);
    position: absolute;
    padding: var(--padding);
    width: 60%;
    right: 0;
    top: 400px;
    background-color: var(--secondary-color-dark);
    @media (max-width: 1200px) {
        width: 80%;
    }
    @media (max-width: 980px) {
        width: 100%;
    }
    @media (max-width: 576px) {
        top: 300px;
    }
    @media (max-width: 320px) {
        top: 220px;
    }
}

.about-cards .card .card-content .card-text > p {
    line-height: 2rem;
}

.about-us .about-cards {
    display: flex;
    gap: 60px;
    flex-direction: column;
}

.about-us .card {
    padding: 0;
    text-align: left;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    @media (max-width: 576px) {
        flex-direction: column;
    }
}

.about-us .card-img-right {
    flex-direction: row-reverse;
    @media (max-width: 576px) {
        flex-direction: column;
    }
}

.about-us .card-img {
    flex: 3;
}

.about-us .card-img-right .card-img {
    border-right: 2px solid var(--primary-color);
}

.about-us .card-img-left .card-img {
    border-left: 2px solid var(--primary-color);
}

.about-us .card img {
    width: 100%;
}

.about-us .card-content {
    background-color: var(--secondary-color-dark);
    flex: 7;
    transform: translateX(-5%) scaleX(1.05);
    border-top: 2px solid var(--primary-color);
    padding: var(--padding);
    align-self: end;
    padding-bottom: 0;
    padding-right: 0;
    margin-top: 120px;
    @media (max-width: 980px) {
        transform: translateX(0) scaleX(1);
        align-self: start;
        margin-top: 0;
    }

}

.about-us .card-img-right .card-content {
    transform: translateX(5%) scaleX(1.05);
    padding-left: 0;
    padding-right: var(--padding);
    @media (max-width: 980px) {
        transform: translateX(0) scaleX(1);
    }
}

.about-us .card-content p {
    font-size: 0.9rem;
}

.about-us .card-header {
    background-color: var(--secondary-color-dark);
}

.card-date-location {
    background-color: var(--primary-color);
    color: white;
    width: fit-content;
    padding: 4px 10px;
    position: absolute;
    right: 0;
    top: 0;
}

/* Dictionary Section */
.dictionary {
    background-image: url('../images/glossery.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.dictionary .container {
    justify-content: center;
    align-items: center;
}

.dictionary-content {
    padding: var(--padding);
    border-top: solid 2px var(--primary-color);
    background-color: rgba(62, 32, 2, 0.22);
    backdrop-filter: blur(10px);
}

.dictionary h3 {
    font-size: 2rem;
    line-height: 2.6rem;
    margin-bottom: 15px;
    color: var(--primary-color);

}

.dictionary p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}


/* Tasting Notes Section */
.tasting-notes {
    /*background: #f1e0ce;*/
}


.tasting-notes .container h3 {
    color: white;
}

.tasting-notes .container:first-of-type {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 40px;
}

.tasting-notes p {
    color: #0d171c;
}

.note-carts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

.note-cart {
    flex: 1 1 calc(33% - 20px);
    /*max-width: calc(25% - 20px);*/
    height: 480px;
    position: relative;
    display: block;
    transition: all 0.4s;
    overflow: hidden;
    background-color: #f4f4f4;
    @media (max-width: 1200px) {
        flex: 1 1 calc(50% - 20px);
    }
    @media (max-width: 768px) {
        flex: 1 1 calc(100% - 20px);
    }

}

.note-cart img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.note-cart:after {
    content: "";
    position: absolute;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.67);
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
}

.note-cart:hover:after {
    opacity: 1;
    transition: all .4s;
}

.note-cart > div.content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 70%;
    height: 100%;
    background-color: rgba(26, 39, 47, 0.6);
    position: absolute;
    z-index: 3;
    text-align: center;
    padding: 6px 10px;
    font-size: 1.2rem;
    transition: all .4s;
    top: calc(100% - 88px);
    left: 15%;
    border-top: 6px solid var(--primary-color);
    backdrop-filter: blur(10px);
}


.note-cart .content h2 {
    margin-top: .4rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.note-cart .content a {
    font-size: 1.2rem;
}

.note-cart:hover .content {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 20px;
    background-color: rgba(26, 39, 47, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.note-cart .content p {
    color: #ffffff;
    opacity: 0;
    transition: all .4s;
}

.note-cart:hover p {
    opacity: 1;
}


/* Blog Section */
.blog {
    background: #fff;
}

.blog .container:first-of-type {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 40px;
}

.blog hr {
    background-color: var(--secondary-color-light);
    height: 2px;
}

.blog h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.blog p {
    color: var(--primary-color-dark);
    text-align: left;
    font-size: 1rem;
    padding: 0;
}

.blog .blog-cards {
    display: flex;
    justify-content: start;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    @media (max-width: 980px) {
        gap: 40px;
    }
}

.blog .card {
    background: none;
    padding: 0 0 20px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    width: calc(100%);
    height: 100%;

}

.blog .card img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 15px;
    border-bottom: solid 6px var(--primary-color);
}

.blog .card h3 {
    font-size: 1.2rem;
    margin-top: 20px;
    text-align: left;
    line-height: 1.4rem;
    color: var(--primary-color-dark);
}

.blog .post-image {
    position: relative;
    padding: 0 2rem;
}

.blog .post-date {
    border: solid thin white;
    position: absolute;
    right: 0;
    bottom: 29px;
    padding: 4px 20px;
    background-color: rgba(62, 31, 2, 0.53);
    color: white;
    backdrop-filter: blur(10px);
}

.blog .post-author {
    border: solid thin white;
    position: absolute;
    right: 0;
    bottom: 29px;
    padding: 4px 20px;
    background-color: rgba(62, 31, 2, 0.35);
    color: white;
    backdrop-filter: blur(10px);
}

.blog .post-content {
    display: flex;
    flex-direction: column;
    padding: 0 var(--padding) 10px var(--padding);
}

.blog .post-content h3 {
    margin: 0;
}

.blog .post-content hr {
    background-color: var(--primary-color-dark);
    height: 2px;
}

.blog a {
    text-align: left;
    padding: 4px 20px;
    font-size: 1rem;
    color: var(--primary-color-dark);
    margin-top: 10px;
}


/* Events Section */
.events {

}

.events .container h3 {
    color: white;
}

.events .container:first-of-type {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 40px;
}

.events .events-cards {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
    justify-content: space-between;
}

.events .card {
    /*border: 2px solid var(--primary-color-dark);*/
    padding: 0;
    text-align: center;
    width: calc(100%);
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
    overflow: hidden;

    @media (max-width: 576px) {
        flex-direction: column;
        gap: 0;
    }
}

.events .card .card-img {
    flex: 2;
    position: relative;
    overflow: hidden;
    transform: translate(20%, 20%) scale(1.4);

    @media (max-width: 768px) {
        transform: translate(20%, 20%) scale(2.4);
    }

    @media (max-width: 576px) {
        transform: translate(20%, 20%) scale(3.4);
    }

    @media (max-width: 320px) {
        transform: translate(0, 0) scale(1);
    }
}

.events .card .card-content {
    flex: 5;
    position: relative;
    overflow: hidden;
    background-color: var(--secondary-color-dark);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: var(--padding);
    border-top: 2px solid var(--primary-color);
    margin-top: 100px;
    @media (max-width: 540px) {
        margin-top: 0;
        padding-top: 60px;
    }
}

.events .card .card-content h3 {
    text-align: left;
    color: var(--secondary-color-light);
}

.events .card .card-content p {
    text-align: left;
    color: var(--secondary-color-light);
}


.page-header {
    min-height: 380px;
    width: 100%;
    background-color: var(--secondary-color-dark);
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 40px;
    flex-direction: column;
    border-bottom: solid 1px var(--primary-color);
}

.page-header img {
    z-index: 9;
    position: absolute;
    width: 100%;
    height: auto;
    display: block;

    opacity: 0;
    transform: translateY(-40px);
    animation: fadeInMoveDown 1s ease-out forwards;

    @media (max-width: 1200px) {
        height: 100%;
    }
    @media (max-width: 980px) {
        height: 100%;
        width: auto;
        max-width: 4000px;
    }
}


.page-header-holder {
    z-index: 10;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding-top: 14vh;
    width: 96%;
    max-width: 1400px;
    margin: 0 auto;

    opacity: 0;
    transform: translateX(40px);
    animation: fadeInMoveLeft 1s ease-out forwards;

    @media (max-width: 1400px) {
        max-width: 1400px;
    }

    @media (max-width: 1200px) {
        max-width: 1200px;
    }

    @media (max-width: 980px) {
        max-width: 980px;
    }

    @media (max-width: 768px) {
        max-width: 768px;
    }

    @media (max-width: 576px) {
        max-width: 576px;
    }

    @media (max-width: 320px) {
        max-width: 320px;
    }
}


.page-header-holder::after {
    z-index: 1;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    border-radius: 0 0 50% 0;
    background: rgba(18, 49, 40, 0.58);
    filter: blur(20px);
    transform: scaleX(1.5);
    @media (max-width: 980px) {
        width: 80%;
    }
    @media (max-width: 576px) {
        width: 90%;
    }
    @media (max-width: 320px) {
        width: 100%;
    }
}

.page-header-info {
    z-index: 5;
    width: 40%;
    padding: 24px 24px 40px 24px;
    @media (max-width: 980px) {
        width: 80%;
    }

    @media (max-width: 576px) {
        width: 90%;
    }

    @media (max-width: 320px) {
        width: 100%;
    }
}

.page-header-info h1 {
    text-align: left;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 2.2rem;
    line-height: 2.2rem;
    margin-bottom: 0;
    text-align: left;
    text-shadow: 0 0 30px #35524a, 0 0 14px #0d171c;
    @media (max-width: 420px) {
        font-size: 2rem;
        line-height: 2.2rem;
    }
}

.page-header-info p {
    text-align: left;
    font-weight: 300;
    color: #d4f3cb;
    font-size: 1.2rem;
    line-height: 1.6rem;
    text-shadow: 0 0 20px #35524a, 0 0 4px #0d171c;
}


/*-------------- 6 */
.card-6 {
    width: 100%;
    height: 480px;
    position: relative;
    display: block;
    transition: all .4s;
    border-radius: 4px;
    z-index: 5;
    cursor: pointer;
}

.card-6:after, .card-6:before {
    position: absolute;
    background-color: var(--secondary-color-light);
    content: "";
    top: 0;
    left: 0;
    width: calc(100%);
    height: calc(100%);
    transform-origin: center center;
    transform: rotateZ(0);
    transition: all .4s;
    border-radius: 4px;
    box-shadow: 0 0 3px 0 rgba(63, 52, 52, 0.7);
    z-index: 1;
}

.card-6:hover:before {
    transform: rotateZ(20deg);
}

.card-6:hover:after {
    transform: rotateZ(10deg);
}

.card-6 .holder {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 10;
    border-radius: 4px;
    background-color: var(--secondary-color-light);
    border: solid 10px var(--secondary-color-light);
}

.card-6 img {
    position: absolute;
    left: 50%;
    height: 100%;
    width: auto;
    max-width: none;
    z-index: 2;
    transition: all .4s;
    transform: translate(-50%, 0);
}

.card-6:hover img {
    transform: translate(-50%, -40px);
}

.card-6 .content {
    height: 80px;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 3;
    background-color: var(--secondary-color-light);
    text-align: center;
    transition: all .4s;
    transform: translateY(80px);
}

.card-6:hover .content {
    transform: translateY(0);
    flex-direction: column;
    gap: 0;
}

.card-6 .content h2 {
    font-size: 1.4rem;
    line-height: 1.4rem;
    margin: 10px 10px 0 10px;
    color: #3d3d3d;
}

.card-6 .content h3 {
    font-size: 1rem;
    line-height: 1.2rem;
    margin: 0 5px;
    color: var(--primary-color-dark);
    font-weight: normal;
}


.modal-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.modal-image {
    position: relative;
    width: 100%;
    text-align: center;
}

.modal-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.modal-labels {
    margin-top: 10px;
}

.modal-labels h2 {

    color: white;
    margin: 10px 0 5px;
}

.modal-labels h3 {
    font-weight: normal;
    font-size: 1.2rem;
    color: var(--secondary-color-light);
}

.fas {
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.fas:hover {
    color: #ccc;
}

.prev {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.next {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Event Detail Layout */
.event-header .page-header-info {
    width: 75%;
}

.event-header figure {
    width: 100%;
    opacity: 0.4;
}


.event-header figure picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-detail-holder {
    display: flex;
    gap: 40px;
}

.event-detail-holder .event-content {
    flex: 3;
}

.event-detail-holder .event-gallery {
    flex: 1;
}

@media (max-width: 980px) {
    .event-detail-holder {
        flex-direction: column;
    }
}


/* Footer */
footer {
    background: var(--secondary-color-dark);
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    border-top: 4px solid var(--primary-color);
    position: relative;
    z-index: 99989898989;
}

footer .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}


/*-------------- SOCIAL */
.social {
    height: 40px;
    font-weight: bold;
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social a, .social a:link, .social a:visited {
    width: 42px;
    height: 42px;
    background-color: #f1e0ce;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .4s ease-in-out;
    position: relative;
    overflow: hidden;
}

.social a:after {
    content: "";
    background-color: var(--primary-color);
    width: 160%;
    height: 160%;
    position: absolute;
    z-index: 1;
    transition: all .4s;
    transform: rotate(45deg);
    left: -150%;
    top: 100%;

}

.social a:hover:after {
    transform: rotate(45deg);
    animation: animation .7s 1 forwards;
}


.social a i {
    position: absolute;
    transition: all .4s;
    transform: scale(100%);
    color: var(--primary-color);
    z-index: 2;
}

.social a:hover i {
    transform: scale(120%);
    color: #f1e0ce;
}


/* note-list */
.notes-list .container {
    flex-direction: row;
    align-items: flex-start;
    @media (max-width: 980px) {
        flex-direction: column;
    }
}

.notes-list .container .filters {
    flex: 1;
    align-items: normal;
    @media (max-width: 980px) {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.notes-list .container .note-carts {
    flex: 5;
}

/* note- */
.note {
    padding-top: 0;
}

.note .container:first-of-type {
    padding-top: 40px;
    width: 100%;
    display: block;
    @media (max-width: 980px) {
        padding-top: 0;
    }
}

.note-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
}

.note-image:before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    /*border-top: 2px solid var(--primary-color);*/
    border-left: 2px solid var(--primary-color);
    @media (max-width: 980px) {
        border-top: 2px solid var(--primary-color);
        border-left: none;
    }
}

.note-content {
    border-top: solid 2px var(--primary-color);
    padding: var(--padding);
    width: 100%;
    display: flex;
    flex-direction: row;
    position: relative;
    background-color: var(--secondary-color-dark);
    @media (max-width: 1200px) {

    }
    @media (max-width: 980px) {
        flex-direction: column;
        align-items: flex-start;
    }
    @media (max-width: 768px) {
        gap: 0;
    }
}

.note-content div {
    flex: 2;
}

.note-content div.note-text {
    margin-top: 4rem;
    max-width: 68%;
    @media (max-width: 1200px) {
        max-width: 58%;
    }

    @media (max-width: 980px) {
        max-width: 100%;
    }
}


.note-content div.note-tag {
    width: fit-content;
    padding: 30px;
    position: absolute;
    right: 0;
    top: -380px;
    max-width: 30%;
    @media (max-width: 1200px) {
        top: 4rem;
        position: relative;
        max-width: 40%;
    }

    @media (max-width: 980px) {
        padding: 20px 24px;
        position: relative;
        right: auto;
        top: auto;
        flex: 1;
        max-width: 100%;
        margin-top: 20px;
    }

}

.note-tag h4 {
    font-size: 1.2rem;
    line-height: 1.4rem;
    @media (max-width: 1200px) {
        font-size: 1.1rem;
        line-height: 1.3rem;
    }
    @media (max-width: 980px) {
        font-size: 1rem;
        line-height: 1.2rem;
    }
}

.note-icons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2px;
    margin-top: 28px;

}

.note-icons figure {
    flex: 1 1 90px;
    height: auto;
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.note-icons figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(74, 23, 5, 0.75); /* translucent black */
    color: white;
    padding: 10px;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.note-icons figure:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

.note-colors {
    width: fit-content;
    position: absolute;
    max-width: 69%;
    top: 14px;
    left: 0;
    z-index: 11;
    display: flex;
    flex-direction: row;
    gap: 2px;
    height: fit-content;
    padding: .4rem;
    background-color: rgba(255, 255, 255, 0.36);
    @media (max-width: 1200px) {
        max-width: 100%;
        width: 100%;
    }
    @media (max-width: 980px) {

        top: -16px;
        left: 0;
        flex-direction: row;

        justify-content: center;
    }
}

.color-box {
    width: 44px;
    height: 44px;
    color: var(--primary-color);
    position: relative;
    cursor: pointer;
    transform: scale(100%);
    border: none;
    transition: all 0.2s ease-in-out;
    @media (max-width: 980px) {
        width: 30px;
        height: 30px;
    }
}

.color-box:hover {
    transform: scale(110%);
    border: solid thin white;
}

.color-box p {
    display: none;
    font-size: .9em;
    position: absolute;
    background: var(--secondary-color-dark);
    color: var(--secondary-color-light);
    padding: 4px 8px;
    width: max-content;
    left: 50px;
    top: 36px;
    border: solid thin var(--secondary-color-light);
    transform: scale(10%);
    @media (max-width: 980px) {
        left: 0;
        top: 36px;
        transform: scale(10%) translateX(-50%);
    }
}

.color-box h6 {
    text-shadow: 1px 1px 3px rgba(32, 32, 32, 0.82);
    color: #fff;
    font-size: 1em;
    text-align: center;
    margin: 10px 0 0 0;
    @media (max-width: 980px) {
        margin: 4px 0 0 0;
        font-size: .8em;
    }
    @media (max-width: 720px) {
        display: none;
    }
}

.color-box p::before {
    content: "";
    position: absolute;
    border-style: solid;
    border-color: transparent #ffffff transparent transparent;
    transform: translateX(-50%) rotate(90deg);
    top: -20px;
    left: 0;
    border-width: 10px;
    z-index: 99999;
}

.color-box:hover p {
    display: block;
    top: 44px;
    transform: scale(110%);

}

.color-selected {
    border: solid 4px white;
    padding: 4px;
}

.color-selected p {
    display: block;
    left: -40px;
    top: 60px;
    transform: scale(100%);
    @media (max-width: 980px) {
        left: -40px;
        top: 52px;
    }
    @media (max-width: 720px) {
        left: -45px;
        top: 42px;
    }
    @media (max-width: 480px) {
        left: -52px;
        top: 40px;
    }
}

.color-selected p::before {
    left: 46%;
}


.color-box p span {
    color: var(--primary-color);
}

.note-user {
    display: flex;
    flex-direction: row;
    @media (max-width: 980px) {
        flex-direction: column;
    }
}

.note-user img {
    width: 240px;
}

.note-user .negative {
    padding: 20px;
    flex: 1;
    width: 100%;
}

.note-infos {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 2rem;
    width: 50%;
    @media (max-width: 920px) {
        flex-direction: column;
        width: 100%;
    }

}
.tasting-note h3{
    margin-bottom: 2rem;
}

.note-info {
    width: calc(100% - 2rem);
    display: flex;
    flex-direction: row;
    gap: 2rem;
    box-shadow: 1px 1px 10px rgba(4, 25, 37, 0.78);
    padding: 2rem;
    @media (max-width: 980px) {
        width: 100%;
    }
    @media (max-width: 480px) {
        flex-direction: column;
    }
}

.circle-container {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(#ff7914 var(--percent), var(--secondary-color-dark) 0%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-circle::before {
    box-shadow: 0 0 8px #f47618;
    content: "";
    width: 140px;
    height: 140px;
    background: var(--secondary-color-dark);
    border-radius: 50%;
    position: absolute;
}


.progress-circle::after {
    content: attr(data-percent) "%";
    position: absolute;
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color-light);
}

.chart-container {
    width: 50%;
    height: auto;
    padding: 2rem;
    margin: auto;
    box-shadow: 1px 1px 10px rgba(4, 25, 37, 0.78);

    @media (max-width: 980px) {
        width: 100%;
        height: 800px;
    }

    @media (max-width: 720px) {
        height: 600px;
    }
    @media (max-width: 576px) {
        padding: 10px;
        height: 400px;
    }
}

.blog-page .container:first-of-type {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    @media (max-width: 980px) {
        flex-direction: column;
    }
}

.blog-page .container .filters {
    @media (max-width: 980px) {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.event-list {
    margin-top: 6rem;
}

.event-list .container:first-of-type {
    height: max-content;
}

.cookie-policy {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #a14402;
    padding: 1rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.cookie-policy h5 {
    color: white;
}

.cookie-policy p {
    font-size: 16px;
}

.cookie-policy-inner {
    margin: 10px 10px 0 10px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cookie-policy button {
    align-self: flex-end;
}

/* Blog author section */

.blog-author {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.blog-author .author-wrapper {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.blog-author .author-wrapper figure picture img {
    width: 140px;
    height: auto;
}

.blog-author .author-name {
    font-weight: bold;
    padding: 10px;
    background-color: #e07010;
}

/* Position the "All Posts" button in the blog author section */

.blog-author .container {
    position: relative;
}

.blog-author .container .btn {
    position: absolute;
    right: 0;
    bottom: 0;
}

.blog-post > .container {
    gap: 4px;
}

/* Event back button section */

.event-back {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.event-back .container {
    position: relative;
}

.event-back .container .btn {
    position: absolute;
    right: 0;
    bottom: 0;
}

.blog-in-page {
    background-color: transparent;
}

.blog-in-page .card {
    background-color: white;
}


.blog-in-page .post-date {
    margin-right: 2rem;
}

.blog-in-page h2 {
    text-align: left;
    margin-bottom: .2rem;
    color: var(--primary-color-dark);
}

.blog-in-page .post-image {
    width: 100%;
    padding: 0;
}

.container.tiptap-editor {
    margin: auto;
}
