/* FONT IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&display=swap');
@import url('https://fonts.cdnfonts.com/css/the-wild-breath-of-zelda');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #d8f1d4;
    background-image: linear-gradient(#ffffff 0.8px, transparent 0.8px), linear-gradient(to right, #ffffff 0.8px, #d8f1d4 0.8px);
    background-size: 16px 16px;
    font-family: "Montserrat", sans-serif;
}

html {
    scroll-behavior: smooth;
}

p {
    color: #141807;
}

/* 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: 2rem;
}

a {
    color: #141807;
    text-decoration: none;
    text-decoration-color: #141807;
}

a:hover {
    color: #141807;
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: #141807;
}

/* LOGO - ADD IN THE BELOW FOR HTML */

.logo {
    padding-top: 5vh;
}

/* LOGO - ADD IN THE BELOW FOR HTML */

.logo:hover {
    cursor: default;
    transform: scale(1.2);
    transition: all 1s ease;
}

/* 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.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;
    z-index: 60;
}

.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;
}

.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;
    height: 80vh;
    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: 450px;
    width: 450px;
    margin: auto 0;
}

.section-text {
    align-self: center;
    text-align: center;
    border: 2px solid black;
    background: whitesmoke;
    border-radius: 1rem;
    padding: 24px;
}

.section-text p {
    font-weight: 800;
}

.title {
    text-align: center;
    font-size: 3.1rem;
    line-height: 0.8;
}

.section-text-h1 {
    font-weight: 400;
    font-size: 1.5rem;
    text-align: center;
    line-height: 1.6;
}

.section-text-h1a {
    font-family: 'The Wild Breath of Zelda', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    text-align: center;
    cursor: url(img/korok3.png), pointer;
}

.section-text-p2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

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

/* ICONS */

.social-icon {
    cursor: pointer;
    height: 3.2rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.3);
}

footer {
    text-align: center;
    font-weight: 200;
}

/* ACTIVE LINKS */
.nav-links .active,
.menu-links .active {
    color: #141807;
    border: 1px solid white;
    border-radius: 2rem;
    padding: 20px;
    background: white;
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: #141807;
}

.article-container {
    display: flex;
    text-align: initial;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2.5rem;
    justify-content: space-around;
}

.article-container:hover {
    cursor: default;
    transform: scale(1.05);
    transition: all 1s ease;
}

article {
    display: flex;
    width: 10rem;
    justify-content: space-around;
    gap: 0.5rem;
}

article .icon {
    cursor: default;
}

/* ABOUT SECTION */

#about {
    position: relative;
}

.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;
}

.details-container {
    padding: 1.2rem;
    flex: 1;
    background: whitesmoke;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: black;
    text-align: center;
    font-size: large;
}

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

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

.text-container {
    font-size: 0.98rem;
    line-height: 1.6;
    border: 3px solid black;
    background: white;
    border-radius: 2rem;
    padding: 10px;
}

/* PROJECTS SECTION */

#projects {
    position: relative;
}

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

.project-img {
    border-radius: 2rem;
    width: 90%;
    height: 90%;
}

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

.project-btn {
    color: black;
    border-color: rgb(163, 163, 163);
}

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

/* FOOTER SECTION */

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

footer.section p {
    text-align: center;
}