* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 20px;
}

.container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    background-color: rgba(64, 64, 64, 0.15);
}

.two-column {
    display: flex;
}

.photo {
    margin-left: auto;
}

.inform {
    margin-right: auto;
}

.section {
    text-align: left;
}

#languages,
#skills {
    margin: 0 auto;
}

#languages li,
#skills li {
    font-size: 20px;
}

h1 {
    padding-left: 55px;
    line-height: 0;
    font-size: 3em;
}

h2 {
    padding-left: 55px;
    color: dimgray;
    /* font-size: 2em; */
}

h3 {
    padding-left: 55px;
    line-height: 0;
    text-decoration: underline;
}

.photo img {
    width: 250px;
}

p {
    padding: 0 20px;
    line-height: 1.5;
    font-size: 20px;
}

span {
    line-height: 2;
    font-size: 20px;
}

hr {
    margin: 0;
}

.footer-list {
    display: flex;
    justify-content: space-around;
    margin: 0;
    padding: 10px;
}

.footer-items {
    list-style: none;
}

@media screen and (max-width: 768px) {
    .container {
        width: auto;
        padding: 0 1em 1em;
    }
    .two-column {
        flex-direction: column-reverse;
    }
    .inform,
    .photo {
        margin: 0;
    }
    h1 {
        line-height: unset;
    }
}

@media screen and (max-width: 290px) {
    .photo img {
        width: 100%;
    }
}


/* Top navigation */

.nav-list {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    align-items: center;
    background-color: black;
    overflow: hidden;
}

.nav-list a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s;
}

.nav-list a:hover {
    background-color: white;
    color: black;
}

.nav-list .icon {
    display: none;
}

@media screen and (max-width: 600px) {
    .nav-list a {
        display: none;
    }
    .nav-list a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .nav-list.responsive {
        position: relative;
    }
    .nav-list.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .nav-list.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}