html {
    font-family: Outfit, Outfit Fallback, sans-serif;
    font-style: normal;
    color: #000;
}

body {
    margin: 0;
    padding-top: 65px;
    background-color: #fff;
}

.navbar-container {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: #9d9d9d 1px 1px 4px;
    font-size: 20px;
    background-color: #fffffff8;
}

.navbar-items {
    list-style: none;
    display: flex;
    margin: 0;
    padding-left: 0;
    justify-content: center;
}

.navbar-items li {
    transition: 0.3s ease;
}

.navbar-items a {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    color: #000;
    text-decoration: none;
}

.navbar-items li:hover {
    transform: translateY(-4px);
    background-color: #f5f5f5;
}

#banner-section {
    width: 100%;
    background-image: radial-gradient(circle,rgba(255, 255, 255, 1) 0%, rgba(196, 229, 255, 1) 40%, rgba(66, 115, 189, 1) 100%);
    box-shadow: #9d9d9d 1px 1px 4px;
}

#banner-container {
    margin: 0 auto;
    display: flex;
    height: 850px;
    width: 90%;
    justify-content: center;
    align-items: center;
    font-family: "Fira Code", monospace;
    font-size: 28px;
}

#title-container {
    max-width: 400px;
    width: 100%;
}

.name, .title {
    box-sizing: border-box;
    color: #222222;
    margin: 0;
}

.title {
    display: flex;
    justify-content: space-between;
    padding-left: 70px;
    font-size: 30px;
    font-weight: 900;
    line-height: 2;
}

.bottom-border {
    position: relative;
}

.bottom-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(70, 70, 70, 0.8) 50%, transparent);
}

.container-config {
    margin: 0 auto;
    padding: 100px 0px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.presentation-container {
    display: flex;
    flex-wrap: wrap;
    gap: 100px;
    align-items: center;
    margin-top: 30px;
    justify-content: center;
}

.section-title {
    font-size: 38px;
    margin-bottom: 0px;
}

.section-subtitle {
    margin: 0;
    font-size: 20px;
    text-align: center;
    color: #8c8c8c;
}

.bold-highlight {
    font-weight: bold;
}

.presentation-text {
    font-size: 20px;
    line-height: 1.5;
    max-width: 600px;
}

.presentation-title {
    font-size: 38px;
    font-weight: bold;
}

.main-image {
    background-image: url("../assets/rafael.PNG");
    background-position: center;
    background-size: cover;
    height: 400px;
    width: 400px;
}

.technologies-icons {
    margin-top: 30px;
}

.technologies-icons ul {
    display: flex;
    gap: 20px;
    padding-left: 0;
    flex-wrap: wrap;
    color: #000;
    list-style: none;
    justify-content: center;
}

.technologies-icons li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 130px;
    height: 130px;
    border-radius: 5px;
    background-image: radial-gradient(rgb(218, 244, 255) 0%, rgb(196, 229, 255) 100%);
    box-shadow: 1px 1px 5px #707070;
    transition: 0.3s;
}

.technologies-icons li:hover {
    transform: scale(1.05);
}

.technologies-icons li i {
    font-size: 90px;
    color: #222222;
}

.projects {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
}

.projects-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    justify-content: center;
}

.project {
    display: flex;
    width: 400px;
    height: 450px;
    background-color: rgba(186, 186, 186, 0.2);
    box-shadow: 1px 1px 5px #707070;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    transition: 0.3s ease;
    margin: 5px;
}

.project p {
    border-radius: 5px;
    width: 90%;
    margin-top: 0;
    background-color: rgb(255, 255, 255, 0.2);
    padding-top: 20px;
}

.project:hover {
    transform: translateY(-5px);
    background-color: rgba(186, 186, 186, 0.1);
    box-shadow: 1px 1px 10px #707070;
}

.project-image {
    width: 90%;
    height: 300px;
    background-position: center;
    background-size: cover;
}

#img1 {
    background-image: url("../assets/jump-game.png");
}

#img2 {
    background-image: url("../assets/worst-day.png");
}

#img3 {
    background-image: url("../assets/look-game.png");
}

#img4 {
    background-image: url("../assets/spring-1.png");
    background-color: #fff;
}

.project-link {
    text-decoration: none;
    color: inherit;
}

.contacts {
    padding-top: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    margin: 5px;
}

.contact-form input, .contact-form textarea {
    padding: 10px;
    margin: 5px 0px;
    width: 400px;
    box-sizing: border-box;
    resize: none;
}

.contact-form textarea {
    height: 150px;
}

.form-btn {
    background-color: #222222;
    font-size: 18px;
    color: #fff;
    transition: 0.2s ease;
}

.form-btn:hover {
    background-color: #fff;
    color: #222222;
    cursor: pointer;
}

.socials-container {
    margin-top: 30px;
    display: flex;
    /* flex-direction: row; */
    justify-content: center;
}

.socials-container i {
    font-size: 50px;
    margin: 0px 20px;
    transition: 0.3s ease;
    color: #222222;
}

.socials-container i:hover {
    color: #0438c7;
    transform: scale(1.05);
}

footer {
    background-color: #222222;
    color: #fff;
    width: 100%;
}

.footer-container {
    margin: 0 auto;
    width: 90%;
    display: flex;
    justify-content: center;
    text-align: center;
}

.footer-container a {
    text-decoration: underline;
    color: #fff;
}

@media (max-width: 1278px) {
    .presentation-container {
        gap: 60px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 18px;
        padding: 4px;
    }

    .presentation-text {
        font-size: 18px;
        max-width: 400px;
    }

    .presentation-title {
        font-size: 32px;
    }

    .main-image {
        height: 450px;
        width: 350px;
    }
}


@media (max-width: 958px) {
    .presentation-container {
        gap: 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
        padding: 4px;
    }

    .presentation-text {
        font-size: 16px;
        max-width: 350px;
    }

    .presentation-title {
        font-size: 28px;
    }

    .main-image {
        height: 350px;
        width: 300px;
    }

    .project {
        width: 300px;
        height: 400px;
    }
}

@media (max-width: 767px) {
    .presentation-text {
        order: 1;
    }

    .main-image {
        height: 350px;
        width: 350px;
        border-radius: 50%;
    }

    .project {
        width: 350px;
        height: 450px;
    }
}

@media (max-width: 450px) {
    body {
        padding-top: 63px;
    }

    .navbar-container {
        font-size: 18px;
    }

    .navbar-items a {
        padding: 20px 14px;
    }

    #banner-container {
        height: 700px;
    }

    .name {
        font-size: 22px;
    }

    #title-container {
        max-width: 250px;
    }

    .title {
        font-size: 22px;
        padding-left: 40px;
    }

    .presentation-container {
        flex-direction: column;
        align-items: center;
    }

    .main-image {
        height: 300px;
        width: 300px;
        border-radius: 50%;
    }

    .technologies-icons li {
        width: 100px;
        height: 100px;
    }

    .technologies-icons li i {
        font-size: 60px;
        color: #222222;
    }

    .projects-list {
        padding: 0;
        justify-content: center;
    }

    .contact-form input, .contact-form textarea {
        width: 280px;
    }

    .footer-container {
        font-size: 14px;
    }
}

    
    @media (max-width: 390px) {
        body {
        padding-top: 55px;
        }
        .navbar-container {
            font-size: 16px;
        }

        .navbar-items a {
            padding: 18px 12px;
        }

        .main-image {
        height: 300px;
        width: 300px;
        }

        .presentation-text {
            font-size: 14px;
        }

        .presentation-title {
            font-size: 24px;
        }

        .project {
            width: 300px;
            height: 350px;
        }

        .project p {
            padding-top: 0px;
            font-size: 12px;
        }
    }

    @media (max-width: 360px) {
        .main-image {
        height: 250px;
        width: 250px;
        }

        .project {
            width: 250px;
            height: 300px;
        }
    }
