*,
body {
    padding: 0;
    margin: 0;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    transition: all 0.3s ease-in-out;
}

section {

    background-color: #000;
}

:hover {
    color: #e43d2b;
    transition: ease-in-out 0.10s;
}

ul,
ol,
li,
a {
    text-decoration: none;
    list-style-type: none;
}

.heroBanner .container {
    margin: 0 20%;
}

.container {
    margin: 0 11%;
}

.background img {
    position: absolute;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(150%);
    z-index: 3;
}

.background::after {
    content: '';
    background: linear-gradient(45deg, #000000ab, #0000001f);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 1;
}

.heroBanner {
    transition: ease-in-out 0s;
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    z-index: 5;
    overflow-y: auto;
    transition: 0.5s !important;
    background: transparent;
}

.heroBanner h1 {
    font-size: 50px;
    font-weight: 800;
}

.menu nav ul {
    display: flex;
    gap: 30px;
    padding-top: 30px;
}

.menu a {
    font-weight: 500;
}

/* Projects */


.card img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.card {
    width: 450px;
    border: 1px solid white;
}

.text-card {
    padding: 20px;
}

.text-title {
    margin-bottom: 20px;
}

.project-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

section#projects {
    padding: 50px 0px;
}

.wordpressProject h1 {
    margin-bottom: 30px;
    text-transform: uppercase;
}

.img-card {
    height: 370px;
}

/* Skills */

.skills {
    height: auto;
    padding: 50px 0;
}

.skills-container {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.skill {
    flex: 1 1 200px;
    min-width: 200px;
    max-width: 300px;
}

.skill-name {
    font-size: 18px;
    margin-bottom: 5px;
}

.progress-bar {
    background-color: #444;
    border-radius: 5px;
    height: 20px;
    width: 100%;
    overflow: hidden;
}

.progress {
    background-color: #e43d2b;
    height: 100%;
    transition: width 0.5s ease;
}

.skill-percentage {
    font-size: 14px;
    margin-top: 5px;
    text-align: right;
    color: #e43d2b;
}

/* About me */

.about {
    padding: 50px 0px;
}

.profile,
.achievement {
    margin: 30px 0;
    display: flex;
    align-items: center;
    background-color: #1c1b1b;
    border: 1px solid;
    padding: 20px;
    gap: 20px;
}

.about img {
    width: auto;
    height: 150px;
    border-radius: 100%;
    object-fit: contain;
}

.profile-text p:first-of-type {
    padding-bottom: 20px;
}

.profile-text p span:hover {
    color: white !important;
}


.experienceImg-container {
    display: flex;
}

.logoText {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.year-location {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    gap: 20px;
}

.experience {
    background-color: #1c1b1b;
    border: 1px solid;
    padding: 20px;
    margin-top: 30px;
}

/* Contact */

.contact {
    padding: 50px 0px;
}

.contact p {
    margin: 30px 0;
}

.contact a {
    color: #e43d2b;
}

/* Scroll up */
.scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #e43d2b;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    display: none;
    z-index: 1000;

}

.scrollToTop:hover {
    background-color: #fc3a24c5 !important;
}

/* Hamburger menu */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

button#hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
}

@media screen and (max-width: 1024px) {

    .profile,
    .achievement,
    .experienceImg-container {
        flex-direction: column;
    }
}

@media screen and (max-width: 767px) {

    .skills-container {
        justify-content: center;
    }

    .hamburger {
        display: flex;
    }

    .menu {
        left: 0;
        width: 100%;
        background-color: #000;
        display: none;
        align-items: center;
    }

    .menu.active {
        display: flex;
        position: fixed;
        top: 0;
        height: 100vh;
        justify-content: center;
        transition: all 0.3s ease-in-out;
    }

    .menu nav ul {
        flex-direction: column;
        gap: 15px;
        transition: all 0.3s ease-in-out;
    }

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