body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    font-weight: 300;
}

.cadre {
    border: solid 2px #b53721;
    color: #b53721;
    width: 40%;
    padding: 30px;
    text-align: center;
}

/* FLEXBOX */

* {
    box-sizing: border-box;
}

h1, h2, h3 {
    text-align: center;
    font-weight: 400;
}

h5 {
    text-align: center;
}

/* NAVIGATION */

.main-nav {
    margin: 0;
    position: fixed;
    top: 0;
    background-color: rgb(60, 187, 237);
    width: 100%;
    height: 40px;
}

.main-nav a {
    text-decoration: none;
    color: #fff;
    padding: 15px;
    font-weight: 300;
}

#active a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.main-nav a:hover {
    text-decoration: double;
    text-underline-offset: 4px;
}

.home-bg {
    margin: 50px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.right {
    align-self: flex-end;
}
  
.left {
    align-self: flex-start;
}

.flex-container .item-nav {
    text-align: center;
    margin: 10px;
    gap: 20px;
}

.flex-container > h1 {
    text-align: center;
}

/* Responsive for phones */
@media (max-width: 800px) {
    .flex-container {
      flex-direction: column;
      justify-content: center;
    }
    .card-container {
        flex-direction: column;
        justify-content: center;
        flex-wrap: wrap-reverse;
    }
    .card-container .item-card {
        padding: 5px;
    }
  }

.regular-left {
    margin: 75px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}

/* PUBLICATIONS */

h2 {
    color: rgb(60, 187, 237);
    font-size: 20px;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.button {
    color: #fff;
    background-color: rgb(60, 187, 237);
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 8px;
    width: 110px;
    border: 1px solid rgb(60, 187, 237);
}

.button:hover {
    background-color: #fff;
    color: rgb(60, 187, 237);
    transition: 0.5s;
}