/* Body styling: background color, text color, full viewport */
body {
    background-color: #f5f4fa;
    color: #444444;
    margin: 0;
    padding: 0;
    height: 100dvh;
    width: 100%;
}

/* Default font and box-sizing for all elements */
* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    margin: 0px;
}

/* Main navigation container */
nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* Navigation elements layout and spacing */
.nav-elements {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    align-items: center;
}

/* Navigation images opacity */
.nav-elements img {
    opacity: 80%;
}

/* Standard link styling */
.link {
    color: #444444;
    text-decoration: none;
}

/* Link hover effect */
a:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* Main content container */
#content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 40px;
}

/* About me section styling */
#about-me {
    width: 950px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    height: calc(100dvh - 60px);
}

/* Profile image styling */
#yo-img {
    width: 250px;
    height: 250px;
    border-radius: 100%;
}

/* Buttons container layout */
.buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Web button styling */
.web-btn {
    width: 100px;
    justify-content: center;
}

/* Contact button styling */
.contact-btn {
    display: flex;
    align-items: center;
    background-color: #b8e0d2;
    border: none;
    border-radius: 10px;
    padding: 5px 10px;
    gap: 5px;
    text-decoration: none;
    color: #2e2e2e;
    border: 1px solid #9ed3c0;
}

/* Contact button hover effect */
.contact-btn:hover {
    background-color: #9ed3c0;
    border: 1px solid #9ed3c0;
    cursor: pointer;
    text-decoration: none;
}

/* Contact button icons size */
.contact-btn img {
    width: 20px;
    height: 20px;
}

/* Container for project technologies */
.project-technologies {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
    gap: 5px;
}

/* Individual technology tag */
.project-technology {
    display: flex;
    align-items: center;
    background-color: white;
    border: none;
    border-radius: 10px;
    padding: 5px 10px;
    gap: 5px;
    color: black;
}

/* Technology icons size */
.project-technology img {
    width: 20px;
    height: 20px;
}

/* Projects container layout */
#projects {
    display: flex;
    flex-direction: column;
    width: 950px;
    gap: 20px;
}

/* Group of projects container */
.projects-group {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

/* Individual project layout */
.project {
    width: 100%;
    padding: 0px 20px;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

/* Carousel container */
.carrousel {
    position: relative;
    width: 500px;
    height: 281.25px;
    margin: auto;
    overflow: hidden;
}

/* Slides inside carousel */
.slides img {
    position: absolute;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    object-fit: cover;
    border-radius: 5px;
}

/* Active slide */
.slides img.active {
    opacity: 1;
}

/* Carousel points container */
.points {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 20px;
}

/* Individual carousel point */
.point {
    height: 12px;
    width: 12px;
    background-color: white;
    border-radius: 100%;
}

/* Point hover effect */
.point:hover {
    cursor: pointer;
    background-color: #b8e0d2;
}

/* Active point color */
.point.active {
    background-color: #7bbba5;
}

/* Experience section container */
#experience {
    width: 950px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

/* Jobs container layout */
#jobs {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* Individual job styling */
.job {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    padding: 0px 20px;
}

/* Image and line container in job section */
.img-and-line {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Description image circle background */
.description-img-div {
    height: 30px;
    width: 30px;
    background-color: #444444;
    border-radius: 100%;
}

/* Description image size */
.description-img {
    width: 30px;
    height: 30px;
    padding: 7.5px;
}

/* Skills section container */
#skills {
    width: 950px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

/* Container for groups of technologies */
#technologies-groups {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: top;
    justify-content: center;
    gap: 50px;
}

/* Individual technologies group box */
#technologies-group {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 2px solid #b8e0d2;
    border-radius: 20px;
    width: 400px;
    background-color: white;
    gap: 20px;
}

/* Technologies container inside group */
.technologies {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 28px;
}

/* Single technology item */
.technology {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100px;
}

/* Technology icon size */
.technology img {
    width: 50px;
    height: 50px;
}

/* Education section container */
#education {
    width: 950px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

/* Courses container layout */
#courses {
    display: flex;
    justify-content: space-between;
    padding: 0px 20px;
    gap: 20px;
}

/* Individual course card */
.course {
    width: 400px;
    border: 1px solid white;
    border-radius: 20px;
    padding: 20px;
}

/* Contact section container */
#contact {
    width: 950px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

/* Footer styling */
footer {
    background-color: #444444;
    color: #ECE7E2;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 10px;
    padding: 50px;
    margin-top: 20px;
}

/* Footer logo size */
.esenebe-footer-log {
    width: 200px;
}

/* Footer contact links layout */
.footer-contact {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer link style */
.footer-contact a {
    color: #f5f4fa;
    margin: 0;
}

/* Footer link hover effect */
.footer-contact a:hover {
    text-decoration: underline;
}

/* Main page container */
#page {
}

/* Hidden menu by default */
#menu {
    display: none;
}

/* Menu hover pointer */
#menu:hover {
    cursor: pointer;
}

/* Open menu container hidden */
#menu-open {
    display: none;
    background-color: #9ed3c0;
}

/* Menu close container layout */
#menu-close-div {
    margin-top: 0px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: end;
    padding: 20px;
}

/* Menu links container */
#menu-links {
    height: calc(100dvh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Close menu button size */
#menu-close {
    width: 50px;
}

/* Close button hover */
#menu-close:hover {
    cursor: pointer;
}

/* Individual menu link */
.menu-link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    color: #444444;
    text-decoration: none;
    padding: 20px;
    font-size: 24px;
}

/* Menu link hover effect */
.menu-link:hover {
    cursor: pointer;
    background-color: white;
    color: #444444;
    text-decoration: none;
}

/* Responsive styles for screens <=1000px */
@media (max-width: 1000px) {
    #about-me {
        width: 100%;
        height: min-content;
    }

    .carrousel {
        width: 280px;
        height: 158px;
    }

    #projects {
        width: 100%;
    }

    .project {
        flex-direction: column-reverse;
    }

    #experience {
        width: 100%;
    }

    .job {
        min-width: 300px;
    }

    #skills {
        width: 100%;
    }

    #education {
        width: 100%;
    }

    #contact {
        width: 100%;
    }

    #nav-links {
        display: none;
    }

    #menu {
        display: flex;
    }
}
