@font-face {
    font-family: monserrate;
    src: url(/storage/fonts/Montserrat-Medium.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: monserrate ;
}

ul {
    list-style: decimal;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

#fondo {
    position: absolute;
    width: 100vw;
    height: 110vh;
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 90%, transparent 95%);
    opacity: 0.95;
}

/* Header and Navigation */
header {
    background-color:#000000a1;
    color: white;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.container {
    width: 80%;
    margin: auto;
}

.logo a {
    position: absolute;
    color: white;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    padding: 35px 0px 35px 0px;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    padding: 30px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    /* Color de fondo más oscuro al pasar el cursor */
}

nav ul li a:active {
    background-color: rgba(255, 255, 255, 0.2);
    /* Color de fondo más oscuro cuando se clickea */
    color: #ddd;
    /* Cambiar el color del texto para dar más énfasis */
}

/* Hero Section */
#hero {
    background: url('background.jpg') no-repeat center center/cover;
    color: white;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

#hero h2 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-in-out;
}

#hero p {
    margin-bottom: 10px;
    animation: fadeInUp 1.5s ease-in-out;
    color: #333;
    padding-top: 20px;
}

.cta-button {
    background-color: #ff6347;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    animation: fadeInUp 2s ease-in-out;
}

.cta-button:hover {
    background-color: #ff4500;
}

/* Section Styles */
section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    color: #333;
    width: max-content;
}

h3 {
    font-size: 2.3rem;
}


/* Profile Section */
#perfil p {
    font-size: 1.4rem;
    width: 70%;
}



/* Grid for Mission, Vision, and Values */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.box {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#mision-vision-valores p, .box li {
    font-size: 1.4rem;
    text-align: left;
}

/* Certification Section */
.certificaciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.certificacion p{
    font-size: 1.4rem;
}
.certificacion h3{
    font-size: 2rem;
}

.certificacion {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.certificacion i {
    font-size: 2.5rem;
    color: #ff6347;
    margin-bottom: 15px;
}

/* Services Section */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

#servicios p {
    font-size: 1.4rem;
}
#servicios h3 {
    font-size: 1.9rem;
}


.servicio {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.servicio i {
    font-size: 2.5rem;
    color: #ff6347;
    margin-bottom: 15px;
}

/* Projects Section */
.proyectos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.proyecto {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.proyecto p{
    font-size: 1.4rem;
}
.proyecto h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Contact Form */
.container-contact {
    position: relative;
    /* Cambiar de absolute a relative para evitar que cubra toda la pantalla */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: left;
    left: 10vw;
    padding: 1.5rem;
    margin: 2rem 0;
    /* Añadir margen para separación */
}

.modal {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    background-color: #fff;
    box-shadow: 0 15px 30px 0 rgba(0, 125, 171, 0.15);
    border-radius: 10px;
}

.modal__header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal__body {
    padding: 1rem 1rem;
}

.modal__footer {
    padding: 0 1.5rem 1.5rem;
}

.modal__title {
    font-weight: 700;
    font-size: 1.25rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.15s ease;
}

.button--icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: transparent;
    border-radius: 0.25rem;
}

.button--icon:focus,
.button--icon:hover {
    background-color: #ededed;
}

.button--primary {
    background-color: #007dab;
    color: #FFF;
    padding: 0.75rem 1.25rem;
    border-radius: 0.25rem;
    font-weight: 500;
    font-size: 0.875rem;
}

.button--primary:hover {
    background-color: #006489;
}

.input {
    display: flex;
    flex-direction: column;
}

.input+.input {
    margin-top: 1.75rem;
}

.input__label {
    font-weight: 700;
    font-size: 0.875rem;
}

.input__field {
    display: block;
    margin-top: 0.5rem;
    border: 1px solid #DDD;
    border-radius: 0.25rem;
    padding: 0.75rem 0.75rem;
    transition: 0.15s ease;
}

.input__field:focus {
    outline: none;
    border-color: #007dab;
    box-shadow: 0 0 0 1px #007dab, 0 0 0 4px rgba(0, 125, 171, 0.25);
}

.input__field--textarea {
    min-height: 100px;
    max-width: 100%;
}

.input__description {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    color: #8d8d8d;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ff6347;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



#profile {
    position: absolute;
    right: 5vw;
    width: 400px;
    animation: fadeInUp 1s ease-in-out;
}

#perfil span{
    display: flex;
}
#profile2 {
    position: absolute;
    right: 10vw;
    width: 400px;
    height: 400px;
    animation: fadeInUp 1s ease-in-out;
}
#profile3 {
    width: 400px;
    animation: fadeInUp 1s ease-in-out;
    
}

#objetivos span p {
    width: 800px;
    font-size: 1.4rem;
    right: 0%;

}

/**/
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 10;
    border: 1px solid #525252;
    border-radius: 11px;
    overflow: hidden;
    width: 354px;
    animation: fadeInUp 1s ease-in-out;
}

.console-window {
    display: flex;
    flex-direction: column;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;
    width: 100%;
    /* Ocupa todo el ancho del contenedor padre */
}

.header-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    min-height: 40px;
    padding-inline: 12px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: #202425;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 2.5rem;
    user-select: none;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #8e8e8e;
}

.header-title>svg {
    height: 22px;
    width: 22px;
    margin-top: -4px;
    color: #006adc;
}

.clipboard-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    border: 0.65px solid #c1c2c5;
    margin-left: auto;
    border-radius: 6px;
    background-color: #202425;
    color: #8e8e8e;
    cursor: pointer;
}

.clipboard-button>svg {
    width: 20px;
    height: 20px;
}

.clipboard-button:active>svg>path,
.clipboard-button:focus-within>svg>path {
    animation: clipboard-check 500ms linear forwards;
}

.console-body {
    display: flex;
    flex-direction: column;
    position: relative;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    overflow-x: auto;
    padding: 1rem;
    line-height: 20px;
    color: white;
    background-color: black;
    white-space: nowrap;
    width: 100%;
    /* Asegura que no se expanda más allá del contenedor */
}

.code-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-wrap: nowrap;
    white-space: pre;
    background-color: transparent;
    overflow: hidden;
    box-sizing: border-box;
    font-size: 16px;
}

.code-wrapper code:nth-child(1) {
    color: #575757;
}

.code-wrapper code:nth-child(2) {
    color: #e34ba9;
}

.command {
    height: 19px;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: row;
}

.command::before {
    content: attr(data-cmd);
    position: relative;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    background-color: transparent;
    animation: inputs 8s steps(22) infinite;
}

.command::after {
    content: "";
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    background-color: transparent;
    border-right: 0.15em solid #e34ba9;
    animation: cursor 0.5s step-end infinite alternate, blinking 0.5s infinite;
}

@keyframes blinking {

    20%,
    80% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0);
    }
}

@keyframes cursor {
    50% {
        border-right-color: transparent;
    }
}

@keyframes inputs {

    0%,
    100% {
        width: 0;
    }

    10%,
    90% {
        width: 58px;
    }

    30%,
    70% {
        width: 215px;
        max-width: max-content;
    }
}

@keyframes clipboard-check {
    100% {
        color: #fff;
        d: path("M 9 5 H 7 a 2 2 0 0 0 -2 2 v 12 a 2 2 0 0 0 2 2 h 10 a 2 2 0 0 0 2 -2 V 7 a 2 2 0 0 0 -2 -2 h -2 M 9 5 a 2 2 0 0 0 2 2 h 2 a 2 2 0 0 0 2 -2 M 9 5 a 2 2 0 0 1 2 -2 h 2 a 2 2 0 0 1 2 2 m -6 9 l 2 2 l 4 -4"
            );
    }
}

#textStudent {
    font-size: 1.9rem;
}

#SD, #AM, #OP, #C,#S,#P{
    font-size: 3rem;
}


#contacto {
    display: flex;
}

#messageContact {
    margin-top: 100px;
    font-size: 2.1rem;
}

footer svg {
    padding-top: 1px;
    fill: white;
}

@keyframes unique-animate {
    0% {
      filter: hue-rotate(0deg);
    }
    100% {
      filter: hue-rotate(360deg);
    }
  }
  
  .unique-container {
    position: relative;
    top: -80px;
    transform: skewY(-20deg);
    animation: unique-animate 5s linear infinite;
  }
  .unique-cube {
    position: relative;
    z-index: 2;
  }
  .unique-cube:nth-child(2) {
    z-index: 1;
    translate: -60px -60px;
  }
  .unique-cube:nth-child(3) {
    z-index: 3;
    translate: 60px 60px;
  }
  .unique-cube div {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 30px;
    translate: calc(-70px * var(--unique-x)) calc(-60px * var(--unique-y));
  }
  .unique-cube div span {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #dcdcdc;
    z-index: calc(1 * var(--unique-i));
    transition: 1.5s;
  }
  .unique-cube div span:hover {
    transition: 0s;
    background: #ef4149;
    filter: drop-shadow(0 0 30px #ef4149);
  }
  .unique-cube div span:hover:before,
  .unique-cube div span:hover:after {
    transition: 0s;
    background: #ef4149;
  }
  .unique-cube div span:before {
    content: "";
    position: absolute;
    left: -40px;
    width: 40px;
    height: 100%;
    background: #fff;
    transform-origin: right;
    transform: skewY(45deg);
    transition: 1.5s;
  }
  .unique-cube div span:after {
    content: "";
    position: absolute;
    top: -40px;
    left: 0px;
    width: 100%;
    height: 40px;
    background: #f2f2f2;
    transform-origin: bottom;
    transform: skewX(45deg);
    transition: 1.5s;
  }
  
  #profile2 {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    border: 5px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    display: block;
    object-fit: contain;
    width: 100%;
    height: auto;
  }
  
  #profile3 {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding: 12px;
    border: 4px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: #f9f9f9;
    display: block;
    height: auto;
  }
  