@font-face {
  font-family: 'AwesomeSerifVAR';
  src: url('../fonts/AwesomeSerifVAR-VF.ttf');
}

@font-face {
  font-family: 'AwesomeSerifItalicVAR';
  src: url('../fonts/AwesomeSerifItalicVAR-VF.ttf');
  font-style: italic;
}

body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* Cover - valencia */

.cover-valencia {
  position: relative;
  background-color: #C1DCEF;
  color: #20313B;
  height: 100vh;
  padding-top: 66px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.cover-valencia-content {
  width: 473px;
  height: fit-content;
  margin-top: 65px;
  margin-left: 50px;
}

.cover-valencia-content-title {
  margin: 0;
  margin-bottom: 50px;
  font-family: 'AwesomeSerifVAR';
  font-variation-settings: 'wght' 525, 'hght' 1000;
  font-size: 106px;
  line-height: 102%;
  text-align: start;
}

.cover-valencia-content-text {
  margin: 0;
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 102%;
  font-size: 24px;
  text-align: start;
  width: 490px;
}

.cover-valencia-imgs {
    overflow: hidden;
}

.cover-valencia-imgs video {
    object-fit: cover;
    object-position: bottom;
}

/* FIN - Cover - valencia */

/* Linguistic - valencia */

.linguistic-valencia {
    display: flex;
    flex-direction: row;
    background-color: #FFFFF8;
    overflow: hidden;
    flex-wrap: wrap;
    padding-top: 50px;
    padding-bottom: 100px;
}

/* Content */

.linguistic-valencia-content {
    width: 706px;
    margin: 50px;
}

.linguistic-valencia-content-title {
    font-family: 'AwesomeSerifVAR';
    font-variation-settings: 'wght' 175, 'hght' 1000;
    font-size: 32px;
    line-height: 102%;
    margin-bottom: 35px;
    margin-top: 0;
    text-align: start;
}

.linguistic-valencia-content-text {
    margin: 0;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 102%;
    font-size: 24px;
    text-align: start;
}

/* FIN - Content */

/* Buttons */

.linguistic-valencia-buttons {
    margin: 50px 100px 0 150px;
}

.linguistic-valencia-buttons a {
    width: 400px;
    height: 100px;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 102%;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #20313B;
    border-radius: 58px;
    margin-bottom: 40px;
    text-decoration: none;
    color: #20313B;
}

.valencia-btn-easy:hover {
    background-color: #F8C81B;
}

.valencia-btn-easy.active {
    background-color: #F8C81B;
}

.valencia-btn-cultural:hover {
    background-color: #C1DCEF;
}

.valencia-btn-cultural.active {
    background-color: #C1DCEF;
}

/* FIN - Buttons */

/* Contact */

.linguistic-valencia-contact {
    position: relative;
    margin: 50px;
    height: 100px;
}

.hover-img img {
    width: 250px;
    z-index: 5;
    position: relative;
}

.raton {
    position: absolute;
    right: 190px;
    top: 40px;
    z-index: 7;
    width: 80px;
    animation: mouse 2s infinite linear;
}

@keyframes mouse {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-15px, 15px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.yellow-star {
    position: absolute;
    right: -60px;
    top: -35px;
    z-index: 3;
    width: 140px;
    animation: spin-star 5s infinite linear;
}

@keyframes spin-star {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.linguistic-valencia-contact:hover .raton {
    animation: mouse-far 2s infinite linear;
}

@keyframes mouse-far {
  0% {
    transform: translate(-15px, 15px);
  }
  50% {
    transform: translate(-30px, 30px);
  }
  100% {
    transform: translate(-15px, 15px);
  }
}

.linguistic-valencia-contact:hover .yellow-star {
    animation: move-star 3s infinite alternate;
}

@keyframes move-star {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }
    100% {
        transform: rotate(360deg) translate(30px, -30px);
    }
}

/* FIN - Contact */

/* FIN - Linguistic - valencia */

/* Drops - valencia */

.drops-valencia {
    background-color: #FFFFF8;
}

/* Easy */

.drops-valencia-easy {
    padding: 100px 220px;
    border-top: 2px solid #20313B;
    display: none;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.drops-valencia-easy.active {
    display: flex;
}

.drops-valencia-easy-content {
    position: relative;
    margin-bottom: 50px;
    margin-right: -300px;
}

.drops-valencia-easy-text {
    margin: 0;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 102%;
    font-size: 24px;
    width: 580px;
    text-align: start;
}

.drops-valencia-easy-cities {
    width: 550px;
    margin-top: 100px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.drops-valencia-easy-cities,
.drops-valencia-easy-cities a {
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 102%;
    font-size: 32px;
    color: #20313B;
    text-decoration: none;
    line-height: 120%;
}

.drops-valencia-easy-cities a.active {
    text-decoration: underline;
    font-style: italic;
    color: #E45A2C;
}

.drops-valencia-easy-cities-div {
    position: relative;
    display: flex;
}

.drops-valencia-easy-cities-content {
    position: relative;
    width: 310px;
    margin-right: 25px;
}

.drops-valencia-easy-cities-content div {
    position: absolute;
    bottom: 0;
}

.drops-valencia-easy-cities-content > div {
    display: none;
}

.drops-valencia-easy-cities-content > div.active {
    display: block;
}

.drops-valencia-easy-cities-content-title {
    font-family: 'AwesomeSerifVAR';
    font-variation-settings: 'wght' 525, 'hght' 1000;
    font-size: 80px;
    line-height: 102%;
    margin: 0;
    width: 310px;
    text-align: start;
}

.drops-valencia-easy-cities-content-text {
    padding-bottom: 25px;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 102%;
    font-size: 32px;
    text-align: start;
    margin-bottom: 0;
    margin-top: 10px;
    width: 310px;
}

.drops-valencia-easy-img {
    width: clamp(400px, 35vw, 728px);
    aspect-ratio: 728 / 885;
    border-top-left-radius: 800px;
    border-top-right-radius: 800px;
    background-color: #C1DCEF;
    overflow: hidden;
    position: relative;
}

.drops-valencia-easy-img img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: auto;
}

.drops-valencia-easy-img > div {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.drops-valenciae-easy-img > div.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FIN - Easy */

/* Cultural */

.drops-valencia-cultural {
    padding: 50px;
    border-top: 2px solid #20313B;
    display: none;
    flex-direction: row;
    flex-wrap: wrap;
}

.drops-valencia-cultural.active {
    display: flex;
}

.drops-valencia-cultural-text {
    margin-right: 180px;
}

.drops-valencia-cultural-content {
    display: flex;
    flex-direction: row;
    width: 1056px;
    margin-top: 50px;
} 

.drops-valencia-cultural-content-left {
    margin-right: 100px;
}

.drops-valencia-cultural-content-left div,
.drops-valencia-cultural-content-right div {
    margin-bottom: 50px;
}

.drops-valencia-cultural-text p,
.drops-valencia-cultural-content p,
.drops-valencia-cultural-content h1 {
    margin: 0;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 102%;
    font-size: clamp(24px, 2.5vw, 32px);
    width: clamp(400px, 40vw, 485px);
    text-align: start;
    color: #20313B;
}

.drops-valencia-cultural .drops-valencia-cultural-text p {
    font-size: 24px;
    width: 470px;
    margin-top: 50px;
}

.drops-valencia-cultural-content h1 {
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 1px solid #20313B;
}

.drops-valencia-cultural-content p {
    padding-top: 10px;
}

.hover-item {
    position: relative;
}

.hover-item .floating-image {
    width: 400px;
    height: 500px;
    position: absolute;
    background-size: cover;
    background-position: center;
    display: none;
    border-top-left-radius: 200px;
    border-top-right-radius: 200px;
    margin: 0;
    z-index: 1;
}

.top-left {
    top: 0;
    right: -500px;
}

.middle-left {
    top: -250px;
    right: -500px;
}

.bottom-left {
    bottom: 0;
    right: -500px;
}

.top-right {
    top: 0;
    left: -500px;
}

.middle-right {
    top: -250px;
    left: -500px;
}

.bottom-right {
    bottom: 0;
    left: -500px;
}

.hover-item:hover .floating-image {
    display: block;
}

/* FIN - Cultural */

/* Discover - valencia */

.discover-valencia {
    background-color: #FFFFF8;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-bottom: 100px;
    border-top: 2px solid #20313B;
}

.discover-info p {
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 102%;
    font-size: clamp(20px, 1.2vw, 24px);
    text-align: center;
    margin-top: 50px;
    display: block;
    margin-top: 60px;
    color: #20313B;
}

.discover-cities {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.discover-city {
    margin-top: clamp(60px, 4vw, 87px);
    margin-left: 10px;
    margin-right: 10px;
}

.discover-photo {
    width: 350px;
    aspect-ratio: 7 / 10;
    border-top-left-radius: 185px;
    border-top-right-radius: 185px;

    position: relative;
    display: block;
    overflow: hidden;
}

.discover-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.discover-photo-text p {
    font-family: 'AwesomeSerifVAR';
    font-variation-settings: 'wght' 175, 'hght' 1000;
    text-align: center;
    font-size: clamp(50px, 3vw, 64px);
    line-height: 102%;
    margin-top: 50px;
    margin-bottom: 0;
}

.hover-cities-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 102%;
    font-size: clamp(28px, 3vw, 32px);
    text-align: center;
    box-sizing: border-box;
    border-top-left-radius: 185px;
    border-top-right-radius: 185px;
    border: 2px solid #20313B;
}

.hover-naranja {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: #E45A2C;
    color: #FFFFF8;
    padding: 0 25px;
}

.hover-amarillo {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: #F8C81B;
    color: #20313B;
    padding: 0 25px;
}

.hover-azul {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: #C1DCEF;
    color: #20313B;
    padding: 0 25px;
}

.discover-photo:hover .hover-cities-text, .discover-photo:hover .hover-naranja, .discover-photo:hover .hover-amarillo, .discover-photo:hover .hover-azul {
    opacity: 1;
}

.discover-photo:hover img {
    filter: brightness(0.7);
}

/* FIN - Discover - valencia */

.red-star-discover {
    display: none;
}

.easy-desk {
    display: block;
}

.easy-mov {
    display: none;
}

/* FIN - Drops - valencia */

@media (max-width: 1000px) {
    .easy-desk {
        display: none;
    }
    .easy-mov {
        display: block;
    }
    /* Cover */
    .cover-valencia {
        padding-top: 0;
        height: calc(100vh - 66px);
        flex-direction: column;
    }

    .cover-valencia-content {
        margin-top: 25px;
        margin-left: 30px;
        width: 283px;
    }

    .cover-valencia-content-title {
        font-size: 36px;
        width: 256px;
        margin-bottom: 20px;
    }

    .cover-valencia-content-text {
        width: 283px;
        margin-bottom: 50px;
        font-size: 20px;
    }

    .cover-valencia-imgs video {
        height: 100%;
    }
    /* Linguistic */
    .linguistic-valencia {
        justify-content: center;
        padding-bottom: 30px;
    }

    .linguistic-valencia-content {
        margin: 0 30px 0 30px;
    }

    .linguistic-valencia-content-title {
        font-size: 28px;
    }

    .linguistic-valencia-content-text {
        font-size: 20px;
    }

    .linguistic-valencia-buttons {
        margin: 50px 44px 0 44px;
    }

    .linguistic-valencia-buttons a {
        width: 302px;
        height: 70px;
        font-size: 18px;
        margin-bottom: 15px;
    }

    .hover-img img {
        width: 150px;
    }

    .raton {
        width: 60px;
        top: 18px;
        right: 105px;
    }

    .yellow-star {
        width: 100px;
        top: -35px;
        right: -40px;
    }
    /* Discover */
    .discover-info p {
        font-size: 18px;
        width: 330px;
    }
    .discover-cities {
        justify-content: center;
    }
    .discover-city {
        margin-top: 50px;
    }
    .discover-photo {
        width: 160px;
    }
    .discover-photo-text p {
        font-size: 24px;
        margin-top: 10px;
    }
    .hover-cities-text {
        font-size: 18px;
    }
    .red-star-discover {
        width: 160px;
        aspect-ratio: 7 / 10;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 10px;
    }
    .red-star-discover img {
        width: 60px;
        animation: spin-and-wiggle 12s infinite linear;
    }

    @keyframes spin-and-wiggle {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }
    25% {
        transform: rotate(90deg) translate(-40px, -35px);
    }
    50% {
        transform: rotate(180deg) translate(0, 20px);
    }
    75% {
        transform: rotate(270deg) translate(25px, -33px);
    }
    100% {
        transform: rotate(360deg) translate(0, 0);
    }
    }

    /* Easy */
    .drops-valencia-easy {
        padding: 50px 30px;
        padding-bottom: 120px;
    }

    .drops-valencia-easy-text {
        font-size: 18px;
        width: unset;
    }

    .drops-valencia-easy-content {
        width: 100%;
        margin-bottom: 0;
    }

    .drops-valencia-easy-cities, .drops-valencia-easy-cities a {
        font-size: 14px;
        line-height: 165%;
        width: 90px;
    }

    .drops-valencia-easy-cities-div {
        flex-direction: column-reverse;
        align-items: end;
        width: 50%;
        margin-top: 100px;
        height: fit-content;
    }

    .drops-valencia-easy-img {
        width: 200px;
    }
 
    .drops-valencia-easy-cities-content-title  {
        font-size: 25px;
        width: 130px;
        text-align: start;
    }

    .drops-valencia-easy-cities-content-text {
        font-size: 15px;
        width: 130px;
    }

    .drops-valencia-easy-cities-content div {
        bottom: -135px;
        right: 36px;
    }

    .linea {
        width: 150%;
        height: 20px;
        object-fit: none;
        object-position: right;
        transform: rotate(-90deg) scale(0.5);
        margin-left: -106px;
        position: absolute;
        margin-top: -85px;
    }

    /* Cultural */
    .drops-valencia-cultural {
        padding: 50px 30px 50px 30px;
    }

    .drops-valencia-cultural-text {
        margin-right: unset; 
    }

    .drops-valencia-cultural .drops-valencia-cultural-text p {
        margin-top: 0;
        font-size: 18px;
        width: 100%;
    }

    .drops-valencia-cultural-content p, .drops-valencia-cultural-content h1 {
        font-size: 15px;
        width: 150px;
    }

    .drops-valencia-easy-cities .valencia-alcala-btn {
        line-height: 100%;
        margin-bottom: 5px;
    }

    .drops-valencia-cultural-content-left {
        margin-right: 12px;
    }

    .drops-valencia-cultural-content {
        width: 100%;
        justify-content: space-between;
    }

    .drops-valencia-cultural-content h1 {
        padding-bottom: 2px;
    }

    .drops-valencia-cultural-content p {
        padding-top: 2px;
    }

    .drops-valencia-cultural-content-left div, .drops-valencia-cultural-content-right div {
        margin-bottom: 20px;
    }

    .hover-item .floating-image {
        opacity: 0;
    }
}