/* styles.css */
body {
    margin: 0; /* Reset default margin */
    padding: 0; /* Reset default padding */
    background: url("../Images/cos_background.png") no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    font-family: Arial, sans-serif; /* Optional: Set a default font family */
}

header {
    background-color: rgba(0, 0, 0, 0);
    padding: 20px 0;
}


nav {
    display: flex;
    justify-content: space-between;
    font-family: 'monospace', sans-serif;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.logo img {
    width: 12rem; /* Ajusta el tamaño según tu logo */
    height: 13rem;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-right: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffc107; /* Cambia el color al pasar el ratón */
}

.login-btn a {
    text-decoration: none;
    background-color: #ffc107;
    color: #333;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.login-btn a:hover {
    background-color: #ffdb58; /* Cambia el color al pasar el ratón */
}


/* styles.css */

/* Añadimos estilos para el menú desplegable */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #10234b;
    min-width: 120px;
    z-index: 1;
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* styles.css */

.hero {
    position: relative;
    overflow: hidden;
    height: 75vh;
    background: linear-gradient(to right, rgba(4, 33, 80, 1), rgba(255, 255, 255, 0)); /* Adjust the gradient as needed */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 50%; /* Position the video from the center */
    transform: translateX(-50%); /* Center the video horizontally */
    width: auto; /* Let the width scale automatically */
    height: 100%; /* Ensure the video covers the entire height of the hero section */
    z-index: -1;
    min-width: 100%;
    min-height: 100%;
    filter:opacity(50%);
    object-fit: cover; /* Maintain aspect ratio and cover entire container */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Adjust the width of the overlay as needed */
    height: 100%; /* Ensure the overlay covers the entire height of the hero section */
    /*background: linear-gradient(to right, rgba(6, 53, 114, 1), rgba(0, 0, 0, 0)); /* Adjust the gradient as needed */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fffefe;
    text-align: left; /* Align text to the left */
    padding: 100px 20px; /* Add padding to the sides */
    margin-top: 60px; /* Adjust this value to create desired space */
    margin-left: 50px;
    /*background: linear-gradient(to right, rgba(6, 53, 114, 1), rgba(6, 53, 114, 0)); /* Adjust the gradient as needed */
    width: 50%;
}

.hero-content h1 {
    font-size: 6.2vw;
    font-family: 'Algeria', sans-serif;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Custom button starts here */
.wrapper {
    display: flex;
    justify-content: left;
  }
  
.additional {
    justify-content: center;
}

.cta {
    display: flex;
    padding: 10px 45px;
    text-decoration: none;
    font-family: 'monospace', sans-serif;
    font-size: 40px;
    color: rgb(0, 0, 0);
    background: #ffc107;
    transition: 1s;
    box-shadow: 6px 6px 0 black;
    transform: skewX(-15deg);
}
  
.cta:focus {
    outline: none; 
}
  
.cta:hover {
    transition: 0.5s;
    box-shadow: 10px 10px 0 #ffffff;
    background: #ffdb58;
}
  
.cta span:nth-child(2) {
    transition: 0.5s;
    margin-right: 0px;
}
  
.cta:hover  span:nth-child(2) {
    transition: 0.5s;
    margin-right: 45px;
}
  
span {
    transform: skewX(15deg) 
}
  
span:nth-child(2) {
    width: 20px;
    margin-left: 30px;
    position: relative;
    top: 12%;
}
    
path.one {
    transition: 0.4s;
    transform: translateX(-60%);
}
  
path.two {
    transition: 0.5s;
    transform: translateX(-30%);
}
  
.cta:hover path.three {
    animation: color_anim 1s infinite 0.2s;
}
  
.cta:hover path.one {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.6s;
}
  
.cta:hover path.two {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.4s;
}

.content-section {
    padding: 50px 0;
    background-image: url('path/to/your/background-image.jpg');
    background-size: cover;
    background-position: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.card {
    display: flex;
    flex-direction: row;
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Box shadow for the card */
    overflow: hidden;
}

.text {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center the text */
}

.text h2,
.text p {
    margin: 0;
}

.image {
    flex: 1;
    padding: 20px;
}

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

.header-gen{
    font-size: 6.2vw;
    font-family: 'Algeria', sans-serif;
    margin-bottom: 20px;
}

.text-gen{
    font-family: 'monospace', sans-serif;
    font-size: 2.2vw;
}

.announcement-section {
    padding: 50px 0;
}

.container-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.cards-stack {
    width: calc(33.33% - 20px);
    background-color: #fff; /* Background color for the card */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Box shadow for the card */
    overflow: hidden;
}

.cards-stack img {
    width: 100%;
    height: auto;
}

.cards-stack h2 {
    font-size: 20px;
    text-align: center;
    margin: 20px 0 10px;
}

.cards-stack p {
    margin: 0 20px 20px;
    text-align: center;
}

.card-video{
    width: 100%;
    height: auto;
}

.footer {
    position: relative;
    width: 100%;
    background: #3586ff;
    min-height: 100px;
    padding: 20px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .social-icon,
  .menu {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap;
  }
  
  .social-icon__item,
  .menu__item {
    list-style: none;
  }
  
  .social-icon__link {
    font-size: 2rem;
    color: #fff;
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
  }
  .social-icon__link:hover {
    transform: translateY(-10px);
  }
  
  .menu__link {
    font-size: 1.2rem;
    color: #fff;
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
    text-decoration: none;
    opacity: 0.75;
    font-weight: 300;
  }
  
  .menu__link:hover {
    opacity: 1;
  }
  
  .footer p {
    color: #fff;
    margin: 15px 0 10px 0;
    font-size: 1rem;
    font-weight: 300;
  }
  
  .wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("https://i.ibb.co/wQZVxxk/wave.png");
    background-size: 1000px 100px;
  }
  
  .wave#wave1 {
    z-index: 1000;
    opacity: 1;
    bottom: 0;
    animation: animateWaves 4s linear infinite;
  }
  
  .wave#wave2 {
    z-index: 999;
    opacity: 0.5;
    bottom: 10px;
    animation: animate 4s linear infinite !important;
  }
  
  .wave#wave3 {
    z-index: 1000;
    opacity: 0.2;
    bottom: 15px;
    animation: animateWaves 3s linear infinite;
  }
  
  .wave#wave4 {
    z-index: 999;
    opacity: 0.7;
    bottom: 20px;
    animation: animate 3s linear infinite;
  }

  .featurette {
    padding: 50px 0;
}

.featurette h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

.featurette p {
    font-size: 16px;
    line-height: 1.6;
    color: white;
}

.featurette img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.col-md-6 {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.prepa{
    padding-bottom: 100px;
}

.prepa_img{
    height: 2rem;
    width: 2rem;
}

.eventos {
    text-align: center;
    margin-bottom: 40px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjusted minmax value */
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    color: white;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    padding-bottom: 50px;
}

.gallery-item img {
    width: 100%;
    height: 150px; /* Set fixed height */
    object-fit: cover; /* Ensure images cover the entire container */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    overflow: auto;
}

.modal-content {
    display: block;
    margin: 10% auto;
    max-width: 90%;
    max-height: 90%;
}

.modal-content img {
    width: 100%;
    height: auto;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999; /* Increase z-index to place modal on top of footer */
    overflow: auto;
}


@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
}

@media (min-width: 768px) {
    .col-md-6 {
        width: 50%;
    }
}


/* SVG animations */
@keyframes animateWaves {
    0% {
      background-position-x: 1000px;
    }
    100% {
      background-positon-x: 0px;
    }
  }
  
  @keyframes animate {
    0% {
      background-position-x: -1000px;
    }
    100% {
      background-positon-x: 0px;
    }
  }
  
@keyframes color_anim {
    0% {
        fill: white;
    }
    50% {
        fill: #005792;
    }
    100% {
        fill: white;
    }
}