/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Angkor&family=Roboto&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: black;
    background-image: url("assets/repeating_bg.jpg");
    background-repeat: repeat;

    /* changes background hue -- change the last value (0,1)*/
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.99); 
}

html {
    scroll-behavior: smooth;
}

/* GENERAL */

a,
.btn {
    transition: all 300ms ease;
}

.buffer {
    height: 30vh;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgb(255, 255, 255));
}

.content-container {
    display: flex;
    margin: 20vh auto;
    height: 70%;
    width: 90%;
    justify-content: center;

    /* for checking */
    border-color: white;
    border-style: solid;
}

/* DESKTOP NAV */

nav,
.nav-links {
    display: flex;
}

nav {
    justify-content: space-around;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    min-height: 2rem;
    
    /* Scrolled Variables */
    height: 20vh;
    /* background-color: rgb(255, 0, 0); */
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0), rgb(0, 0, 0, 1));
    opacity: 100%;
    transition: all 0.4s ease;
}

.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
}


nav.scrolled{
    /* Scrolled Variables */
    height: 10vh;
    background-color: white;
    opacity: 98%;
    transition: all 0.4s ease;
    background-image: none;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2);

}

nav.scrolled .nav-links {
    font-size: 1.3rem;
}

nav.scrolled .logo {
    font-size: 2.1rem;
}

a {
    /* color: black; */
    text-decoration: none;
    text-decoration-color: white;
}

a,
.logo {
    color: white;
}

nav.scrolled a,
nav.scrolled .logo {
    color: black;
}

a:hover {
    /* color: grey; */
    font-size: 102%;
    text-decoration: underline;
}

.logo {
    font-size: 2.5rem;
    font-family: "Angkor", serif;
}

.logo:hover {
    cursor: default;
}

#hamburger-nav {
    display: none;
    height: 7vh;
    min-height: fit-content;
    padding-top: 20px;

    /* for checking */
    /* border-color: white;
    border-style: solid; */
}

.hamburger-menu {
    position: relative;
    display: inline-block;  
    padding-bottom: 2vw;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 3vw;
    min-height: 15px;
    aspect-ratio: 3/2;
    cursor: pointer;
}

.menu-links {
    position: fixed;
    top: 9.5vh;
    left: 0;
    background-color: white;
    width: 100vw;
    min-width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: none;
    opacity: 99%;
}

.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 4vw;
    height: fit-content;
    color: black;
    text-decoration: none;
    border-style: solid;
}

.menu-links li {
    list-style: none;   
}

.menu-links.open {
    max-height: 300px;
}

.hamburger-icon {
    /* background-color: yellow; */
    height: 5vw;
    justify-content: center;
    align-content: center;
}

.hamburger-icon img{
    margin: auto;
    width: 70%;
}

.hamburger-icon.open img{
    width: 50%;
    content: url("./assets/close-icon-white.png");
}

/* SECTIONS */

section {
    height: fit-content;
    min-height: 100vh;
    /* box-sizing: border-box; */
    /* min-height: fit-content; */
}

/* PROFILE SECTION */

#profile {
    min-height: 93vh;

    /* for checking */
    /* border-color: white;
    border-style: solid; */
}

.profile-container {
    display: flex;
    justify-content: center;
    padding-top: 28vh;
    column-gap: 2rem;
    row-gap: 1rem;
}

.profilepic-container {
    display: flex;
    margin: auto 0;
    justify-content: center;
    
    /* for checking */
    /* border-color: white;
    border-style: solid; */
}

.profilepic-container img {
    max-width: 450px;
    aspect-ratio: 1/1;
    border-radius: 100%;
    object-fit: cover;
    object-position: 0 10%;
    width: 80%;

    /* for checking */
    /* border-color: white;
    border-style: solid; */
}

.profiletext-container {
    align-self: center;
    text-align: center;
    color: white;

    /* for checking */
    /* border-color: white;
    border-style: solid; */
}

.profiletext-container p {
    margin: 1rem 1rem;
    font-weight: 600;
}

.profiletext-p1 {
    text-align: center;
}


.profiletext-p2 {
    font-size: 3rem;
    text-align: center;
}

.profiletext-p3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

#socials-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 1rem;
}

/* ICONS */

.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(0, 0, 0) 0.1rem solid;
    background: rgb(255, 255, 255);
}

.btn-color-1:hover,
.btn-color-2:hover {
    cursor: pointer;
    background: rgb(53, 53, 53);
    color: white;
    border: rgb(255, 255, 255) 0.1rem solid;
}

.btn-container {
    gap: 1rem;
}

/* ABOUT SECTION */

#about {
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    gap: 5rem;
    padding-bottom: 10vh;
} 

.about-container {
    padding-top: 13vh;
}

.about-introtext-p1 {
    text-align: center;
}

.about-introtext-p2 {
    font-size: 3rem;
    text-align: center;
    padding-bottom: 0.5rem;
}

.about-details-container {   
    row-gap: 0.5rem;
    column-gap: 2.5rem;
    height: fit-content;
    display: flex;
    justify-content: center;
    padding: 10px 20px;
    /* flex-wrap: wrap; */
    
    /* border-color: yellow;
    border-style: solid; */
}

.about-pic-container {
    justify-content: center;
    display: flex;
    width: 30vh;
    min-width: 200px;
    max-width: 450px;
    margin: auto 0;

    /* border-color: black;
    border-style: solid; */
}

.about-pic1 {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 2rem;
    object-fit: cover;
    object-position: 40% 100%;
}

.about-pic2 {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 2rem;
    object-fit: cover;
    object-position: 0 10%;
}

.about-information-container {
    display: table-column;
    justify-content: center;
    text-align: justify;
    width: 80%;
    /* min-width: 300px; */
    max-width: 750px;
    margin: auto 0;

    /* border-color: black;
    border-style: solid; */
}

.about-information-title-container {
    display: flex;
    width: 100%;
    height: fit-content;

    /* color: black;
    border-style: solid; */
}

.about-information-title {
    display: table-column;
    margin: 10px auto;
    padding: 10px 0;
    width: 47%;
    text-align: center;
    border-radius: 1rem;

    color: black;
    border-style: solid;
}

.about-information-text {
    width: 100%;
    height: fit-content;
    padding-top: 10px;

    /* border-color: black;
    border-style: solid; */
}

/* PROJECTS SECTION */

#projects {
    background-color: black;
    background-image: url("assets/purple_planet_bg.jpg");
    object-fit: cover;
    padding-top: 13vh;
    
    /* changes background hue -- change the last value (0,1)*/
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.95); 
} 

.projects-introtext-p1 {
    text-align: center;
    color: white;
}

.projects-introtext-p2 {
    font-size: 3rem;
    text-align: center;
    padding-bottom: 0.5rem;
    color: white;
}

.about-containers {
    gap: 5rem;
    margin-bottom: 5rem;
    margin-top: 5rem;
    padding: 0 3.5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.article-container {
    display: flex;
    text-align: initial;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2.5rem;
    justify-content: space-around;
}

.color-container {
    border-color: rgb(163, 163, 163);
    background: rgb(250, 250, 250);
    border-radius: 2rem;
    padding: 2rem 1rem;
    width: 15rem;
}

.project-img {
    border-radius: 2rem;
    width: 70%;
    object-fit: cover;
    aspect-ratio: 1/1;
    border-color: black;
    border-style: solid;
}

.project-title {
    margin: 1rem;
    color: black;
    text-align: center;
    font-size: medium;
}

.project-btn {
    color: black;
    border-color: rgb(163, 163, 163);
}


/* CONTACT SECTION */

#contact {
    background-color: white;
    padding-top: 13vh;
    justify-content: center;
    margin: auto 0;
    display: flex;
    min-height: 82vh;
}

.contact-container {
    min-width: fit-content;
    width: 80%;
    height: 80vh;
    align-content: center;

    /* border-color: black;
    border-style: solid; */
}

.contact-introtext-p1 {
    text-align: center;
    color: black;
}

.contact-introtext-p2 {
    font-size: 3rem;
    text-align: center;
    padding-bottom: 0.5rem;
    color: black;
}

.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: (250, 250, 250);
    margin: 2rem auto;
    padding: 0.5rem;
    min-width: fit-content;
    max-width: 50%;
}

.contact-info-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem;
}

.contact-info-container p a{
    font-size: larger;
    color: black;
}

.contact-icon {
    cursor: default;
}

.email-icon {
    height: 2.5rem;
}

/* FOOTER SECTION */

footer {
    height: 5vh;
    min-height: fit-content;
    margin: 0 1rem;
}

footer p {
    align-content: center;
    text-align: center;
    color: white;
    height: 100%;
}