* {
    box-sizing: border-box;
    font-family: sans-serif;
}

body, body>section, header, main, main>div, footer {
    display: flex;
}

body {
    justify-content: center;
    background-color: #ebebeb;
}


body>section {
    width: 80%;
    flex-direction: column;
    gap: 20px;
}

header, main>div, footer {
    box-shadow: 1px 1px 10px 0.5px rgba(0, 0, 0, 0.5);
}

main>div, footer {
    background-color: white;
}

/* ----- HEADER ----- */
header {
    background-image: url(images/student_1200.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: cover;

    border-radius: 1em;

    padding: 5px;
    flex-direction: column;
    align-items: center;
}

header h1, header p {
    background-color: rgba(255, 255, 255, 0.5);
    font-size: x-large;
    border-radius: 8px;
    padding: 5px;
    margin: 10px;
}
header h1 {
    align-self:stretch;
}
header p {
    width: 33%;
}

/* ----- MAIN ----- */
main {
    gap: 30px;
    flex-wrap: wrap;
}
main > div {
    padding: 20px;

    flex: 1 1 200px;

    flex-direction: column;
}

main img {
    width: 100%;
}

main p {
    flex-grow: 1;
}


.information-box__btn {
    color: white;
    background-color: #6470bf;

    padding: 5px 10px;
    border-radius: 5px;
    text-decoration-line: none;
    align-self: flex-start;
}

/* ----- FOOTER ----- */
footer {
    border-radius: 8px;
}

footer p {
    flex: 1 1 200px;
    margin: 0px;
    padding: 10px;
}
footer p:nth-child(2) {
    flex-grow: 2;
    background-color: #96f6ff;
}