/* Estilos generales */
/* ------------------------------------------------------------------------- */

/* Paleta de colores */

.black {
    color: #1A1A1A;
}

.black_background {
    background-color: #1A1A1A;
}

.white {
    color: white;
}

.white_background {
    background-color: white;
}

.blue {
    color: #45FFF6;
}

.blue_background {
    background-color: #45FFF6;
}

.grey {
    color: #AEAEAE; 
}

.grey_background {
    background-color: #AEAEAE;
}

.dark_grey {
    color: #686868;
}

.dark_grey_background {
    background-color: #686868;
}

.light_grey {
    color: #D9D9D9;
}

.light_grey_background {
    background-color: #D9D9D9;
}

.transparent_grey {
    color: #EDEDED;
}

.transparent_grey_background {
    background-color: #EDEDED;
}

.green {
    color: #C9E265;
}

.red {
    color: rgb(253, 63, 63);
}

.orange {
    color: rgb(255, 136, 0);
}

.yellow {
    color: #FFB927;
}

.pink {
    color: #FF849D;
}

.dark_blue {
    color: #499092;
}

.green_background {
    background-color: #C9E265;
}

/* Fuentes y estilos */

@font-face { /* Poppins regular */
    font-family: Poppins_regular;
    src: url(../fonts/Poppins/Poppins-Regular.ttf);
}

@font-face { /* Poppins semibold */
    font-family: Poppins_semibold;
    src: url(../fonts/Poppins/Poppins-SemiBold.ttf);
}

@font-face { /* Poppins bold */
    font-family: Poppins_bold;
    src: url(../fonts/Poppins/Poppins-Bold.ttf);
    font-weight: bold;
}

@font-face { /* Poppins italic */
    font-family: Poppins_italic;
    src: url(../fonts/Poppins/Poppins-Italic.ttf);
}

@font-face { /* Poppins light */
    font-family: Poppins_light;
    src: url(../fonts/Poppins/Poppins-Light.ttf);
}

@font-face { /* League Spartan regular */
    font-family: League_spartan_regular;
    src: url(../fonts/League_Spartan/static/LeagueSpartan-Regular.ttf);
}

@font-face { /* League Spartan semibold */
    font-family: League_spartan_semibold;
    src: url(../fonts/League_Spartan/static/LeagueSpartan-SemiBold.ttf);
}

@font-face { /* League Spartan bold */
    font-family: League_spartan_bold;
    src: url(../fonts/League_Spartan/static/LeagueSpartan-Bold.ttf);
}

@font-face { /* League spartan light */
    font-family: League_spartan_light;
    src: url(../fonts/League_Spartan/static/LeagueSpartan-Light.ttf);
}

.poppins_regular {
    font-family: 'Poppins_regular', sans-serif;
}

.poppins_semibold {
    font-family: 'Poppins_semibold', sans-serif;
}

.poppins_bold {
    font-family: 'Poppins_bold', sans-serif;
}

.poppins_italic {
    font-family: 'Poppins_italic', sans-serif;
}

.poppins_light {
    font-family: 'Poppins_light', sans-serif;
}

.league_spartan_regular {
    font-family: 'League_spartan_regular', sans-serif;
}

.league_spartan_semibold {
    font-family: 'League_spartan_semibold', sans-serif;
}

.league_spartan_bold {
    font-family: 'League_spartan_bold', sans-serif;
}

.league_spartan_light {
    font-family: 'League_spartan_light', sans-serif;
}

/* Configuración básica */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

body {
    overflow-y: scroll;
}

html, body {
    height: 100%;
    line-height: 1.5;
    font-family: 'Poppins_regular', sans-serif;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* Configuración avanzada */

.selected {
    color: #45FFF6;
}

.off {
    display: none !important;
}

/* CSS común en todas las páginas */
/* ---------------------------------------------------------------------------- */

/* Volver al principio de la página */

#arrow_up {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    margin: 0px 40px 70px 0px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding-bottom: 20px;
    transition: opacity 0.5s ease;
}

#arrow_up img {
    width: 48px;
}

.arrowup {
    opacity: 0;
    transition: opacity 0.5s ease;
}

#arrow_up:hover .arrowup {
    opacity: 1;
}

/* Header */

header {
    width: 100%;
    display: flex;
    background-color: #1A1A1A;
    justify-content: space-evenly;
    align-items: center;
    gap: 1rem;
    padding: 0.2rem 2rem;
}

.header_logo {
    width: 80px;
    margin: 20px 0px;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.header_logo:hover {
    transform: scale(0.97);
}

.hamburguer_size {
    clip-path: circle(150% at top right);
    flex-direction: column;
}

.header_social {
    height: auto;
    display: flex;
    justify-content: center;
}

.logo_social_header img {
    width: 100%;
    max-width: 34px;
    margin: 10px;
    transition: opacity 0.5s ease;
}

.logo_linkedin img:hover, .logo_instagram img:hover {
    opacity: 0.8;
}

.menu_header {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex: 1;
    text-align: center;
}

.nav_link {
    font-family: 'Poppins_regular', sans-serif;
    font-size: 18px;
    text-decoration: none;
}

.nav_link .sign {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav_link.active .sign {
    opacity: 1;
}

/* Overlay menú hamburguesa */

.hamburguer_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    clip-path: circle(0% at top right);
    transition: clip-path 0.6s ease-in-out;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 100px;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem;
    padding-top: 200px;
    box-sizing: border-box;
}

.hamburguer_overlay.activo {
    clip-path: circle(150% at top right);
}

.menu_responsive {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

.menu_responsive a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
}

.menu_responsive a.selected {
    color: #45FFF6;
}

body.menu_abierto {
    overflow: hidden;
    padding-right: 15px;
}

.overlay_logo {
    width: 60px;
    overflow: visible;
    margin: 23px 0px 0px 32px; 
    transition: transform 0.5s ease;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
}

.overlay_logo:hover {
    transform: scale(0.97);
}

.overlay_social {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0px 50px 50px 0px;
    display: flex;
    gap: 20px;
}

.logo_social_overlay img {
    width: 34px;
    transition: opacity 0.4s ease;
}

.hamburguer_menu {
    width: 40px;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

.hamburguer_menu:hover {
    opacity: 0.5;
}

/* Footer */

footer {
    padding: 20px 0px 20px 0px;
    display: flex;
    justify-content: space-around;
    background-color: #D9D9D9;
}

footer p, footer a {
    font-family: 'Poppins_light', sans-serif;
}

footer a:hover {
    text-decoration: underline;
}

.menu_footer {
    width: auto;
    display: flex;
    gap: 20px;
}

/* CSS página principal */
/* ---------------------------------------------------------------------------- */

/* Carousel principal */

#carousel {
    width: 100%;
    height: 650px;
    overflow: hidden;
    display: flex;
    position: relative;
    justify-content: space-around;
    gap: 150px;
    border-bottom: 2px solid #e2e2e2
}

.main_image {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    transition: transform 1s ease;
    height: 90%;
    margin-top: 80px;
    pointer-events: none;
}

.exit_right_img {
    transform: translateX(200%);
}

.static_img {
    transition: transform 1s ease;
    transform: translateX(0%);
}

.exit_left_img {
    transform: translateX(-200%);
}

.menu_category {
    font-size: 42px;
    color: #AEAEAE;
    cursor: pointer;
    height: fit-content;
}

.menu_category:hover {
    text-decoration: overline;
}

#web_design_category {
    margin-top: 200px;
    margin-right: -70px;
}

#video_category {
    margin-top: 300px;
}

.category_selected {
    color: #1A1A1A;
}

/* Sección últimos proyectos */

.last_projects {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 60px 0px 60px 0px;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 1;
    transform: translateY(0px);
}

.animation_exit {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.animation_entry {
    opacity: 1;
    transform: translateY(0px) !important;
    pointer-events: auto;
}

.move_down {
    transform: translateY(20px);
}

.txt_ultimos_proyectos {
    font-size: 40px;
}

.txt_categoria_proyecto {
    font-size: 30px;
    color: #686868;
    margin-bottom: 20px;
}

.projects_box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* Modificar si hay menos de 3 proyectos */
    gap: 24px;
    justify-content: center;
    padding: 0 40px;
    box-sizing: border-box;
    margin: 30px 0;
    overflow: visible;
}

.project_box {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.project_box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.img_frame {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img_frame img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 16px 16px 0 0;
}

.info_project_box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    margin-top: 10px;
    gap: 5px;
}

.project_title {
    font-size: 30px;
    color: #1A1A1A;
    margin: 0;
    font-family: 'League_spartan_regular', sans-serif;
}

.date {
    font-family: 'League_spartan_regular', sans-serif;
    font-size: 20px;
    color: #686868;
    margin: 0;
}

.tag_box {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.tag {
    background-color: #45FFF6;
    color: #1A1A1A;
    font-size: 16px;
    padding: 8px 20px 4px 20px;
    border-radius: 20px;
    font-weight: 500;
    text-transform: uppercase;
    border: 1px solid #EDEDED;
}

.tag p {
    font-family: 'League_spartan_semibold';
}

.small_screen_text {
    display: none;
}

/* CSS sobre mí */
/* ---------------------------------------------------------------------------- */

.centered {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
}

.not_centered {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
}

/* Bloque introductorio */

#introduction_section {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 100px;
    margin-bottom: 130px;
}

#block_about {
    display: flex;
    flex-direction: column;
    width: 50%;
}

#block_about h2 {
    font-family: 'Poppins_light', sans-serif;
    font-size: 100px;
    overflow: hidden;
}

#block_about h3 {
    font-size: 22px;
}

#block_about #title_mg {
    line-height: 1.0;
    margin: 10px 0px 70px 30px;
}

#description_mg {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 80%;
}

#subtitle_description {
    font-size: 18px;
}

#block_image {
    width: 50%;
    height: 800px;
    display: flex;
    border-radius: 20px;
    justify-content: flex-end;
}

#block_image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
    border-radius: 20px;
}

/* Bloque diseño web */

#web_info_section {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 200px;
}

.titles_info {
    display: flex;
    flex-direction: column;
}

.filled_box {
    background-color: #1A1A1A;
    width: 400px;
}

.filled_box h3 {
    font-family: 'League_spartan_light';
    font-size: 40px;
    padding: 8px 0px 5px 40px;
}

.outline_box {
    width: 600px;
    margin-left: 30px;
    border: 2px solid #1A1A1A;
    margin-top: -2px;
}

.outline_box p {
    padding: 12px 30px 12px 30px;
    font-family: 'Poppins_semibold', sans-serif;
    font-size: 16px;
}

.title_programmes {
    margin-left: 40px;
    font-size: 24px;
}

.programmes_and_software {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
}

.programme_box {
    width: 200px;
    height: auto;
    padding: 30px;
    background-color: #1A1A1A;
    border-radius: 20px;
    border-bottom: 10px solid #AEAEAE;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.5s ease, transform 0.5s ease;
    cursor: pointer;
}

.programme_box:hover {
    border-bottom: 10px solid #45FFF6;
    transform: scale(0.99);
}

.programme_box:hover p {
    opacity: 1;
}

.programme_box img {
    width: 60px;
}

.programme_box h3 {
    color: white;
    font-family: 'Poppins_light', sans-serif;
    font-size: 24px;
}

.programme_box p {
    width: fit-content;;
    color: white;
    transition: opacity 0.5s ease;
    font-size: 16px;
    font-family: 'Poppins_light', sans-serif;
    text-underline-offset: 5px;
    opacity: 0;
}

/* Bloque: qué ofrezco (diseño web) */

#web_services_section {
    margin: 0;
    padding: 50px 0px 100px 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #EDEDED;
    position: relative;
    margin-bottom: 200px;
}

.services_section {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.image_services_box {
    width: 40%;
    height: auto;
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
}

#about_image2 {
    position: absolute;
    width: 300px;
    margin-right: 200px;
    bottom: 0;
}

.logo_in_circle {
    position: absolute;
    width: 90px;
    margin-right: 90px;
}

.services_section span {
    color: #AEAEAE;
}

.title_services {
    margin-bottom: 60px;
    font-size: 24px;
    margin-left: 40px;
    padding-top: 20px;
}

.services {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.service_offered {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 30px;
    overflow: visible;
}

.modern_ball {
    border-radius: 100%;
    background-color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #45FFF6;
    font-family: 'Poppins_light', sans-serif;
}

.ball_blank1 {
    width: 60px;
    height: 60px;
    border-left: 5px solid #45FFF6;
    border-bottom: 2px solid #45FFF6;
    margin-top: -10px;
}

.ball_blank2 {
    width: 70px;
    height: 70px;
    border-left: 5px solid #45FFF6;
    border-bottom: 2px solid #45FFF6;
    margin-top: -50px;
    margin-left: 230px;
}

.ball_blank3 {
    width: 40px;
    height: 40px;
    border-left: 3px solid #45FFF6;
    border-bottom: 2px solid #45FFF6;
    margin-left: 20px;
}

.ball_blank4 {
    width: 550px;
    height: 550px;
    border-right: 10px solid #45FFF6;
    border-bottom: 10px solid #45FFF6;
    margin-top: 70px;
}

.ball1 {
    width: 150px;
    height: 150px;
    border-left: 5px solid #45FFF6;
    border-bottom: 2px solid #45FFF6;
    padding-right: 3px;
}

.ball2 {
    width: 200px;
    height: 200px;
    border-left: 5px solid #45FFF6;
    border-bottom: 2px solid #45FFF6;
    padding-right: 3px;
}

.ball3 {
    width: 150px;
    height: 150px;
    border-left: 5px solid #45FFF6;
    border-bottom: 2px solid #45FFF6;
    padding-right: 3px;
}

.ball4 {
    width: 170px;
    height: 170px;
    border-left: 5px solid #45FFF6;
    border-bottom: 2px solid #45FFF6;
    padding-right: 3px;
}

.service2 {
    margin-top: -30px;
    margin-left: 50px;
}

.service3 {
    margin-top: 10px;
}

.service4 {
    margin-top: -20px;
    margin-left: 50px;
}

/* Bloque edición de vídeo */

#logo_filmora {
    border-radius: 10px;
}

#video_info_section {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 200px;
}

#video_services_section {
    margin: 0;
    padding: 50px 0px 100px 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #EDEDED;
    position: relative;
}

.background {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.background::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url("../media/about_image3.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: rotate(-25deg);
    margin-top: 60px;
}

#logo_in_circle2 {
    margin-right: 400px;
    margin-bottom: 120px;
}

/* Call to action - Descubre mis proyectos */

#call_to_action_projects {
    width: 100%;
    height: 400px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#call_to_action_projects::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../media/call_to_action.png");
    background-size: cover;
    background-repeat: none;
    zoom: 500%;
    background-position: top left 20px;
    filter: contrast(30%) brightness(145%);
    z-index: -1;
}

#redirect_projects {
    position: relative;
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: bold;
  font-size: 1.1rem;
  color: #1A1A1A;
  text-decoration: none;
  text-transform: uppercase;
  border: 2px solid #1A1A1A;
  background-color: transparent;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
}

#redirect_projects::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  background-color: #45FFF6;
  z-index: -1;
  transition: height 0.3s ease;
}

#redirect_projects:hover::before {
  height: 100%;
}

#redirect_projects:hover {
  color: #1A1A1A;
}

/* CSS proyectos */
/* ---------------------------------------------------------------------------- */

/* Filtrar y ordenar proyectos */

#projects_main_section {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-top: 100px;
    margin-bottom: 100px;
    justify-content: space-between;
    overflow: visible;
}

#block_title_projects {
    display: flex;
    flex-direction: column;
    width: 50%;
}

#block_title_projects h2 {
    font-family: 'Poppins_light', sans-serif;
    font-size: 100px;
    overflow: hidden;
}

#block_title_projects h3 {
    font-size: 22px;
}

#block_title_projects #title_projects {
    line-height: 1.0;
    margin: 10px 0px 70px 30px;
}

#filters_box {
    display: flex;
    gap: 20px;
    margin-left: 32px;
}

#filters_box button {
    padding: 14px 40px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 20px;
    font-family: 'League_spartan_semibold', sans-serif;
    background-color: white;
    transition: background-color 0.2s ease;
    border: 2px solid #1A1A1A;
}

#filters_box button:hover {
    background-color: #45FFF6;
}

#filters_box button.active {
    background-color: #45FFF6 !important;
}

.order_box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: visible;
    width: 50%;
}

.decoration_lines_box {
    margin: 30px 0px 0px 0px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}

.decoration_lines_box hr {
    height: 10px;
    border-radius: 10px 0px 0px 10px;
    border: none;
    background-color: #1A1A1A;
}

.decoration_lines_box .long_line {
    width: 100%;
}

.decoration_lines_box .medium_line {
    width: 85%;
    background-color: #45FFF6;
}

.decoration_lines_box .short_line {
    width: 65%;
}

#order_by {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    overflow: visible;
    margin-top: 100px;
}

#order_by p {
    padding-top: 10px;
}

#accordion_buttons {
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.accordion_button {
    display: flex;
    align-items: center;
    gap: 20px;
    border: 2px solid #1A1A1A;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease,;
    order: 2;
}

.accordion_button img {
    display: none;
}

.accordion_button.order_selected {
    order: 1;
}

.accordion_button.order_selected img {
    display: block;
    width: 16px;
    transform: rotate(-90deg);
}

.accordion_button:not(.order_selected) {
    opacity: 0;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.4s ease-in-out, max-height 0.6s ease;
}

#accordion_buttons.open .accordion_button:not(.order_selected) {
    opacity: 1;
    pointer-events: auto;
    max-height: 100px;
    transform: translateY(0);
    border-top: none;
}

#accordion_buttons.open .accordion_button:not(.order_selected):hover {
    background-color: #45FFF6;
}

.accordion_button .arrow_accordion {
    transition: transform 0.3s ease;
    display: none;
}

.accordion_button.order_selected h4 {
    font-family: 'Poppins_regular', sans-serif;
}

.accordion_button:not(.order_selected) h4 {
    font-family: 'Poppins_light', sans-serif;
}

.accordion_button.order_selected .arrow_accordion {
    display: inline-block;
}

#accordion_buttons.open .accordion_button.order_selected .arrow_accordion {
    transform: rotate(0deg);
}

/* Proyectos esquema */

#projects {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

#projects h3 {
    font-family: 'League_spartan_light', sans-serif;
    font-size: 24px;
}

#projects_schema {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    max-width: 1400px;
    box-sizing: border-box;
    overflow: visible;
    margin-bottom: 100px;
}

.project_box {
    max-width: 450px;
}

/* CSS currículum */
/* ---------------------------------------------------------------------------- */

#curriculum_section {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-top: 100px;
    margin-bottom: 100px;
    justify-content: space-between;
    overflow: visible;
}

#block_title_curriculum {
    display: flex;
    flex-direction: column;
    width: 50%;
}

#block_title_curriculum h2 {
    font-family: 'Poppins_light', sans-serif;
    font-size: 100px;
    overflow: hidden;
}

#block_title_curriculum h3 {
    font-size: 22px;
}

#block_title_curriculum #title_curriculum {
    line-height: 1.0;
    margin: 10px 0px 70px 30px;
}

#curriculum_main {
    display: flex;
    flex-direction: column;
    margin-bottom: 150px;
}

.guided {
    position: relative;
}

.cv_blocks {
    gap: 100px;
    display: flex;
    flex-direction: column;
}

.cv_block_title {
    color: #45FFF6;
    font-size: 60px;
    font-family: 'League_spartan_light', sans-serif;
    padding-bottom: 30px;
}

.cv_list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.cv_list li div {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 30px;
    margin-bottom: 20px;
}

.cv_list li h4 {
    font-size: 24px;
    font-family: 'Poppins_bold', sans-serif;
}

.cv_list li h5 {
    font-size: 20px;
    font-family: 'Poppins_light', sans-serif;
    padding-bottom: 16px;
    color: #686868;
}

.cv_list li span {
    font-size: 20px;
    font-family: 'Poppins_semibold', sans-serif;
    color: #686868;
    text-align: left;
}

.cv_list p {
    font-size: 18px !important;
    line-height: 1.8;
    width: 60%;
    min-width: 920px;
}

.cursive {
    font-family: 'Poppins_italic', sans-serif !important;
    font-size: 18px !important;
}

.cv_tags {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cv_boxes {
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.cv_tags li {
    font-size: 20px;
    font-family: 'Poppins_semibold', sans-serif;
    color: #1A1A1A;
    position: relative;
    padding-left: 22px;
}

.cv_tags li::before {
  content: "·";
  position: absolute;
  left: 0;
}

#download_cv {
    position: absolute;
    right: 0;
    top: 0;
    border: 2px solid #45FFF6;
    padding: 30px 50px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 280px;
}

#download_cv h4 {
    font-size: 20px;
    font-family: 'Poppins_regular', sans-serif;
}

#download_cv a {
    background-color: #45FFF6;
    border: none;
    padding: 12px 24px;
    border-radius: 14px;
    font-size: 16px;
    font-family: 'Poppins_semibold', sans-serif;
    width: fit-content;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

#txt_descargar {
    transform: translateX(8px);
    transition: transform 0.3s ease;
}

#download_cv a:hover {
    background-color: white;
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.20);
}

#download_cv a:hover #txt_descargar {
    transform: translateX(0px);
}

#download_cv a img {
    width: 12px;
    transform: translateY(-40px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

#download_cv a:hover img {
    transform: translateY(0px);
    opacity: 1;
}

.text_link {
    text-decoration: underline;
    transition: color 0.3s ease;
}

.text_link:hover {
    color: #1A1A1A;
}

#programmes_columns {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 100px;
}

.programmes_column {
    display: flex;
    flex-direction: column;
}

.programmes_column ul {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 200px;
}

.programmes_column h4 {
    font-size: 24px;
    font-family: 'Poppins_bold', sans-serif;
}

.programmes_column li {
    font-size: 18px;
}

/* CSS contacto */
/* ---------------------------------------------------------------------------- */

#contact_section {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-top: 100px;
    margin-bottom: 30px;
    justify-content: space-between;
    overflow: visible;
}

#block_title_contact {
    display: flex;
    flex-direction: column;
    width: 50%;
}

#block_title_contact h2 {
    font-family: 'Poppins_light', sans-serif;
    font-size: 100px;
    overflow: hidden;
}

#block_title_contact h3 {
    font-size: 22px;
}

#block_title_contact #title_contact {
    line-height: 1.0;
    margin: 10px 0px 0px 30px;
}

#contact_main {
    display: flex;
    flex-direction: column;
    margin-bottom: 150px;
}

#contact_main h3 {
    font-size: 18px;
}

#contact_form {
    width: 90%;
    height: auto;
    max-width: 1000px;
    background-color: #D9D9D9;
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    margin-top: 100px;
    min-width: 660px;
}

#contact_form input, #contact_form textarea {
    border-radius: 10px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #AEAEAE;
    background: #fff;
    color: #1A1A1A;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
    font-family: 'Poppins_semibold', sans-serif;
}

#contact_form textarea::placeholder, #contact_form input::placeholder {
    font-family: 'Poppins_regular', sans-serif;
    color: #686868;
}

#contact_form textarea:focus, #contact_form input:focus {
    border-color: #45FFF6;
    box-shadow: 0 0 0 3px rgba(69,255,246,0.2);
}

.error{
  min-height: 18px;
  font-size: 0.85rem;
  color: #d45a5a;
}

.form_box {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.form_row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

#cf_submit{
  align-self: start;
  background-color: #686868;
  color: white;
  border: 2px solid transparent;
  padding: 12px 60px;
  border-radius: 10px;
  font-size: 16px;
  font-family: 'Poppins_semibold', system-ui, sans-serif;
  width: fit-content;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color .3s ease, box-shadow .3s ease, transform .2s ease;
  align-self: flex-end;
}

#cf_submit:hover{
  background-color: transparent;
  border: 2px solid #1A1A1A;
  color: #1A1A1A;
}

#cf_submit:active{
  transform: translateY(1px);
}

#cf_submit:disabled{
  opacity: 0.6;
  cursor: not-allowed;
}

.form_feedback{
  min-height: 20px;
  color: #1A1A1A;
  margin-top: 6px;
}

#contact_main_row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
}

#logo_black_big {
    width: 890px;
    height: auto;
}

/* CSS new horizons */
/* ---------------------------------------------------------------------------- */

.black_background {
    background-color: #1A1A1A;
}

.background_project {
    width: 100%;
}

.vrs2 {
    opacity: 0.4;
    height: min-content;
    object-fit: cover;
}

#header_horizons {
    background-image: url("../media/fondo_horizons.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.header_project {
    width: 100%;
    position: relative;
    padding: 200px 0px 300px 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.flex_box_project {
    display: flex;
    align-items: center;
    gap: 100px;
    overflow: visible;
}

.back_arrow {
    width: 30px;
    transition: transform 0.5s;
    cursor: pointer;
}

.back_arrow:hover {
    transform: translateX(-10px);
}

.content_project {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: none;
    height: auto;
    padding-bottom: 300px;
}

.section_content {
    width: 1100px;
    margin-left: 200px;
}

.titles_project {
    width: 800px;
}

.main_project_titles {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: fit-content;
    margin: auto;
}

.tags_box {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    z-index: 20;
    margin-bottom: -40px;
}

.tags_box div {
    border-radius: 30px;
    border: 2px solid white;
    padding: 5px 20px;
}

.tags_box div h3 {
    color: white;
    font-size: 20px;
    font-family: 'Poppins_light', sans-serif;
}

.buttons_project {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: auto;
    margin-top: 100px;
    
}

.buttons_project button {
    background: none;
    border: 2px solid white;
    padding: 10px 80px;
    color: white;
    font-family: 'Poppins_regular', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.buttons_project button:hover {
    background-color: white;
    color: #1A1A1A;
}

.inline_buttons {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.objective_project {
    margin-top: 150px;
}

.title_content_project {
    font-family: 'Poppins_regular', sans-serif;
    font-size: 18px;
    padding-bottom: 50px;
}

.text_content_project {
    color: white;
}

.wprocess_project div {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.wprocess_project div h2 {
    font-size: 36px;
    color: white;
    overflow: visible;
}

.section_content {
    margin-bottom: 140px;
}

.column_transform {
    display: flex;
    flex-direction: column;
}

.studies_done {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.studies_done div {
    padding: 10px 30px;
    border: 1px solid white;
}

.studies_done div h3 {
    color: white;
    font-size: 16px;
    font-family: 'Poppins_regular', sans-serif;
}

.point_order {
    margin-bottom: 100px;
}

#point_order2 {
    margin-top: 200px !important;
}

#point_order4 {
    margin-bottom: 0px;
}

.programmes_software {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.programmes_software div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.programmes_software div img {
    width: 80px;
}

.programmes_software div h4 {
    color: white;
    font-size: 16px;
    font-family: 'Poppins_light', sans-serif;
}

#logo_love_img {
    width: 90px;
}

.gallery_pics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 1400px;
    object-fit: cover;
    gap: 30px;
    width: 100%;
}

.gallery_pics div {
    position: relative;
    cursor: pointer;
}

.screenshot {
    width: 100%;
    border-radius: 10px;
    transition: filter 0.3s;
}

.gallery_pics div:hover .screenshot {
    filter: brightness(20%);
}

.gallery_pics div:hover .eye_icon {
    opacity: 1;
}

.eye_icon {
    position: absolute;
    z-index: 10;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.button_access_web {
    background: none;
    border: 2px solid white;
    padding: 10px 80px;
    color: white;
    font-family: 'Poppins_regular', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin-left: 200px;
}

.button_access_web:hover {
    background-color: white;
    color: #1A1A1A;
}

#content_nh {
    background-image: url("../media/fondo_horizons2.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-blend-mode: color-burn;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: opacity 0.3s;
}

.close:hover {
    opacity: 0.6;
}

/* CSS Llibreria Xàtiva */
/* ---------------------------------------------------------------------------- */

#header_llibreria_xativa {
    background-image: url("../media/llibreria_xativa1.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#content_lx {
    background-image: url("../media/llibreria_xativa4.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* CSS Festival Literari de Carcaixent */
/* ---------------------------------------------------------------------------- */

#header_festival_carcaixent {
    background-image: url("../media/gallery_fc2.jpg");
    background-repeat: no-repeat;
    background-position: center 80%;
    background-size: cover;
}

#content_fc {
    background-image: url("../media/gallery_fc1.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#titles_carcaixent {
    width: 550px;
}

#content_fc p, #content_fc h3, #content_fc h2, #programmes_carcaixent h4, .btn_carcaixent {
    color: #1A1A1A !important;
}

.btn_carcaixent, #studies_carcaixent div {
    border-color: #1A1A1A !important;
}

/* CSS Visual Studio */
/* ---------------------------------------------------------------------------- */

#header_visual_studio {
    background-image: url("../media/fondo_vs1.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding: 200px 0px 200px 200px;
}

#content_vs {
    background-image: url("../media/background_vs.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#logo_vs {
    width: 500px !important;
}

#tags_box_visual {
    align-self: flex-start;
}

#tags_box_visual div {
    border-color: #1A1A1A;
}

#tags_box_visual h3 {
    color: #1A1A1A;
}

#buttons_visual button {
    color: #1A1A1A;
    border-color: #FF849D;
    background-color: white;
}

#buttons_visual button:hover, .btn_visual:hover {
    background-color: #ffe5ea;
    color: #1A1A1A;
}

#content_vs p, #content_vs h2, #studies_vs div h3 {
    color: #1A1A1A !important;
}

#studies_vs div, .btn_visual {
    border-color: #FF849D;
}

#programmes_vs div h4, .btn_visual {
    color: #1A1A1A;
}

/* CSS Ludofy */
/* ---------------------------------------------------------------------------- */

#header_ludofy {
    background-image: url("../media/ludofy_background.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    padding: 200px 0px 200px 200px;
}

#content_ludo {
    background-color: #ffe4ce;
}

#tags_box_ludofy div {
    border-color: #1A1A1A;
}

#tags_box_ludofy h3 {
    color: #1A1A1A;
}

#buttons_ludofy button, .btn_ludofy {
    color: #1A1A1A;
    border-color: #efb07d;
    background-color: white;
}

#buttons_ludofy button:hover, .btn_ludofy:hover {
    background-color: #efb07d;
}

#content_ludo p, #content_ludo h2, #studies_ludo div h3 {
    color: #1A1A1A !important;
}

#studies_ludo div {
    border-color: #1A1A1A;
}

#programmes_ludofy div h4 {
    color: #1A1A1A;
}

/* CSS Skill Swap */
/* ---------------------------------------------------------------------------- */

#header_skill {
    background-image: url("../media/fondo_skill.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 200px 0px 200px 200px;
}

#content_skill {
    background-color: #d2e6e7;
}

#tags_box_skill div {
    border-color: #1A1A1A;
}

#tags_box_skill h3 {
    color: #1A1A1A;
}

#buttons_skill button, .btn_skill {
    color: #1A1A1A;
    border-color: #43979a;
    background-color: white;
}

#buttons_skill button:hover, .btn_skill:hover {
    background-color: #43979a;
    color: white;
}

#content_skill p, #content_skill h2, #studies_skill div h3 {
    color: #1A1A1A !important;
}

#studies_skill div, #ranks div {
    border-color: #1A1A1A;
}

#programmes_skill div h4 {
    color: #1A1A1A;
}

#ranks {
    max-width: 700px;
}

#ranks div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 200px;
    height: 200px;
}

#ranks div img {
    max-width: 100px;
}

#ranks div h3 {
    color: #1A1A1A;
}

/* CSS Mg */
/* ---------------------------------------------------------------------------- */

#header_mg {
    background-image: url("../media/background_mg.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    padding: 200px 0px 200px 200px;
}

#titles_mg2 {
    display: none;
}

#content_mg {
    background-color: #1A1A1A;
}

#tags_box_mg div {
    border-color: #1A1A1A;
}

#tags_box_mg h3 {
    color: #1A1A1A;
}

#buttons_mg button, .btn_mg {
    color: #1A1A1A;
    border-color: #1A1A1A;
    background-color: white;
}

#buttons_mg button:hover, .btn_mg:hover {
    background-color: #1A1A1A;
    color: #45FFF6;
    box-shadow: 0 6px 16px rgba(69, 255, 246, 0.5);
}

#studies_mg div {
    border-color: #45FFF6;
}

#programmes_mg div h4 {
    color: white;
}


/* Media Queries */
/* ---------------------------------------------------------------------------- */

@media (hover: none) {
    #filters_box button:hover {
        background-color: white;
    }

    .arrowup {
        display: none;
    }
}

@media (max-width: 350px) { /* Móviles muy pequeños */

    /* Página principal */

    .project_box {
        min-width: 280px !important;
        height: auto;
    }

    /* Sobre mí */

    .service_offered {
        margin-left: 0px;
        gap: 10px;
    }

    .service_offered h3 {
        font-size: 16px;
    }

    .ball_blank2 {
        margin-bottom: 400px;
    }

    .service3 {
        margin-bottom: 20px;
    }

}

@media (min-width: 351px) and (max-width: 400px) {

    /* Esquema proyectos */

    .project_box {
        min-width: 300px !important;
    }

    /* Página currículum */

    #order_box_cv {
        margin-top: 140px !important;
    }

    /* New Horizons */

    .buttons_project {
        margin-top: 70px !important;
    }

    /* Festival Carcaixent */

    #header_festival_carcaixent {
        padding-top: 100px !important;
    }

}

@media (max-width: 500px) { /* Móviles pequeños */

    /* Página principal */

    .img_frame img {
        height: 250px;
    }

    .hamburguer_overlay {
        padding-top: 120px;
    }

    .menu_responsive {
        gap: 50px;
    }

    .project_box {
        min-width: 320px;
    }

    /* Sobre mí */

    .programmes_and_software {
        display: grid;
        grid-template-columns: 1fr !important;
    }

    .programme_box {
        width: 80% !important;
    }

    .separador_ofrezco {
        display: block !important;
    }

    #title_mg h2 {
        font-size: 65px !important;
    }

    #title_projects h2 {
        font-size: 42px !important;
    }

    #sep_description_mg {
        display: block !important;
    }

    .filled_box h3 {
        font-size: 32px;
    }

    .ball_blank1 {
        margin-top: 10px;
    }

    .ball_blank2 {
        margin-bottom: 40px;
    }

    .service3, .service4 {
        margin-top: 20px;
    }

    .ball1 {
        width: 180px;
    }

    .ball2 {
        width: 180px;
    }

    .ball3 {
        width: 160px;
    }

    .ball4 {
        width: 200px;
    }

    /* Página proyectos */

    #block_title_projects h3 {
        font-size: 16px !important;
    }

    .decoration_lines_box {
        gap: 10px;
    }

    .decoration_lines_box hr {
        height: 7px;
    }

    .centered {
        width: 85%;
    }

    /* Página currículum */

    #block_title_curriculum h3 {
        font-size: 16px !important;
    }

    #download_cv {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    #order_box_cv {
        margin-top: 110px !important;
    }

    .cv_block_title {
        font-size: 45px;
    }

    .cv_list h4, .programmes_column h4 {
        font-size: 22px !important;
    }

    .programmes_column li, .cv_block li {
        font-size: 18px !important;
    }

    /* Página contacto */

    #title_contact h2 {
        font-size: 46px !important;
    }

    #contact_form {
        width: 100%;
    }

    /* New Horizons */

    #header_horizons {
        background-image: url("../media/fondo_horizons_mobile.png");
        background-position: right 35% center !important;
    }

    .inline_buttons {
        flex-direction: column;
    }

    .header_project {
        padding-top: 100px;
    }

    .tags_box {
        margin-bottom: 0px !important;
    }

    .buttons_project {
        margin-top: 100px;
    }

    .button_access_web, .buttons_project div button {
        padding: 10px 40px;
    }

    /* Genérico proyectos */

    .box_filmora {
        align-items: flex-start !important;
    }

    /* Genérico todas las páginas */

    #arrow_up img {
        width: 35px;
    }

    .back_arrow {
        width: 20px !important;
    }

    .overlay_social {
        margin-bottom: 70px;
    }
}


@media (max-width: 580px) {

    /* Página principal */

    .project_box {
        margin: 0 !important;
        width: 85% !important;
    }

    .txt_ultimos_proyectos, .txt_categoria_proyecto {
        align-self: flex-start;
        margin-left: 50px;
    }

    .small_screen_text {
        display: block;
    }

    .big_screen_text {
        display: none;
    }

    /* Sobre mí */

    .service2 {
        margin-left: 0px;
    }

    .title_services {
        font-size: 22px;
    }

    .title_services span {
        font-size: 20px;
    }

    .ball_blank2 {
        margin-left: 180px;
    }

    /* Proyectos */

    #filters_box {
        gap: 10px;
        display: flex;
        flex-wrap: wrap;
    }

    #filters_box button {
        padding: 10px 30px;
        font-size: 18px;
    }

    /* Página currículum */

    .cv_block_title {
        font-size: 40px;
    }

    .cv_list h4 {
        font-size: 20px !important;
    }

    /* New Horizons */

    #header_horizons, #header_llibreria_xativa, #header_festival_carcaixent, #header_visual_studio {
        padding-top: 130px;
    }

}

@media (max-width: 650px) {

    /* Proyectos */

    #title_projects h2 {
        font-size: 60px;
    }

    #filters_box button {
        padding: 10px 30px;
    }

    /* Currículum */

    .programmes_column ul li {
        font-size: 20px;
    }

    /* Visual Studio */

    #logo_vs {
        width: 100% !important;
    }
}

@media (max-width: 767px) { /* Móviles medianos */
    
    /* Página inicio */

    #carousel {
        height: 100vw;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .menu_category {
        font-size: 6vw !important;
    }

    /* Sobre mí */

    #title_mg h2 {
        font-size: clamp(5rem, 12vw, 10rem);
    }

    #block_image {
        background-position: center right;
    }

    .ball1, .ball2, .ball3, .ball4 {
        aspect-ratio: 1 / 1;
        height: auto;
    }

    /* Proyectos */

    #shown_projects {
        font-size: 1.4rem !important;
    }

    /* Currículum */

    #block_title_curriculum h3, #block_title_contact h3 {
        font-size: 20px;
    }

    #title_curriculum h2, #title_contact h2 {
        font-size: 11vw;
    }

    #download_cv {
        margin-top: 260px !important;
    }

    #download_cv a {
        overflow: visible;
    }

    #download_cv h4 {
        font-size: 16px !important;
    }

    .cv_list li p, .cv_block_title {
        text-align: left !important;
    }

    .cv_block_title {
        line-height: 1.1;
    }

    /* Página de proyecto */

    .content_project {
        padding-left: 60px !important;
        padding-right: 60px !important;
    }

    .not_active_br {
        display: block !important;
    }
}

@media (max-width: 813px) {

    /* Página inicio */

    .projects_box {
        grid-template-columns: repeat(1, 1fr);
        width: 100%;
        gap: 50px;
    }

    .project_box {
        max-width: initial;
        width: 70%;
    }
}

@media (min-width: 541px) and (max-width: 849px) {

    /* Página currículum */

    .cv_block_title {
        font-size: 46px;
    }

    #title_curriculum h2 {
        font-size: 72px !important;
    }

    /* Festival Carcaixent */

    #header_festival_carcaixent {
        padding-top: 100px;
    }
}

@media (max-width: 850px) {

    /* Footer */

    footer {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 30px 50px;
    }

    .menu_footer {
        flex-wrap: wrap;
        justify-content: center;
        
    }

    /* Sobre mí */

    .outline_box {
        width: auto;
    }

    .programmes_and_software {
        display: grid;
        grid-template-columns: auto auto;
    }

    .programme_box {
        width: auto;
    }
}

@media (max-width: 865px) {

    /* Proyectos */

    .order_box {
        flex-direction: column !important;
    }

    .decoration_lines_box {
        width: 90% !important;
    }

    /* Página de contacto */

    #logo_black_big {
        width: 80vw !important;
    }

    #jump_line {
        display: none;
    }

    /* Página de proyecto */
    
    .programmes_software div img {
        width: 60px;
    }

    #visual_studio_code {
        width: 100px;
        text-align: center;
    }
}

@media (min-width: 651px) and (max-width: 865px) {

    /* Proyectos */

    #title_projects h2 {
        font-size: 80px;
    }
}

@media (max-width: 991px) { /* Tablets */

    /* Header */

    header {
        justify-content: space-between;
    }
    
    .menu_header {
        display: none;
    }

    .header_social {
        display: none;
    }

    .hamburguer_box {
        display: block !important;
        z-index: 100;
        position: relative;
    }

    /* Sobre mí */

    .image_services_box {
        display: none;
    }

    .services_section {
        width: 80% !important;
    }

    /* Página proyecto */

    .titles_project {
        width: 100% !important;
    }

    .block_header_project {
        width: 80%;
    }

    .tags_box {
        margin-bottom: -10px;
    }

    .tags_box div h3 {
        font-size: 16px !important;
    }

    .flex_box_project {
        gap: 5%;
    }

    .back_arrow {
        position: absolute;
        top: 0;
        margin-top: 50px;
        width: 26px;
    }

    .buttons_project button {
        padding: 10px 30px;
    }

    #header_horizons {
        background-position: 60% center;
    }
}

@media (max-width: 1199px) { /* Ordenadores pequeños y tablets horizontales */

    /* Header */

    .nav_link {
        font-size: 16px;
    }

    #header_logo {
        width: 60px;
    }

    .logo_social_header img {
        width: 28px;
    }

    /* Página inicio */

    .main_image {
        left: auto;
        right: auto;
    }

    /* Proyectos */

    #projects_main_section, #curriculum_section, #contact_section {
        flex-direction: column;
    }

    #block_title_projects, #block_title_curriculum {
        width: 100% !important;
    }

    .order_box {
        width: 100% !important;
        flex-direction: row;
    }

    .decoration_lines_box {
        align-items: flex-start;
        width: 45%;
        margin-top: 60px;
    }

    .decoration_lines_box hr {
        border-radius: 0px 10px 10px 0px;
    }

    #order_by {
        justify-content: flex-start;
    }

    /* Currículum */

    .cv_list p {
        width: 100%;
        min-width: auto;
    }

    .cv_list h4, .cv_list span {
        text-align: start;
    }

    .cv_list div {
        flex-direction: column !important;
    }

    .cv_list li div span {
        color: #AEAEAE !important;
    }

    .cv_list li div span::before {
        content: '<';
    }

    .cv_list li div span::after {
        content: '>';
    }

    #order_box_cv {
        margin-top: 80px;
        width: 60% !important;
    }

    #curriculum_section, #contact_section {
        margin-bottom: 50px;
    }

    /* Página de contacto */

    #logo_black_big {
        width: 500px;
    }

    #contact_lines {
        margin-top: 0px;
    }

    #order_box_contact {
        width: 60% !important;
    }

    #block_title_contact {
        margin-bottom: 70px;
    }

    /* Visual Studio */

    #block_header_visual {
        margin: auto !important;
    }
    
}

@media (min-width: 768px) and (max-width: 1199px) {

    /*  Proyectos */

    #shown_projects {
        font-size: 22px;
    }

    /* Currículum */

    #title_curriculum h2, #title_contact h2 {
        font-size: 90px;
    }
}

@media (min-width: 800px) and (max-width: 1199px) {

    /* Proyectos */

    #title_projects h2 {
        font-size: 100px;
    }
}

@media (min-width: 814px) and (max-width: 1199px) {

    /* Página inicio */

    .projects_box {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 821px) and (max-width: 1199px) and (max-height: 600px) {  /* Nest Hub */

    /* New Horizons */

    #header_horizons, #header_llibreria_xativa, #header_visual_studio {
        padding-top: 50px;
    }

    /* Festival Carcaixent */

    #header_festival_carcaixent {
        padding-top: 30px;
    }

    /* Visual Studio */

    #logo_vs {
        width: 400px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1281px) and (max-height: 800px) {  /* Nest Hub Max */

    /* Festival Carcaixent */

    #header_festival_carcaixent {
        padding-top: 50px;
    }

    /* llibreria Xàtiva */

    #header_llibreria_xativa {
        padding-top: 130px;
    }

    /* Visual Studio */

    #header_visual_studio {
        padding-top: 90px;
    }
}

@media (min-width: 1200px) and (max-width: 1350px) {

    /* Proyectos */

    #title_projects h2 {
        font-size: 80px;
    }

    /* New Horizons */

    #header_horizons {
        padding-top: 150px;
        padding-right: 300px;
    }
}

@media (max-width: 1300px) {

    /* Página de contacto */

    #contact_form {
        max-width: 500px;
        min-width: auto;
        background-color: #d9d9d9f1;
    }
    
    .form_box {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }

    #logo_black_big {
        display: none;
    }

    /* Proyecto Ludofy */

    #header_ludofy {
        background-image: url("../media/ludofy_background2.png");
    }
}

@media (max-width: 1500px) {

    /* Página inicio */

    #web_design_category, #video_category {
        margin: 0px 0px 50px 0px;
    }

    .menu_category {
        font-size: 40px;
    }

    #carousel {
        margin-top: 70px;
        justify-content: center;
        gap: 50px;
    }

    /* Sobre mí */

    #introduction_section {
        flex-direction: column;
    }

    #title_mg {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 30px;
        row-gap: 5px;
        margin-bottom: 40px !important;
    }

    #sep_description_mg {
        display: none;
    }

    #block_about {
        width: 100%;
    }

    #description_mg {
        width: 100%;
    }

    #subtitle_description {
        margin-bottom: 20px;
    }

    #block_image {
        width: 100%;
        justify-content: center;
        height: 600px;
        background-image: url("../media/about_image.jpg");
        background-position: center 90px right 100px; 
        background-repeat: no-repeat;
        background-size: cover;
        margin-top: 100px; 
    }

    #block_image img {
        display: none;
    }

    .ball_blank4 {
        display: none;
    }

    .services_section {
        width: 70%;
    }

    .image_services_box {
        width: 10%;
    }

    #about_image2 {
        right: 0;
        margin-right: 100px;
        width: 300px;
    }

    /* Proyectos */

    #block_title_projects {
        width: 60%;
    }

    .order_box {
        width: 40%;
    }

    /* Currículum */

    #order_box_cv, #order_box_contact {
        width: 25%;
    }

    #block_title_curriculum {
        width: 75%;
    }

    #download_cv {
        flex-direction: row;
        padding: 10px 30px;
        align-items: center;
        left: 0;
        right: auto;
        margin-top: 310px;
    }

    #download_cv h4 {
        font-size: 18px;
    }

    #curriculum_main {
        margin-top: 30px;
    }

    /* Página de contacto */

    #block_title_contact {
        width: 100%;
    }

    /* Página de proyecto */

    .titles_project {
        width: 600px;
    }

    .tags_box div h3 {
        font-size: 18px;
    }

    .block_header_project {
        margin: auto;
    }

    #block_header_visual {
        margin-left: 200px;
    }

    .header_project {
        padding-left: 0px !important;
    }

    .section_content {
        width: 100%;
        margin-left: 0px;
    }

    .content_project {
        padding-left: 150px;
        padding-right: 150px;
    }

    .button_access_web {
        margin: 0;
    }
}

@media (max-width: 1650px) {

    /* Skill Swap */

    #header_skill {
        background-image: url("../media/fondo_skill2.png") !important;
    }
}

@media (min-width: 1501px) and (max-width: 1700px) {

    /* Página de inicio */

    #carousel {
        justify-content: space-between;
        padding: 0px 100px 0px 100px;
    }

    /* Proyectos */

    #block_title_projects, #block_title_curriculum, #block_title_contact {
        width: 60%;
    }

    .order_box {
        width: 40%;
    }
}

@media (min-width: 1701px) and (max-width: 2000px) { 

    /* Página de inicio */

    #carousel {
        justify-content: space-between;
        padding: 0px 200px 0px 200px;
    }
}

@media (max-width: 1800px) {

    /* Proyecto Mg */

    #titles_mg1 {
        display: none;
    }

    #titles_mg2 {
        display: block;
    }

    #header_mg {
        background-image: url("../media/background_mg2.png");
    }

    #buttons_mg button, .btn_mg {
        border: none;
    }

    #tags_box_mg div {
        border-color: white;
    }

    #tags_box_mg div h3 {
        color: white;
    }
}

@media (min-width: 1700px) {

    /* New Horizons */

    #header_horizons {
        background-image: url("/media/fondo_horizons_bright.jpg") !important;
    }
}
