*{
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Headliner';
    src: url('fuente/HeadlinerNo.45\ DEMO.ttf') format('truetype');
}

.back{
    background-image: url(imagenes/HeroBackground.jpg);
    height: 100vh;
    background-size: cover;
}

.overlay{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.content{
    position: relative;
    z-index: 1;
}


.navbar {
    background-color:black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px 0;
    position: relative;
    border-bottom: 1px solid orange;
}
.navbar__logo {
    color: white;
    font-size: 30px;
    font-weight: bold;
    text-align: left;
    font-family:'Headliner' ;
    letter-spacing: 3px;
    border-right: 1px solid orange;
    padding: 20px;
    cursor: default;
}

.navbar__logo:hover{
    transition: all 0.5s ease;
    color: orange;
}

.navbar__list{
    display: flex;
    gap: 40px;
    list-style: none;
    transition: all 0.5s ease;
} 

.navbar__item a {
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    padding: 10px;
    transition: all 0.5s ease;
}

.navbar__item a:hover{
    background-color: white;
    color: rgb(255, 42, 0);
    border-radius: 4px;
    /* border: 1px solid orange; */
    
}

.menu-icon{
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
    position: relative;
    z-index: 1;
}

.menu-icon .line{
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

#menu-toggle{
    display: none;
}

.mainContent {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90vh; 
    text-align: center;

}

.hero-text { 
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 20px;
}

.mainContent__title {
    font-family: 'Headliner', sans-serif;
    font-size: 110px;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 4px;
    cursor: default;
}

.mainContent__subtittle {
    font-family: 'Headliner', sans-serif;
    font-size: 60px;
    color: orange;
    margin-bottom: 20px;
    letter-spacing: 2px;
    cursor: default;
}

.mainContent__text {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif, sans-serif;
    font-size: 18px;
    color: #eee;
    margin-bottom: 25px;
    line-height: 1.5;
    cursor: default;
}

.hero-button {
    padding: 15px 30px;
    background: linear-gradient(135deg, orange, gold);
    color: black;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-position 0.5s ease;
    background-size: 200% 200%;
}



.hero-button:hover {
    transform: scale(1.04);
    box-shadow: 0 0 15px 5px rgba(255, 165, 0, 0.6);
}



.carrusel__title{
    font-family: 'Headliner', sans-serif;
    text-align: center;
    font-size: 60px;
    letter-spacing: 2px;
    padding: 30px 0;
}

.carrusel{
    /* parte del carrusel */
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    /* tamano del carrusel */
    gap: 20px;
    padding: 10px 20px;
    width: 60%;
    /* Margenes del contenedor */
    /* margin: auto; */
    margin: 0px auto 40px;
    scroll-snap-type: x mandatory; /* Efecto de la barra que te ajusta automaticamente */
    scrollbar-width: thin; /* Barra de firefox */
    scrollbar-color: orange #111;/* Color de la barra */
}

.carrusel__element {
    color: aliceblue;
    flex: 0 0 auto;
    scroll-snap-align: start;/* Y con este le decimos que comeince al inicio*/
    width: 280px;
    padding: 20px;
    background: linear-gradient(135deg, #000 70%, #ff1e00 85%, orange 95%);
    border-radius: 16px;
    border: 1px solid rgba(255, 94, 0, 0.7);
    box-shadow: 0 6px 15px rgba(255, 69, 0, 0.4); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; /*Animacion que se activara con el hover*/
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.carrusel__element:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 94, 0, 0.6);
}

.carrusel__text{
    font-style: oblique;
}

.carrusel__user{
    margin-top: 10px;
}

.carrusel__user__box{
    background-color: #ff4d00;
    border-radius: 50px;
}

/*============FORM==============*/
/* Sección general */
.register__section {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
    justify-content: center;
}

/* Imagen como fondo lateral */
.register__img {
    flex: 60%;
    background-image: url('imagenes/img.jpg'); 
    background-size: cover;
    background-position: center;
    border-top:3px orange solid ;

}

/* Formulario estilizado */
.register__form {
    flex: 40%;
    background-color: #000;
    padding: 10px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffa500;
    border-top:3px orange solid ;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    box-shadow: -10px 0 20px rgba(0, 0, 0, 0.5);
}

.contact__title {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 30px;
    color: orange;
    text-align: center;
}

/* Inputs y selects */
.register__form input,
.register__form select {
    padding: 12px;
    margin-top: 8px;
    margin-bottom: 16px;
    border-radius: 8px;
    border: none;
    background-color: #222;
    color: white;
    font-size: 14px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.register__form input:focus,
.register__form select:focus {
    outline: none;
    border: 1px solid orange;
    background-color: #333;
}

/* labels */
.register__form label {
    font-weight: bold;
    margin-top: 10px;
    color: #ffa500;
}

/* Botón */
#buttonSubmit {
    background: linear-gradient(135deg, orange, gold);
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    width: 100%;
    margin: auto;
    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-position 0.5s ease;
    background-size: 200% 200%;
}

#buttonSubmit:hover {
    transform: scale(1.04);
    box-shadow: 0 0 15px 5px rgba(255, 165, 0, 0.6);
}


footer{
    background-color: #000;
    border-top:orange solid 3px ;
}

.footer__container{
    /* width: 100%; */
    padding: 70px 30px 20px;
}

.footer__networks{
    display: flex;
    justify-content: center;
}

.footer__networks a{
    text-decoration: none;
    padding: 10px;
    background-color: white;
    margin: 10px;
    border-radius: 50%;
}

.footer__networks a i{
    font-size: 25px;
    color: black;
    opacity: 0.9;
}

.footer__networks a:hover{
    background-color: #000;
    transition: 0.5s;
}

.footer__networks a i:hover{
    color: orange;
    transition: 0.5s;
}

.footer__nav{
    margin: 30px 0;
}

.footer__nav ul{
    display: flex;
    justify-content: center;
}
.footer__nav ul li a{
    color: white;
    list-style: none;
    margin: 20px;
    text-decoration: none;
    font-size: 23px;
    opacity: 0.7;
    transition: 0.5s;
}

.footer__nav ul li a:hover{
    opacity: 1;
    color: orange;
}


.footer_bottom{
    background-color: #222;
    padding: 20px;
    text-align: center;
    color: orange;
}



@media(max-width:768px){

    .back{
        background-position: center;
    }
    .menu-icon{
        display: flex;
    }

    .navbar__list{
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        height: 0;
        overflow:hidden ;
        flex-direction: column;
        background-color: black;
        text-align: center;
        transition: heigth 0.5s ease;
        border-top: 1px solid orange;
        border-bottom: 1px solid orange;
        z-index: 2;

    }

    .navbar__item{
        margin: 0;
        padding: 17px 0;
        width: 100%;
    }

    .navbar__item a{
        width: 100%;
        padding: 10px 20px;
    }

    #menu-toggle:checked + .menu-icon + .navbar__list {
        height: 30vh;
    }

    .mainContent__title{
        font-size: 80px;
    }

    .mainContent__subtittle {
        font-size: 40px;
    }
    .mainContent__text{
        font-size: 15px;
    }
    .hero-button{
        font-size: 15px;
    }
    .carrusel{
        width: 80%;
    }   

    .footer__networks a {
        padding: 5px;
    }

    .footer__nav ul li a {
        font-size: 17px;
        margin: 15px;
    }    
    
}







