/* 
Tuxedo
Santiago Ferreira Schiro
mailto: santiagoferreiraschiro @ gmail.com 
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css");

/* la plantilla esta isnpirada en esta web https://freefrontend.com/css-code-examples/ */
:root {
    --color-texto: #FFF9E6;
    --color-primario: #005f73;
    --color-secundario: #0a9396;
    --color-acento: #94d2bd;
    --color-fondo: #181515;
    --color-enlace: #0077b6;
    --color-enlace-hover: #023e8a;
}

body {
    background-color: var(--color-fondo);
    font-family: 'Lato', sans-serif;
    color: var(--color-texto);
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    text-align: left;
    margin: 0 auto;
    padding: 10px;
    font-size: clamp(1rem, 2vw, 1.0rem);
}

h1 {
    font-size: 4rem;
    padding-bottom: 3%;
    border-bottom: 2px solid var(--color-texto);
    display: inline-block;
    padding-bottom: 4px;
}

h2, h3{
    border: 2px solid var(--color-texto);
    border-radius: 8px;
    padding: 10px;
    color: var(--color-fondo);
    background-color: var(--color-texto);
}

a {
    color: var(--color-acento);
}

div, li{
    padding-bottom: 0.5%;
    padding-top: 0.5%;
}

p {
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
    padding: 0;
    text-align: justify;
}

dt {
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
    padding: 0;
}



/* iconos */
#objetivos h3::before{
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0ae";
    margin-right: 8px;
}

#contenidos h3::before{
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f15b";
    margin-right: 8px;
}

#profesores h3::before{
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f51c";
    margin-right: 8px;
}

#bibliografia h3::before{
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f02d";
    margin-right: 8px;
}

/* los puntos de las listas */
ul li {
    list-style: none;
    position: relative;
    padding-left: 25px;
}

li::before{
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-block;
    position: relative;
    left: 0;
    top: 0;
    padding-right: 10px;
}

h2::before{
    font-family: "Font Awesome 6 Free";
    margin-right: 8px;
    content: "\f5fc";
    margin-right: 8px;
}

#enlacesintra h3::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0c9";
    margin-right: 8px;

}


#profesores dt::before {
    font-family: "Font Awesome 6 Free";
    margin-right: 8px;
    content: "\f007";
}

h1::before{
    font-family: "Font Awesome 6 Free";
    margin-right: 8px;
    content: "\e4e5";
    margin-right: 8px;
}

/*para que sea responsive */
@media (max-width: 768px) {
    body {
        width: 95%;
        padding: 5px;
    }

    h1 {
        font-size: 3rem;
    }

    h2, h3 {
        font-size: 1.5rem;
        padding: 8px;
    }
}

/* m?viles */
@media (max-width: 480px) {
    body {
        width: 100%;
        padding: 5px;
    }

    h1 {
        font-size: 2rem;
    }

    h2, h3 {
        font-size: 1.2rem;
        padding: 6px;
    }
}