@import url('assets/fonts/Serif/cmun-serif.css');

body {
    font-family: 'Computer Modern Serif';
}

nav {
    width: 280px;
    position: fixed;
}

li, a {
    list-style-type: none;
    text-decoration: none;
    color: black;
}

li, a:hover {
    color: grey;
}

div {
    width: 600px;
    justify-content: center;
    margin:auto;
}

p {
    text-align: justify;
    line-height: 1.5;
}

h4 {
    padding: 40px;
    width:500px;
    float: right;
}
h5 {
    float:right;
}

.titulo {
    text-align: center;
}

/* CSS for Cellphone */
@media only screen and (max-width: 900px) {
    body {
        font-size: small;
    }
    nav {
          top: 1rem;
          left: 50%;
          transform: translateX(-50%);
          flex-direction: row;
          gap: 1rem;
    }
    div {
        width: 100%;
        float: center;
    }
    li , a {
        float: left;
        margin: 3px;
    }
    h4 {
        float: center;
        padding: 30px;
        width: 100px;
    }
    p {
        margin-right: 20px;
        margin-left: 20px;
    }
    br {
        font-size: 400%;
    }
    img {
      height: 350px;
    }
}
