/* styling */

* {
    margin: 0;
    padding: 0;
}

body {
    max-width: 1700px;
    margin: 0 auto;
    font-family: "SF Compact", "Segoe UI", "Roboto", "Helvetica Neue", sans-serif ;
}

html {
    scroll-behavior: smooth;
}

p {
    color: black;
}

/* Transition */

a, .btn {
    transition: all 300ms ease;
}

/* desktop nav*/

nav, .nav-links {
    display: flex;
}

nav {
    justify-content: space-around;
    align-items: center;
    height: 17vh;
}

.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
}

a {
    color: black;
    text-decoration: none;
    text-decoration-color: white;
}

a span {
    display: inline-block;
    transition: transform 0.3s ease;
}

a:hover span {
    color: #004080;
    transform: scale(1.2);
}

.logo {
    font-size: 2rem;
}

.logo:hover {
    cursor: default;
}

/* hamburger menu */

#hamburger-nav {
    display: none;
}

.hamburger-menu {
    position: relative;
    display: inline-block;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger-icon span {
    width: 100%;
    height: 2px;
    background-color: black;
    transition: all 0.3s ease-in-out;
}

.menu-links {
    z-index: 1;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.menu-links li {
    list-style: none;
}

.menu-links.open {
    max-height: 300px;
}

.hamburger-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
    transform: none;
}

.hamburger-icon span:first-child {
    opacity: 1;
}

.hamburger-icon span:first-child {
    transform: none;
}

/* sections */

section {
    padding-top: 4vh;
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
}

.section-container {
    display: flex;
}

/* profile section */

#profile {
    display: flex;
    justify-content: center;
    gap: 5rem;
    height: 80vh;
}

.section__pic-container {
    display: flex;
    height: 400px;
    width: 400px;
    margin: auto 0;
}

.section__text {
    align-self: center;
    text-align: center;
}

.section__text p {
    font-weight: 600;
}

.section__text__p1 {
    text-align: center;
}

.section__text__p2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.section__text__p3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

#socials-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 1rem;
}

/* icon */
 .icon {
     cursor: pointer;
     height: 2rem;
 }

.icon:hover {
    transition: all 500ms ease;
    transform: scale(1.2);
}
 /* button */

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    background-color: #f1ece3;
    color: black;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;

}

.btn:hover {
    background-color: #fcd4a0;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* pic container */

.section__pic-container {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
}

/* projects section */

.experience-details-container {
    display: flex;
    flex-direction: row;
    justify-content: start;
    margin: 3rem;
    overflow: hidden;
}

.details-container {
    padding: 1.5rem;
    flex: 1;
    background: white;
    border-radius: 20px;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.color-container {
    border-color: rgb(163, 163, 163);
    background: rgb(250, 250, 250);
}

.project-btn-container {
    display: flex;
    margin: 2rem;
    gap: 1rem;

}

.project-img {
    border-radius: 20px;
    max-width: 50%;
    max-height: 50%;
    min-width: 30%;
    min-height: 30%;
    object-fit: cover;
    overflow: hidden;
}

.project-title {
    margin: 2rem;
    color: black;
}

.experience-sub-title {
    color: rgb(85, 85, 85);
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.project-row {
    display: flex;
    flex-direction: row;
}

.project-row-reverse {
    display: flex;
    flex-direction: row-reverse;
}
.project-text {
    margin: 2rem;
}

/* earlier projects */

.google-play-container {
    padding: 1.5rem;
    flex: 1;
    background: white;
    border-radius: 20px;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.older-project-img {
    border-radius: 20px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    overflow: hidden;
    margin: 0.75rem;
}

.older-project-img:hover {
    transform: scale(1.11);
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* CONTACT */

#contact {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.contact-info-upper-container {
    display: flex;
    justify-content: center;
    border-radius: 20px;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    margin: 2rem auto;
    padding: 0.5rem;
}

.contact-info-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem;
}

.contact-info-container p {
    font-size: larger;
}

.contact-icon {
    cursor: pointer;
}

.email-icon {
    height: 2.5rem;
}

/* footer */

footer {
    text-align: center;
    margin: 1rem;
}