/*INTRO*/
ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 9999;
    transition: opacity 1s;
}

.intro-overlay__inner {
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Big Shoulders Text', cursive;
    z-index: 9999;
    transition: opacity 1s;
}

.intro-animate__letters .letter {
    opacity: 0;
}

.intro-text_inner {
    position: absolute;
    width: 100%;
}

.intro-text_inner::after {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: "";
    z-index: 0;
    opacity: 0;
}

.intro-text_inner .intro-title {
    transform: translateY(-50%);
}

.intro-title {
    text-align: center;
    padding: 0 10px;
}

.intro-text__wrapper {
    font-size: 50px;
}

.intro-selected {
    z-index: 1;
}

.intro-selected::after {
    opacity: 1;
}

.countdown {
    height: 40px;
    width: 40px;
    transform: rotate(-90deg);
    /* Start from the top */
    margin-top: 250px;
    /* Space between text and circle */
}

.countdown-circle {
    transition: stroke-dashoffset 3s linear;
    stroke-dashoffset: 100.53;
}

.countdown>circle:first-child {
    stroke-opacity: 0.2;
}

/*ANIMATE LETTERS*/

.animate-letters {
    position: relative;
}

.animate-letters .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.2em;
    padding-right: 0.05em;
    padding-bottom: 0.1em;
    overflow: hidden;
    margin-left: 3%;
}

.animate-letters .letter {
    display: inline-block;
    line-height: 1em;
    transform-origin: 0 0;
    opacity: 0;
}

.animate-letters .word {
    display: inline-block;
}

/*CAROUSEL*/

.carousel {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100vh;
    top: 0;
    background: #000;
}

.carousel .slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    visibility: visible;
}

.carousel .slide::after {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .44);
    top: 0;
    left: 0;
    content: "";
    z-index: 0;
    opacity: 0;
}

.activeVideo.slide::after {
    background-color: rgba(0, 0, 0, .0);
}

.carousel .slide::before {
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    top: 0;
    left: 0;
    content: "";
    opacity: 0;
    transition: opacity 2s, transform 5s;
}

.carousel .slide .title {
    font-family: 'Big Shoulders Text', cursive;
    font-style: normal;
    font-weight: normal;
    font-size: 65px;
    text-align: center;
    letter-spacing: 0.3em;
    color: #FFFFFF;
    z-index: 101;
    margin-top: 30px;
    opacity: 0;
    transition: opacity 1s ease;
}


.carousel .slide .description {
    font-family: 'Barlow', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    text-align: center;
    color: #FFFFFF;
    opacity: 0;
    z-index: 101;
    margin-top: 20px;
    span {
        display: block;
    }

    a {
        margin-top: 30px;
    }
}

.fake-title {
    opacity: 0;
    height: 110px;
    width: 10px;
    margin-top: 30px;
}

.fake-description {
    opacity: 0;
    height: 35px;
    width: 10px;
    margin-top: 20px;
}

.fake-gallery {
    width: 1200px;
    height: 71px;
    margin-top: 70px;
}

.carousel .slide .keywords {
    opacity: 0;
}

.carousel .slide .keywords {

    display: inline-block;

}

.carousel .selected {
    z-index: 1;
}

.carousel .selected::after {
    opacity: 1;
}

.carousel .selected::before {
    opacity: 1;
    transition-delay: opacity 0s;
}

@media (max-width: 1440px) {
    .carousel .slide .title {
        font-size: 50px;
    }
    .fake-title {
        height: 86px;
    }
}

@media (max-width: 1150px) {
    .carousel .slide .title {
        font-size: 40px;
        margin-top: 10px;
    }
    .carousel .slide .description {
        font-size: 12px;
    }
    .fake-title {
        height: 69px;
        margin-top: 10px;
    }
    .fake-description {
        height: 28px;
    }

}

@media (max-width: 1024px) {
    .carousel .slide .title {
        font-size: 40px;
        margin-top: 0;
    }

    .fake-title {
        height: 69px;
        margin-top: 0;
    }

    .showContent {
        background-color: rgba(0, 0, 0, 0.7);
    }


}

@media (max-width: 800px) {
    header .logo {
        width: 60px;
        height: 60px;
        left: 20px;
        top: 16px;
    }

    .intro-text__wrapper {
        font-size: 30px;
    }

}

@media (max-width: 768px) {
    .hero-header {
        padding-top: 25px;
    }
}

@media (max-width: 500px) {
    .intro-text__wrapper {
        font-size: 20px;
    }


}

/*SLIDES*/

#slide-1 .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

#slide-2::before {
    background-image: url('../img/pool.jpg');
}

#slide-3::before {
    background-image: url('../img/revival.jpg');
}

#slide-4::before {
    background-image: url('../img/iyo.jpg');
}

#slide-5::before {
    background-image: url('../img/lisso.jpg');
}

#slide-6::before {
    background-image: url('../img/beingwaves.jpg');
}

#slide-7::before {
    background-image: url('../img/te.jpg');
}

#slide-8::before {
    background-image: url('../img/crimescene.jpg');
}

#slide-9::before {
    background-image: url('../img/campcentury.jpg');
}

#slide-10::before {
    background-image: url('../img/barcelona.jpg');
}

#slide-11::before {
    background-image: url('../img/storm.jpg');
}


.left-arrow {
    position: absolute;
    background: url('../img/arrow-left.png') no-repeat center center;
    background-size: 25px;
    height: 100%;
    top: 0;
    left: 0;
    width: 70px;
    cursor: pointer;
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, .5));
    z-index: 10;
}

.right-arrow {
    position: absolute;
    background: url('../img/arrow-right.png') no-repeat center center;
    height: 100%;
    top: 0;
    right: 0;
    width: 70px;
    background-size: 25px;
    cursor: pointer;
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, .5));
    z-index: 10;
}

@media (max-width: 800px) {
    .left-arrow {

        background: url(../img/arrow-left.png) no-repeat center top 46%;
        background-size: 18px;
    }

    .right-arrow {

        background: url(../img/arrow-right.png) no-repeat center top 46%;
        background-size: 18px;
    }
}

@media(max-width: 550px) {
    .carousel .slide .title {
        width: 100%;
        max-width: 275px;
        font-size: 40px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 400px) {
    .left-arrow {

        background: url(../img/arrow-left.png) no-repeat center top 44%;
        background-size: 14px;
    }

    .right-arrow {

        background: url(../img/arrow-right.png) no-repeat center top 44%;
        background-size: 14px;
    }
}

.gallery-container {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    pointer-events: none;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.gallery {
    width: 1200px;
    display: flex;
    margin-top: 70px;
    pointer-events: auto;
}

.gallery-item {
    position: relative;
    z-index: 99;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    transition: transform 0.3s ease, opacity 0.3s ease, z-index 0.3s ease;

    a {
        width: 100%;
        height: 70px;
    }
}

.gallery-item:first-child {
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
}

.gallery-item:hover {
    opacity: 1;
    transform: scale(1.1);
    z-index: 100;
}

.gallery-item a:hover::after{
    width: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


@media (max-width: 1440px) {
    .gallery,
    .fake-gallery {
        width: 1000px;
        height: 60px;
    }

    .gallery-item {
        a {
            height: 60px;
        }
    }
}

@media (max-width: 1150px) {
    .gallery,
    .fake-gallery {
        width: 850px;
    }

    .gallery-item {
        a {
            height: 50px;
        }
    }

}

@media (max-width: 1024px) {
    .gallery-container,
    .fake-gallery {
        display: none;
    }
}

header{
    display: flex;
    justify-content: end;
    z-index: 101;
}

.main-link {
    margin: 5px 0;
}

.main-link-item {
    cursor: pointer;
    color: #FFFFFF;
}

.light .main-link-item span::after {
    content: "";
    display: block;
    width: 0%;
    border-bottom: 1px solid #ffffff;
    transition: .3s;
}

.main-link-item span::after {
    content: "";
    display: block;
    width: 0;
    border-bottom: 1px solid #000000;
    transition: .3s;
}

.main-link-item span:hover::after {
    width: 100%;
}

.animated-item-header {
    animation: headerSlideIn 3s forwards cubic-bezier(0.1, 0.67, 0.29, 0.98);
    transition: 1s ease;
}

@keyframes headerSlideIn {
    0% {
        transform: translate3d(0, 110%, 0);
        opacity: 0;
    }
    20% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
    80% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

.new-content-container,
.new-content-background {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 0;
    opacity: 0;
    width: 100%;
    height: 100vh;
    transition: right 0.6s ease;
}

.new-content-background {
    background-color: rgba(0, 0, 0, 0.9);
}

.showBackground {
    z-index: 100;
    opacity: 1;
    transition: right 0.6s ease;
}

.new-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 20px;
    height: 100vh;
    width: 100%;
    transition: 0.6s ease;
    opacity: 0;
}

.new-content__text {
    color: #FFFFFF;
    font-size: 18px;
    line-height: 30px;
    width: 1050px;
    margin-bottom: 80px;
}

.new-content__inner {
    display: flex;
    justify-content: space-between;
    width: 960px;
    margin-bottom: 50px;
    color: #FFFFFF;
}

.new-content-item h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.light .new-content-item p a::after,
.light .new-content-links a::after {
    content: "";
    display: block;
    width: 0;
    border-bottom: 1px solid #FFFFFF;
    transition: .3s;
}

.new-content-item p a::after,
.new-content-links a::after {
    content: "";
    display: block;
    width: 0%;
    border-bottom: 1px solid #FFFFFF;
    transition: .3s;
}

.new-content-item p a:hover::after,
.new-content-links a:hover::after {
    width: 100%;
}

.light .new-content-item p {
    color: #FFFFFF;
}

.new-content-item p {
    font-size: 16px;
    line-height: 30px;
    width: 330px;
    color: #FFFFFF;
}

.new-content-item p:last-child {
    margin-bottom: 20px;
}

.light .new-content-links {
    color: #FFFFFF;
}

.new-content-links {
    width: 960px;
    color: #FFFFFF;
}

.new-content-links p {
    font-size: 16px;
    margin-bottom: 30px;
}

.new-content-links-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.new-content-links-inner a {
    font-size: 16px;
    padding-left: 80px;
    position: relative;
}

.new-content-links-inner a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 65px;
    border-bottom: 1px solid #FFFFFF;
}

.new-content-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.new-content-bottom a {
    margin-right: 40px;
}

.new-content-bottom img {
    width: 20px;
}

.new-content-bottom p {
    margin-bottom: 3px;
    margin-right: 40px;
    font-size: 14px;
}

.new-content-bottom p:last-child {
    margin-right: 0;
}

.contentClose,
.main-link-item,
.grid-view {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: transparent;
    cursor: pointer;
}

.main-link-item {
    justify-content: space-between;
    flex-direction: inherit;
    gap: 30px;
    width: 140px;
    span {
        text-wrap: nowrap;
    }
}

.grid-view {
    color: #FFFFFF;
    right: 100px;
}

.contentClose span {
    background-color: #FFFFFF;
    display: block;
    width: 35px;
    height: 1px;
    transition: 0.2s ease;
    transform: rotate(0deg);
}

.contentClose span:first-child {
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.contentClose span:last-child {
    transform: rotate(-45deg);
    transition: transform 0.6s ease;
}

.contentCloseActive {
    display: flex;
}

.hideElement {
    opacity: 0!important;
    z-index: 0!important;
    transition: 0.5s ease;
}

.showContent {
    opacity: 1;
    transition: 0.5s ease;
}

.animated-item-header {
    animation: headerSlideIn 3s forwards cubic-bezier(0.1, 0.67, 0.29, 0.98);
    transition: 1s ease;
}

.new-text-wrapper {
    text-align: right;
    padding-right: 40px;
    width: 160px;
}

@keyframes headerSlideIn {
    0% {
        transform: translate3d(0, 110%, 0);
        opacity: 0;
    }
    20% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
    80% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
    90% {
        transform: translate3d(0, -90%, 0);
        opacity: 0;
    }
    100% {
        transform: translate3d(0, -110%, 0);
        opacity: 0;
    }
}

.ui-hide-btn {
    cursor: pointer;
}

.ui-hide-btn.is-hidden{
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 1300px) {
    .new-content-links-inner a {
        padding-left: 75px;
    }

    .new-content__inner {
        width: 900px;
    }

    .new-content-item h3 {
        font-size: 24px;
    }

    .new-content-links {
        width: 900px;
    }

}

@media (max-width: 1024px) {
    .new-content__inner {
        width: 800px;
    }

    .new-content-item h3 {
        font-size: 20px;
    }

    .new-content-links {
        width: 800px;
    }

    .new-content-links p {
        font-size: 14px;
    }

    .new-content-links-inner a {
        font-size: 14px;
        padding-left: 65px;
    }

    .new-content-links-inner a::before {
        top: 9px;
        width: 55px;
    }


    .new-content-bottom a {
        margin-right: 20px;
        font-size: 16px;
    }

    .new-content-bottom img {
        width: 15px;
    }

    .new-content-bottom p {
        font-size: 12px;
        margin-right: 20px;
    }
    .new-text-wrapper {
        padding-right: 20px;
    }


}

@media (max-width: 900px) {
    .new-content__inner {
        width: 680px;
    }

    .new-content-item h3 {
        font-size: 18px;
        margin: 0;
    }

    .new-content-item p {
        font-size: 14px;
        line-height: 20px;
        width: 300px;
    }

    .new-content-links {
        width: 680px;
    }

    .new-content-links p {
        margin-bottom: 20px;
    }

    .new-content-links-inner a {
        padding-left: 44px;
    }

    .new-content-links-inner a::before {
        width: 35px;
    }


    .new-content-bottom img {
        width: 15px;
    }

    .new-content-bottom p {
        margin-right: 20px;
        margin-bottom: 2px;
    }
}

@media (max-width: 800px) {
    .contentClose,
    .main-link-item {
        top: 0;
        right: 30px;
    }
}


@media (max-width: 768px) {
    .new-content__inner {
        width: 350px;
        flex-direction: column;
    }

    .new-content-item h3 {
        width: 350px;
        margin-bottom: 20px;
    }

    .new-content-item p {
        font-size: 12px;
        line-height: 18px;
        width: 260px;
    }

    .new-content-item p:last-child {
        margin-bottom: 10px;
    }

    .new-content-links {
        width: 350px;
    }

    .new-content-links p {
        margin-bottom: 15px;
    }

    .new-content-links-inner {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .new-content-links-inner a {
        padding-left: 35px;
        width: 130px;
    }

    .new-content-links-inner a::before {
        width: 25px;
        top: 10px;
    }

    .new-content-bottom {
        flex-wrap: wrap;
        width: 150px;
        margin: 0 auto;
    }

    .new-content-bottom a {
        margin-left: 10px;
        margin-right: 10px;
    }

    .new-content-bottom p {
        margin-bottom: 0;
        margin-top: 10px;
    }
    .new-text-wrapper {
        padding-right: 0;
        text-align: center;
    }
}

@media (max-width: 700px) {

    .contentClose,
    .main-link-item {
        right: 25px;
    }

    .contentClose span {
        width: 25px;
        height: 1px;
    }
}

@media (max-width: 600px) {
    .new-content {
        padding: 10px;
    }
}
