
/* IMPORTAR FUENTES */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Merriweather:wght@400;700&display=swap');


/* =========================
   CUERPO GENERAL
========================= */

body {
    font-family: 'Lato', Arial, sans-serif;
    text-align: center;
    color: #333;
    margin: 0;
    line-height: 1.7;
    background-color: #faf7f2;
}


/* =========================
   CABECERA
========================= */

header {
    text-align: center;
    padding: 0;
}


header img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    display: block;
}


.logo-fijo {
    margin-bottom: 5px;
}


.logo-fijo img {
    display: block;
    margin: 0 auto;
}


.logo {
    width: 300px;
    height: auto;
}


h1 {
    margin-top: 5px;
}


.logo-fijo h1 {
    font-size: 60px;
    letter-spacing: 6px;
    font-family: Georgia, serif;
    margin: 10px 0;
}


.logo-fijo h2 {
    color: #cc5500;
    font-size: 28px;
    margin-bottom: 20px;
}


/* TITULOS */

h1,
h2,
h3 {
    font-family: 'Merriweather', serif;
    color: #8B4513;
    font-weight: 700;
}


h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 28px;
}


/* =========================
   MENU
========================= */

nav {
    margin: 30px 0;
}


nav a {
    display: inline-block;
    text-decoration: none;
    color: white;
    background: #b86b2c;
    padding: 12px 22px;
    margin: 8px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 22px;
    transition: 0.3s;
}


nav a:hover {
    background: #8B4513;
    transform: scale(1.05);
}


/* =========================
   CONTENIDO
========================= */

main {
    max-width: 1000px;
    margin: auto;
    padding: 60px 20px;
}


section {
    max-width: 800px;
    margin: auto;
}


p {
    font-size: 19px;
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
}


/* =========================
   CAJAS SERVICIOS
========================= */

.servicio {

    max-width: 900px;
    margin: 25px auto;
    background: rgba(255,255,255,0.90);
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);

}


.servicio h2 {

    color: #1f4e79;
    border-bottom: 2px solid #d4a017;
    padding-bottom: 8px;

}


/* TITULO SERVICIOS */

.titulo-servicios {

    font-family: "Times New Roman", serif;
    font-size: 3em;
    color: blue;
    font-style: italic;

}


.subtitulo-servicios {

    color: blue;
    font-size: 2em;
    font-style: italic;

}


/* =========================
   IMAGEN CON TEXTO
========================= */

.imagen-con-texto {

    position: relative;
    display: inline-block;

}


.rafbe {

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-size: 45px;
    font-weight: bold;
    font-family: Georgia, serif;
    color: white;
    text-shadow: 3px 3px 5px black;
    letter-spacing: 5px;

}


/* =========================
   LISTAS
========================= */

ul {
    line-height: 1.8;
}


ul li::marker {
    color: #ff6600;
}


/* =========================
   SOBRE MI
========================= */

.sobre-mi {

    text-align: left;
    background-color: #fff3e0;
    padding: 30px;
    border-radius: 10px;
    margin: 30px auto;
    max-width: 900px;

}


.sobre-mi p {
    font-size: 20px;
}


/* =========================
   ENLACES
========================= */

a {

    font-family: Arial, sans-serif;
    font-size: 22px;
    color: blue;
    text-decoration: none;

}


.enlace-servicios a {

    font-size: 38px;
    font-weight: bold;
    font-style: italic;
    color: #cc5500;
    text-decoration: none;

}


.enlace-servicios a:hover {

    color: #ff6600;
    text-decoration: underline;

}


/* =========================
   CONTACTO
========================= */

.buzon {

    width: 100px;
    height: 150px;

}


.frase-contacto {

    font-family: "Times New Roman", serif;
    font-size: 20px;
    color: blue;

}


/* =========================
   PIE DE PAGINA
========================= */

footer {

    background-color: #222222;
    color: white;
    padding: 20px;
    margin-top: 50px;

}
