@font-face {
    font-family: fuente regards;
    src: url(regards.otf);
}
@font-face {
    font-family: fuente texto;
    src: url(FrancoisOne-Regular.ttf);
}

/* Reset de estilos por defecto */
body, figure, h1, h2, h3, p, ul {
    margin: 0;
    padding: 0;
}
p{
    font-family: fuente texto;
}

body {
    font-family:fuente texto;
    color: #000;}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: fuente texto;
}

h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    font-family:fuente regards ;
}

h2 {
    font-size: 24px;
    margin-bottom: 10px;
    font-family: fuente texto;
}

h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-family: fuente texto;
}

ul {
    list-style-type: none;
    padding: 0;
    font-family: fuente texto;
}

li {
    display: inline-block;
    vertical-align: top;
    margin: 0 10px;
    width: 300px;
}

img {
    max-width:100% ;
    height: auto;
    display: block;
    margin: auto;
    
    
}

/* Estilos de la barra de navegación */
header {
    
    background-image: linear-gradient(to right, cornflowerblue, rgb(135, 234, 135),
     rgb(241, 147, 110),hsl(60, 92%, 76%));
        color: #fff;
    padding: 35px;

}

nav ul {
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    margin-right: 10px;
}

/* Estilos de las secciones */
section {
    padding: 40px;
}

#inicio {
    background-color: #f9f9f9;
}

#proyectos ul {
    text-align: center;
}

#proyectos li {
    margin-bottom: 40px;
}

#sobre-mi {
    background-color: #e9e9e9;
}

#contacto {
    background-color: #f9f9f9;
}

/* Estilos del formulario de contacto */
form label, form textarea, form input[type="text"], form input[type="email"] {
    display: block;
    margin-bottom: 10px;
    width: 100%;
    
}

form textarea {
    height: 100px;
}

form input[type="submit"] {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

form input[type="submit"]:hover {
    background-color: #555;
}

footer{
    background-image: linear-gradient(to right, cornflowerblue, rgb(135, 234, 135),
    rgb(241, 147, 110),hsl(60, 92%, 76%));
       color: #fff;
   padding: 30px 30px;
}
figure {
    display: block;
    text-align:left;
  }
  
  figcaption {
    font-size: 18px;
    font-family: fuente texto;
    padding: 25px;
text-align: center;

  }
  