.img-project {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    box-sizing: border-box;
}

.color-special {
    color: #FF5722;
}

p{
    margin: 0px;
}

nav {
    position: absolute;
    top: 10%;
    right: 1%;
    height: 10vh;
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    z-index: 101;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
}

nav a {
    text-decoration: none;
    color: #EEEEEE;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.button-play {
    position: relative;
    background-color: transparent;
    color: #FF5722;
    /* border: 2px solid #FF5722; */
    border-radius: 5px;
    width: 80px;
    /* o el valor que desees */
    padding: 2px 2px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    font-size: 12px;
    cursor: pointer;
}

.button-red {
    position: relative;
    background-color: transparent;
    color: #FF5722;
    /* border: 2px solid #FF5722; */
    border-radius: 5px;
    padding: 2px 2px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    cursor: pointer;
    font-size: 18px;
    width: 120px;
}

.input-red {
    position: relative;
    background-color: transparent;
    color: #FF5722;
    /* border: 2px solid #FF5722; */
    border-radius: 5px;
    padding: 2px 2px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    cursor: pointer;
    font-size: 18px;
    border: none;
    width: 100%;
    color: #EEEEEE;
}

.input-red::placeholder {
    color: #FF5722;
    opacity: 1;
}
.center-p{
    margin-top: 20px;
     margin-left: 30px;
      margin-right: 10px;
       margin-bottom: 20px;
}

.menu-toggle {
    display: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
}

header {
    position: sticky;
    padding: 1px 0;
    top: 0;
    background: rgba(45, 64, 89, 0.9);
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    width: 100%;
    height: 10vh;
    border: none;
    border-bottom: 2px solid #FF5722;
    display: grid;
    justify-content: space-between;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: #FF5722;
    text-align: right;
}


h2 {
    scroll-margin-top: 10vh;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: #FF5722;
    text-align: center;
    margin: 0 auto;
    border: #FF5722 2px solid;
    border: none;
    border-bottom: 2px solid rgb(255, 87, 34);
    position: relative;
    background-color: #2A4759;
    border-image: linear-gradient(to right, rgba(255, 87, 34, 0.3), rgba(255, 87, 34, 1), rgba(255, 87, 34, 0), rgba(255, 87, 34, 0), rgba(255, 87, 34, 1), rgba(255, 87, 34, 0.3)) 1;
}

h3 {
    color: #F4E7E1;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    text-wrap: balance;
    margin-top: 5px;
    margin-bottom: 2px;
}

h4 {
    font-family: 'Montserrat', sans-serif;
    text-align: left;
    color: #F4E7E1;
}
li {
    color: #F4E7E1;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    text-wrap: balance;
}

li::marker {
  color: #FF5722; /* Aquí defines el color del disco */
}

.simple-p {
    word-break: break-word;
    overflow-wrap: break-word;
    margin: 20px;
    font-size: 18px;
}

main {
    width: 100%;
}

.container-projects {
    width: 80vw;
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 5px;
    padding: 20px;
    justify-content: center;
    align-items: center;
    background-position: center;
    background-repeat: no-repeat;
    background: linear-gradient(135deg, #222831 10%, #2A4759 60%, #222831 100%);
    margin: 0 auto;
    border: none;
    border-left: 2px solid #FF5722;
    border-right: 2px solid #FF5722;
    overflow: hidden;
}

.container-projects article {
    width: 85%;
    max-width: 85vw;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1em auto;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: #2A4759;
    padding: 10px;
    /* outline: 2px solid #FF5722; */
    outline: none;
    transition: outline 0.2s;
}

.container-projects article:hover {
    outline: 2px solid #FF5722;
}

p {
    color: #F4E7E1;
    font-family: 'Roboto', sans-serif;
}

body {
    min-height: 100vh;
    margin: 0;
    background-color: #222831;
    width: 100%;
    /* Oculta el scroll horizontal */
}

/* html {
    width: 100%;
    overflow-x: hidden;  Oculta el scroll horizontal
} */

/*-------- dale amigo de aqui para abajo -------*/

.carousel-track {
    display: flex;
    width: max-content;
    animation: scroll-left 20s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.tecno {
    flex: 0 0 auto;
    width: 100px;
    height: 40px;
    background: radial-gradient(circle, #2A4759 60%, #FF5722);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 1rem;
    border: 1px solid #FF5722;
}

.tecno-icon {
    opacity: 0;
    pointer-events: none;
}

.tecno-label {
    position: absolute;
}

/* Animación que desplaza el track hacia la izquierda */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


.footer-content p {
    color: #F4E7E1;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    margin: 0;
}

footer{
    border-top: 2px solid #FF5722;
    display: flex;
    flex-direction: row;
    gap: 200px;
    justify-content: center;
}

.footer-content h4 {
        font-size: 26px;
    }

@media (max-width: 768px) {

    .footer-content p {
        font-size: 12px;
    }

    .footer-content h4 {
        font-size: 12px;
    }

    footer{ 
        gap: 6px;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu ul {
        flex-direction: column;
        background-color: #2A4759;
        position: absolute;
        top: 100%;
        right: 0;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        display: none;
        border: 2px solid #FF5722;
    }

    .menu ul.show {
        display: flex;
        top: 22%;
    }

    .menu-toggle {
        display: block;
        position: fixed;
        top: 4vh;
        right: 3vw;
    }

    .menu {
        position: fixed;
        right: 0vw;
        top: 8vh;
        width: 80px;
    }

    .tecno {
        width: 40px;
        height: 40px;
        font-size: 0;
    }

    .tecno-icon {
        opacity: 1;
        width: 20px;
        height: 20px;
    }

    .simple-p {
        font-size: 16px;
    }

    .button-red {
        font-size: 14px;
        width: 80px;
    }
}


.video-info {
    width: 85%;
    height: auto;
    max-width: 85%;
    display: block;
    border-radius: 8px;
    outline: 2px solid #FF5722;
}


.media-hover {
    height: auto;
    display: block;
    border-radius: 8px;
    outline: 2px solid #FF5722;
    outline-offset: 2px;
    transition: outline-offset 0.3s, outline-color 0.3s;
}

.media-hover:hover {
    animation: outline-anim 0.2s infinite alternate;
}

@keyframes outline-anim {
    0% {
        outline-offset: 2px;
        outline-color: #FF5722;
    }

    100% {
        outline-offset: 0px;
        outline-color: rgba(255, 87, 34, 0.4);
    }
}

.switch {
    --secondary-container: #222831;
    --primary: #FF5722;
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 3.2em;/*3.7em;*/
    height: 1.2em;
}

.switch input {
    display: none;
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #313033;
    transition: .2s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 1.0em;
    width: 1.4em;
    border-radius: 20px;
    left: 0.2em;
    bottom: 0.12em;
    background-color: #aeaaae;
    transition: .4s;
}

input:checked + .slider::before {
    background-color: var(--primary);
}

input:checked + .slider {
    background-color: var(--secondary-container);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--secondary-container);
}

input:checked + .slider:before {
    transform: translateX(1.3em);
}

.lang-container{
    border: 2px solid #FF5722;
    background-color: #2A4759;
    width: 80px;
    height: 25px;
    padding: 4px;
    padding-left: 20px;
    top: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    right: 0%;
    position: absolute;;
}