@font-face {
    font-family: 'AbrilFatface-Regular';
    src: url('AbrilFatface-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Kalam-Regular';
    src: url('Kalam-Regular.ttf') format('truetype');
}


html {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #caddfa;
}

body {
    background-color: #ffffff;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: "Kalam-Regular", serif;
}

@media (min-width: 1200px) {
    body {
        width: 1000px;
        margin: 0 auto;
    }
}


.logo {
    display: flex;
    justify-content: center;
}


header {
    font-family: "AbrilFatface-Regular", serif;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    margin-top: 0px;
}

@media (min-width: 1000px) {
    .logo {
        position: absolute;
        margin: 40px;
        margin-top: 50px;
    }

    header {
        margin-top: 40px;
    }
}

h1 {
    font-size: 2.5em;
    color: #02243f;
}

h2 {
    font-size: 1.5em;
    color: #02243f;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.main {
    margin-top: 100px;
}


.person {
    margin: 40px;
}

.photo {
    float: left;
    margin: 0 20px 0 0;
}

.cv {
    text-align: justify;
    letter-spacing: 0.75px;
    line-height: 1.5;
}

.badge-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-top: 30px;
    padding: 0;
}

.badge {
    width: 100px;
    margin: 30px;
}

.contact {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 50px;
}

.icon {
    height: 34px;
    margin: 20px;
}

footer {
    text-align: center;
    font-style: italic;
}