/* CSS Reset básico */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

/* Importacion de fuentes*/



/*
@font-face {
    font-family: 'bebas';
    src: url('fonts/bebas.TTF') format('truetype');
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: 'cour';
    src: url('fonts/cour.TTF') format('truetype');
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: 'courBold';
    src: url('fonts/courier-bold.ttf') format('truetype');
    font-style:normal;
    font-weight:normal;
}
*/
/* Animaciones CSS */

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes resaltar {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(5px, 5px) rotate(5deg); }
    50% { transform: translate(0, 0) rotate(0deg); }
    75% { transform: translate(-5px, 5px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
  }


/* Estilos personalizados */
html {
    scrollbar-gutter: stable;
  }

header{
    height: 60px;
    background-color: white;
    margin: 0px 55px 0px 55px;
    border-bottom: solid 1px gray;
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav{
    display: flex;
    flex-direction: row;
    font-family: Courier New,Courier,Lucida Sans Typewriter,Lucida Typewriter,monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    justify-content: space-between;
}

#botones{
    display: flex;
    flex-direction: row;
}

#botones button{
    height: 30px;
    margin-top: 20px;
    margin-left: 5px;
    font-family: Courier New,Courier,Lucida Sans Typewriter,Lucida Typewriter,monospace;
    font-weight: 400;
    font-style: normal;
    border-radius: 5px;
    border: none;
}

ul{
    display: flex;
    flex-direction: row;
}

li{
    margin: 32px;
    list-style-type: none;
}

a{
    text-decoration: none;
    color: black;
}

section{
    display: none;
    flex-direction: column;
    align-items: center;
    margin-bottom: 135px;
    animation: fadeIn 0.3s;
}

h1, h2, h3 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
}

h1{
    font-size: 55px;
    margin-top: 11%
}

h2{
    font-size: 45px;
}

h3{
    font-size: 153px;
}


h4{
    font-family: Courier New,Courier,Lucida Sans Typewriter,Lucida Typewriter,monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 27px;
    font-weight: normal;
    max-width: 320px;
}

p{
    /*font-family: "Courier Prime", monospace;*/
    font-family: Courier New,Courier,Lucida Sans Typewriter,Lucida Typewriter,monospace;    
    font-weight: 400;
    font-style: normal;
    font-size: 27px;
    max-width: 1000px;
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 100px;
    margin-bottom: 100px;
}

span{
    color:#800000;
}


footer img{
    height: 57px;
    width: 57px;
    margin: 5px;
    margin-top: 20px;
}

footer{
    width: 100%;
    height: 100px;
    position: fixed;
    bottom: 0px;
    display: flex;
    flex-direction:row;
    justify-content: center;
    background-color: white;
}

.proyecto{
    margin:50px;
    transition: transform 0.3s ease;
}

.proyecto:hover{
    transform: translateY(-10px);
}

.proyecto img{
    max-width: 300px;
}

.proyecto p{
    max-width: 320px;
    font-size: 16px;
    text-align: left;
    margin: 20px 0px 10px 0px;
    
}

.proyecto button{
    font-family: Courier New,Courier,Lucida Sans Typewriter,Lucida Typewriter,monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 27px;
    border: solid 1px black;
    background-color: white;
    width: 125px;
    height: 35px;
}

#proyecto{
    flex-direction: row;
    justify-content: center;
    align-items: start;
    flex-wrap: wrap;
}

.tecnologias{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1000px;
    margin-bottom: 100px;
}

.tecnologias div{
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    font-weight: normal;
    background-color: #eee;
    border-radius: 10px;
    margin: 10px;
    padding-bottom: 10px;
    transition: transform 0.3s ease;
}

.tecnologias div:hover{
    transform: translateY(-10px);
}

h5{
    font-weight: inherit;
    font-size: 20px;
}

.intertitulos{
    display: none;
}

.tecnologias div img{
    height: 80px;
    margin: 20px;
}

form{
    margin-top: 200px;
    margin-bottom: 200px;
    font-family: Courier New,Courier,Lucida Sans Typewriter,Lucida Typewriter,monospace;
    font-weight: 400;
    font-style: normal;
    display: flex;
    flex-direction: column;
}

form h2{
    margin-bottom: 50px;
}

form h4{
    font-size: 20px;
    margin: 5px 0px 5px 0px;
}

form button{
    width: 135px;
    margin-left: 80px;
    font-family: Courier New,Courier,Lucida Sans Typewriter,Lucida Typewriter,monospace;    
    font-weight: 400;
    font-style: normal;
    font-size: 27px;
    border: solid 1px black;
    background-color: white;
}

.imgcorreoenviado{
    width: 500px;
    margin-top: 30px;
    max-width: 100%;
    animation: fadeIn 0.3s;
}

.correoenviado{
    display: none;
}

.mensaje{
    height: 183px;
    margin-bottom: 10px;
    vertical-align: top; /* Alinea el texto arriba */
    width: 100%; /* Ancho del cuadro de texto al 100% */
    box-sizing: border-box; /* Incluye el padding y el borde en el ancho total */
    padding: 10px; /* Espacio interno para el texto */
}

.dark{
    display: none;
}

#cambiarModoMovil{
    position: fixed;
    margin-top: 10px;
    margin-left: calc(100% - 60px);
    width: 50px;
    height: 50px;
    border: none;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-radius: 50%;
}

#cambiarIdioma{
    position: fixed;
    margin-top: 10px;
    margin-left: calc(100% - 120px);
    width: 50px;
    height: 50px;
    border: none;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-radius: 50%;
    color:black;
}

@media (max-width: 1000px) {
    header{
        display: none;
    }
    section{
        display: flex;
    }
    .intertitulos{
        display: flex;
        width: 100%;
        border-bottom: solid 1px gray;
    }
    h6{
        display: inherit;
        float: left;
        background-color: black;
        padding: 10px;
        color:white;
        font-family: Courier New,Courier,Lucida Sans Typewriter,Lucida Typewriter,monospace;
        font-weight: 400;
        font-style: normal;
        
    }
}

/*
@media (prefers-color-scheme: dark) {
    body{
        background-color: #1a1a1a;
        color: white;
    }
    span{
        color: red;
    }
    
    nav{
        background-color: #1a1a1a;
    }
    
    a{
        color: white;
    }
    header{
        border-bottom: solid 1px #333;
    }
    footer{
        background-color: #1a1a1a;
    }
    .light{
        display: none;
    }
    .dark{
        display: block;
    }
    .tecnologias div{
        background-color: #333;
    }
    .proyecto button{
        background-color: #1a1a1a;
        border: solid 1px white;
    }
    h6{
        background-color: white;
        color:black;
        
    }
    
}

*/













