/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@500;600;700;800&family=Sometype+Mono:ital,wght@0,400;0,500;0,700;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sometype+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Handjet:wght@300;500&display=swap');

* {
    margin:0;
    padding:0;
}

li {
    font-family: 'Sometype Mono'; 
}

body::-webkit-scrollbar {
    display: none;
}
  
body {
    font-family: 'Mulish', sans-serif;
    -ms-overflow-style: none;
    background-image: linear-gradient(to bottom right, #fefed8, #f8e1fe);
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
}

p {
    color: rgb(85,85,85);
}

/* TRANSITION */

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

/* DESKTOP NAV */

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

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

.nav-links {
    gap: 2rem; /* rem is a unit of measurement */
    list-style: none; /* removes bullet points */
    font-size: 1.5rem;
}

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

a:hover {
    color: #1e30ff;
    text-decoration: underline;
    text-underline-offset: 1rem; /* spaces out underline for the text */
    text-decoration-color: #1e30ff;
}

.logo {
    font-size: 2rem;
    font-family: 'Sometype Mono'; 
    text-align: center;
    font-weight: 800;
    color: #1e30ff;
}

.logo:hover {
    cursor: default;
}

/* HAMBURGER MENU (for mobile optimization etc.) */

#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.3 ease-in-out;
}

.menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 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.3 ease-in-out;
}

.menu-links li {
    list-style: none; /* removes bullet points */
}

/* open class added/removed in js */
.menu-links.open { 
    max-height: 300px;
    border: #1e30ff  0.1rem solid;
}

.hamburger-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px); /* transforms and moves hamburger line into an X */
}

.hamburger-icon.open span:nth-child(2) {
    opacity: 0; /* removes the second hamburger line */
}

.hamburger-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px); /* transforms and moves hamburger line into an X */
}

.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;
    min-height: 96vh;
    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; /* auto on top, 0 on the sides */
}

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

.section__text p {
    font-weight: 600;
}

.section__text__p1 {
    text-align: center;
    font-family: 'Sometype Mono'; 
    font-weight: 500 !important;
}

.section__text__p2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-family: 'Sometype Mono'; 
    font-weight: 500 !important;
}

.title {
    font-size: 3rem;
    text-align: center;
    font-weight: 800;
    color: #1e30ff;
}

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

/* ICON */

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

/* BUTTONS */

.btn-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    font-weight: 600;
    transition: all 300ms ease;
    padding: 1rem;
    width: 8rem;
    border-radius: 2rem;
}

.btn-color-1, .btn-color-2 {
    /* border: rgb(53, 53, 53) 0.1rem solid; */
    border: #1e30ff 0.1rem solid;
    background-color: #fdff9e;
    color: #1e30ff;
}

.btn-color-1:hover, .btn-color-2:hover {
    cursor: pointer;
}

.btn-color-1, .btn-color-2:hover {
    background: #1e30ff ;
    color: #fdff9e;
}

.btn-color-1:hover {
    background: #0b136c;
}

.btn.color-2 {
    background: none;
}

.btn-color-2:hover {
    border: #1e30ff 0.1rem solid;
}

.btn-container {
    gap: 1rem;
}

/* ABOUT SECTION */

.text-container {
    /* width: 50%; */
}

#about {
    position: relative;
    height: 96vh;

}

#about h3 {
    font-family: 'Sometype Mono'; 
    font-weight: 800 !important;
    font-size: larger;
}
.about-containers {
    gap:2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.about-details-container {
    justify-content: center;
    flex-direction: column;
}

.about-containers,
.about-details-container {
    display: flex;
}

.about-pic {
    border-radius: 2rem;
}

.arrow {
    position: absolute;
    right: -5rem; /* -5 rem from right of screen */
    bottom: 2.5rem;
}

.details-container {
    padding: 1.5rem;
    flex: 1;
    background: #fefed8;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: #1e30ff;
    text-align: center;
}

.details-container-education {
    padding: 1.5rem;
    flex: 1;
    background: #fefed8;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: #1e30ff;
    text-align: center;
    width: 50%;       /* Adjusts to screen size */
    max-width: 600px; /* Limits to 600px on larger screens */
    margin: 0 auto;   /* Centers the container */
    margin-top: 1rem;
    margin-left: 0;    /* Moves container to the left */

}

.section-container {
    gap: 4rem;
    height: 80%;
}

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

#about .about-details-container {
  display: flex;
  flex-direction: column;
}

#about .text-container {
  max-width: 700px;  /* prevents stretching too wide */
  text-align: left;  /* ensure left-aligned text */
}


/* EXPERIENCE SECTION */

#experience {
    position: relative;
}

.experience-sub-title {
    color: #ff1d1e;
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    margin-right: 1rem;
    font-family: 'Sometype Mono'; 
    font-weight: 800 !important;
}

.experience-details-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
  
.article-container {
    display: flex;
    text-align: initial;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2.5rem;
    justify-content: space-around;
}
  
article {
    display: flex;
    width: 10rem;
    gap: 0.5rem;
}

article {
    font-family: 'Sometype Mono'; 
    font-weight: 500 !important;
}
  
article .icon {
    cursor: default;
}

.frontend-backend-container .details-container {
    display: flex;
}

/* Individual article adjustments */
.graphic-design-container article {
    display: flex;
    width: 10.5rem; /* Adjust this width as needed */
    gap: 0.5rem;
  }

.graphic-details-container {
    padding: 17px;
    flex: 0.5;
    background: #fefed8;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: #1e30ff;
    text-align: center;
    
}

/* PROJECTS */
/* use as a baseline to add more containers */

#projects {
    position: relative;
}

.color-container {
    border-color: #1e30ff;
    background: #fefed8;
}

.color-container h2 {
    font-family: 'Sometype Mono'; 
    font-weight: 600 !important;
}

.project-img {
    border-radius: 0rem;
    width: 90%; /* change to 90% when adding more projects */
    height: 90%; /* change to 90% when adding more projects */
}

.project-title {
    margin: 1rem;
    margin-bottom: -1rem;
    color: #1e30ff;
}

.project-btn {
    color: #1e30ff;
    border-color: #1e30ff;
}

/* CONTACT */

#contact {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 70vh;
}
/* 
@supports (-moz-appearance: none) {
    #contact {
        height: 200vh; 
    }
} */

.contact-info-upper-container {
    display: flex;
    justify-content: center;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    background: rgb(250, 250, 250);
    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 .clickable {
    cursor: pointer;
}

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

.contact-icon {
    cursor: default;
}

.email-icon {
    height: 2.5rem;
}

/* FOOTER SECTION */

footer {
    height: 20vh;
    margin: 0 1rem;
}

footer p {
    text-align: center;
}