/* General Styling */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
}

body{
    font-family: 'IBM Plex Sans', sans-serif;
    background-color: rgb(41, 41, 41);
}

html{
    scroll-behavior: smooth; /*scroll smoothly when clicking header links*/
}

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

/* Transition */

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

/* Desktop Nav */

nav, .nav-links {
    display: block;
    justify-content: center;
    text-align: center;
}

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

.nav-links{
    list-style: none; /* remove bullet points */
    font-size: 1.8rem;
    margin-top: 3rem;
}

.nav-links a {
    display: block;
    padding: .625rem;
    text-align: center;
    color: rgb(0,200,200);
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

.bottom-page {
    margin: 10rem;
}

a {
    color: rgb(0, 200, 200);
    text-decoration: none;
    text-decoration-color: rgb(41, 41, 41);
}

a:hover {
    color: rgb(0, 150, 150);
    /*text-decoration: underline;
    text-underline-offset: 0.7rem;*/
    text-decoration-color: rgb(0, 150, 150);
    cursor: pointer;
}

/* Hamburger Menu */

#mobile-nav {
    display: none;
    align-items: center;
    position:absolute;
    right: 1.5rem;
}

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

.icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 1.5rem;
    width: 1.5rem;
    cursor: pointer;
}

.icon span{
    width: 100%;
    height: 2px;
    background-color: rgb(0, 200, 200);
    transition: all 0.3 ease-in-out;
    right: 0;
}

.menu-links {
    position: absolute;
    top: 100%;
    right: 0%;
    background-color: rgb(41,41,41);
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
}

.menu-links a {
    display: block;
    padding: 0.625rem;
    text-align: center;
    font-size: 1.5rem;
    color: rgb(0,200,200);
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

.menu-links a:hover {
    color: rgb(0, 150, 150);
    text-decoration: underline;
    text-underline-offset: 0.7rem;
    text-decoration-color: rgb(0, 150, 150);
}

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

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

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

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

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

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

.icon span:nth-child(2) {
    opacity: 1;
}

.icon span:last-child{
    transform: none;
}

/* Profile Picture */

#profile-section {
    text-align: center;
    padding-top: 2.5rem;
    width: 70vh;
    margin: auto;
}

.profile img{
    height: 15rem;
    border-radius: 8rem;
    border: 0.3rem solid rgb(0,200,200);
}

.profile h1{
    font-size: 4rem;
    color: rgb(0, 200, 200);
    margin: 0.5rem;
    border-bottom: 2px solid rgb(0, 200, 200);
}

.profile-text {
    font-size: 1.8rem;
    color: rgb(0, 200, 200);
    margin: 1.3rem;
}

.location {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4rem;
    border-bottom: 2px solid rgb(0, 200, 200);
}

/* Socials */

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

.social-icon {
    cursor: pointer;
    height: 1.7rem;
}

/* Sections */

section {
    padding-top: 5vh;
    /*height: 95vh;*/
    margin: 0 10rem;
    box-sizing: border-box;
    min-height:fit-content;
    justify-content: center;
}

.section_header_styling{
    font-size: 3.5rem;
    font-weight: 600;
    color: rgb(0, 200, 200);
    margin: 0.5rem;
}

.section_header2_styling{
    font-size: 2.5rem;
    font-weight: 420;
    color: rgb(0, 200, 200);
    margin: 0.6rem;
}

.section_text_styling{
    font-size: 1.7rem;
    font-weight: 400;
    color: rgb(0, 180, 180);
    margin: 0.5rem;
}

.section_text2_styling{
    font-size: 1.5rem;
    font-weight: 400;
    color: rgb(0, 150, 150);
    margin: 0.5rem;
    text-indent: 2rem;
}

.section_text2_styling_ul{
    font-size: 1.5rem;
    font-weight: 400;
    color: rgb(0, 150, 150);
    margin: 0.5rem;
    margin-left: 6rem;
}

button {
    display: flex;
    justify-content: center;
    transition: all 300ms ease;
    padding: 1rem;
    width: 12rem;
    border-radius: 2rem;
    background-color: rgb(41,41,41);
    border: 0.2rem solid rgb(0,200,200);
    font-size: 1.5rem;
    font-weight: 600;
    color: rgb(0,200,200);
}

button:hover {
    cursor: pointer;
    background-color: rgb(0, 200, 200);
    color: rgb(41, 41, 41);
}

.game-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.game-links img{
    height: 3.7rem;
    cursor: pointer;
}

/* about 

.about-content {
    display: flex;
    gap: 2rem;
}

.about-content img{
    height: 35rem;
    border-radius: 20%;
    border: 0.3rem solid rgb(0,200,200);
}
*/

/* projects */

.forage-friendzy {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.project-media {
    margin-top: 1rem;
    text-align: center;
}

#ff-game-logo {
    height: 30rem;
    border-radius: 50%;
    border: 0.3rem solid rgb(0, 200, 200)
}

iframe, video{
    border-radius: 1%;
    border: 0.3rem solid rgb(0, 200, 200);
    margin-top: 1rem;
}

.puzzlegeist {
    display: flex;
    gap: 2rem;
    margin-top: 5rem;
}

#pg-game-logo {
    height: 30rem;
    border-radius: 5%;
    border: 0.3rem solid rgb(0, 200, 200)
}

.the-wild-return {
    display: flex;
    gap: 2rem;
    margin-top: 5rem;
}

#twr-title-img {
    height: 3rem;
    border-radius: 1%;
    border: 0.3rem solid rgb(0, 200, 200)
}

.other-projects {
    display: flex;
    gap: 2rem;
    margin-top: 5rem;
}

/* skills */

#skills {
    min-height: 100vh;
}

.skill-row{
    display: flex;
    margin-top: 2rem;
}

.skill-row .skill-column{
    flex-basis: 46%;
}

.skill-bar{
    position: relative;
    width: 100%;
    height: 0.5rem;
    background-color: rgb(21, 21, 21);
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.skill-bar::after{
    position: absolute;
    content: attr(value);
    top: -2rem;
    right: 0;
    color: rgb(0, 180, 180);
    font-size: 1.2rem;
}

.skill-line{
    position: absolute;
    width: 0%;
    height: 0.5rem;
    background-color: rgb(0, 180, 180);
    border-radius: 1rem;
    animation: animate 1.5s cubic-bezier(1, 0.5, 0.5, 1) forwards;
}

@keyframes animate{
    100%{
        width: 100%;
    }
}

/* education */

.education-text{
    text-align: center;
    margin-top: 4rem;
}

/* resume */
#resume {
    height: 50vh;
}

#resume button{
    display: block;
    margin: auto;
    margin-top: 5rem;
}

#home {
    display: flex;
}

/* other projects page*/

.project-media-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 1rem;
}

.project-media-container img, iframe{
    margin-top: 1rem;
    text-align: center;
    height: 20rem;
    width: 35.555rem;
    border-radius: 2rem;
    border: 0.3rem solid rgb(0, 200, 200)
}