* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
    color: white;
}

body {
    background-color: #000000;
}

.division {
    margin: 25px auto 35px;
    height: 2px;
    width: 800px;
    background-color: #DE4E0B;
}

header {
    margin-top: 60px;
    width: 100%;
    text-align: center;
}

header img {
    max-width: 300px;
    border-radius: 50%;
}

header h1 {
    margin-top: 25px;
}

.contacts {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px auto;
    font-size: 20px;
}

.contacts a {
    text-decoration: none;
    border: 1px solid rgb(87, 87, 87);
    padding: 10px 25px;
    transition: background 0.3s;
}

.contacts a + a {
    margin-left: 30px;
}

.contacts a:hover {
    background-color: #DE4E0B;
}

/* -- About me -- */

main .about {
    max-width: 700px;
    margin: 30px auto;
    padding: 10px 2% 30px;
}

.about h1 {
    font-size: 36px;
}

.about p {
    font-size: 20px;
    margin-top: 20px;
}

/* -- Technologies -- */

.technologies {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2%;
}

.technologies h1 {
    font-size: 36px;
}

.tech-container {
    margin-top: 30px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap
}

.tech-container figure + figure {
    margin-left: 50px;
}

.technology {
    margin-top: 30px;
    margin-bottom: 30px;
}

.technology img {
    width: 70px;
}

.technology .react {
    width: 90px;
}

.technology figcaption {
    font-size: 20px;
}

/* -- Projects -- */

.projects {
    text-align: center;
    max-width: 2000px;
    margin: 0 auto;
}

.projects h1 {
    font-size: 36px;
}

.project-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.project-container figure + figure {
    margin-left: 50px;
}

.project img {
    width: 300px;
    height: 200px;
}

.project figcaption {
    margin: 5px 0 30px 0;
}

.project a {
    font-size: 24px;
    text-decoration: none;
}

.project a:hover {
    text-decoration: underline;
    text-decoration-color: #DE4E0B;
}

/* -- Responsiveness -- */

@media screen and (max-width: 850px) {
    .division {
        width: 600px;
    }

    .project-container figure + figure {
        margin-left: 30px;
    }
}

@media screen and (max-width: 620px) {
    .division {
        width: 400px;
    }

    .tech-container figure + figure {
        margin-left: 30px;
    }

    .project-container figure + figure {
        margin: 10px 0 0;
    }
}

@media screen and (max-width: 453px) {
    .contacts a + a {
        margin-left: 5px;
    }
}

@media screen and (max-width: 403px) {
    header img {
        max-width: 200px;
        border-radius: 50%;
    }

    .contacts a + a {
        margin-left: 10px;
    }

    .contacts a:last-child {
        margin-top: 10px;
        margin-left: 0;
    }

    .division {
        width: 300px;
    }
}