/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=League+Spartan:wght@100..900&display=swap');


* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

/* 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: rgb(255, 255, 255);
    text-decoration: none;
    text-decoration-color: white;
}

a:hover {
    color: rgb(0, 0, 0);
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: rgb(0, 0, 0);
}

.logo {
    font-size: 2rem;
    color: rgb(255, 255, 255);
}

.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 250ms ease-in-out;
}

.menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(83, 83, 83, 0.484);
    border-radius: 0.5rem;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 250ms ease-in-out;
    margin-right: 0.1rem;
    margin-top: 0.5rem;
}

.menu-links a{
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: rgb(255, 255, 255);
    text-decoration: none;
    transition: all 250ms 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;
}


/* SECTION */

section {
    padding-top: 4vh;
    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;
}

.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.75rem;
    margin-bottom: 1rem;
}

.title {
    font-size: 3rem;
    text-align: center;
    color:rgb(255, 255, 255);
}

#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(53, 53, 53) 0.1rem solid;
}

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

.btn-color-1, 
.btn-color-2:hover {
    /* background: rgb(53, 53, 53); */
    color: white;
}

.btn-color-1:hover {
    /* background: rgb(0, 0, 0); */
}

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

.btn-color-2:hover {
    border: rgb(255, 255, 255) 0.1rem solid;
}

.btn-color-3
{
    background: rgb(53, 53, 53);
}

.btn-color-3:hover {
    background: rgb(0, 0, 0);
}

.resume-text:hover {
    background: rgb(53, 53, 53);

}

.btn-container {
    gap: 1rem;
}



/* ABOUT SECTION */

#about {
    position: relative;
    margin-left: 0rem;
    margin-right: 0rem;
    margin-bottom: -1rem;
    padding-bottom: 0rem;
    margin-top: 20rem;
    
}

.about-inside {
    padding: 5rem;
}

.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: 2rem;
    bottom: 18rem;
}

.details-container {
    padding: 1.5rem;
    flex: 1;
    background-color: transparent;
    background-image: linear-gradient(-225deg, #65379B 0%, #886AEA 53%, #6457C6 100%);
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(42,27,60);
    background-color: rgba(0, 0, 0, 0.159);
    background-image: none;
    border: none;
    text-align: center;
}

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

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



/* EXPERIENCE SECTION */

#experience {   
    position: relative;
    background-color: #273036;
    margin-left: 0rem;
    margin-right: 0rem;
    margin-bottom: 0rem;
    padding-bottom: 0rem;
}

.experience-inside {
    padding: 5rem;
}

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

.experience-details-containers {
    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;
    color: rgb(255, 255, 255);
} 

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

article .icon {
    cursor: default;
}



/* PROJECT SECTION */

#projects {
    position: relative;
    height: auto;
    background-color: #2c3c49;
    padding: 1rem;
    padding-bottom: 10rem;
    margin-bottom: 0rem;
    margin-left: 0rem;
    margin-right: 0rem;
}

.color-container {
    border-color: rgb(42,27,60);
    background-image: linear-gradient(-225deg, rgb(101, 55, 155) 0%, rgb(136, 106, 234) 53%, rgb(100, 87, 198) 100%);
}

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

.project-title {
    margin: 1rem;
    color: rgb(255, 255, 255);
}

.project-btn {
    color: rgb(255, 255, 255);
    border-color: rgb(42,27,60);
    

}
         

 

/* CONTACT */

#contact {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 70vh;
    margin-top: 0rem;
    padding: 0rem;
    margin-left: 0rem;
    margin-right: 0rem;
    background-image: linear-gradient(to bottom, #2c3c49, #2c3c49c4, #436b89, #537895);
}

.contact-info-upper-cotainer {
    display: flex;
    justify-content: center;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(53, 53, 53);
    background: rgb(130,101,167);
    background-color: rgba(0, 0, 0, 0.159);
    background-image: none;
    border: none;
    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: default;
}

.email-icon {
    height: 2.5rem;
}



/* FOOTER SECTION */
footer {
    height: 26vh;
    margin: 0 1rem;
}

footer p {
    text-align: center;
}


.title-project {
    text-align: center;

    font-size: 3rem;
    margin-top: 3rem;
    margin-left: 11rem;
    margin-right: 11rem;
    padding: 0.5rem;
    color: rgb(255, 255, 255);

    border: rgb(53, 53, 53) 0.01rem solid;
    border-color: rgb(42, 27, 60);
    background-color: transparent;
    background-image: radial-gradient( circle farthest-corner at 10% 20%,  rgba(0, 0, 0, 0.2) 0%, rgba(22, 21, 28, 0.2) 90% );
} 


.wrapper {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    perspective: 10px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #000000;
    
}

header {
    position: relative;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    height: 100%;
    transform-style: preserve-3d;
    z-index: -1;
}

.volcanoes-img,
.land-img,
.bg-img,
.clouds-img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
}

.bg-img {
    transform: translateZ(-20px) scale(3.1);
}
.volcanoes-img {
    transform: translateZ(-15px) scale(2.5);
}
.land-img {
    transform: translateZ(-5px) scale(2);
}
.clouds-img {
    transform: translateZ(-2px) scale(1);
}

#wrapper-inside {
    background-image: linear-gradient(to bottom, rgb(42, 27, 60), rgba(42, 27, 60, 0.901), rgba(42, 27, 60, 0.216), rgba(42, 27, 60, 0));
    background-image: linear-gradient(to bottom, #20002c, #cbb4d4);
    background-image: linear-gradient(to top, #09203f 0%, #537895 100%);
    background-image: linear-gradient(to top, #537895, #46637b, #394f61, #2c3c49, #202932, #14181c, #000000);
    margin: 0;
    height: auto;
}

.nav-text {
    color: white;
}

.title-main {
    color: rgb(255, 255, 255);
    font-family: "League Spartan", sans-serif;
    padding: 0.5rem;
    background-color: gray;
    border-radius: 5rem;
    background-color: rgba(0, 0, 0, 0.258);
}

/* UTILIITY */
.about-pic {
    scale: .8; opacity: 0;
    animation: fade-in linear forwards;
    animation-timeline: view();
    animation-range: 150px 350px;
}

@keyframes fade-in {
    to { scale: 1; opacity: 1;}
    
}

.contact-info-upper-cotainer {
    scale: .8; opacity: 0;
    animation: fade-in linear forwards;
    animation-timeline: view();
    animation-range: 100px 300px;
}

.title,
.section__text__p1 {
    scale: .8; opacity: 0;
    animation: fade-in linear forwards;
    animation-timeline: view();
    animation-range: 100px 300px;
}

.bg-img {
    transform: translateZ(-20px) scale(3.1);
    animation: header-image-animation linear forwards;
    animation-timeline: view();
    animation-range: exit;
}
.volcanoes-img {
    transform: translateZ(-15px) scale(2.5);
    animation: header-image-animation linear forwards;
    animation-timeline: view();
    animation-range: exit;
}
.land-img {
    /* transform: translateZ(-5px) scale(2);
    animation: header-image-animation linear forwards;
    animation-timeline: view();
    animation-range: exit; */
}
.clouds-img {
    transform: translateZ(-2px) scale(1);
    animation: header-image-animation linear forwards;
    animation-timeline: view();
    animation-range: exit;
}

@keyframes header-image-animation {
    25% { opacity: 1;}
    85%, 100% {opacity: 0;}
}

.about-containers {
    scale: .8; opacity: 0;
    animation: fade-in linear forwards;
    animation-timeline: view();
    animation-range: 100px 300px;
}

.title-project {
    scale: .8; opacity: 0;
    animation: fade-in linear forwards;
    animation-timeline: view();
    animation-range: 100px 300px;

}

@keyframes scroll-right {
    to { translate: 5;}
}

.blender-text {
    margin-right: 3rem;
}

.aseprite-text {
    margin-right: 3rem;
}

.project-sub-title {
    padding-top: 1rem;
    font-size: 1.2rem;
    font-family: "League Spartan", sans-serif;
}

.scroll-container,
.scroll-container2 {
    overflow-x: scroll;
    padding: 2rem;
}

.scroll-container::-webkit-scrollbar,
.scroll-container2::-webkit-scrollbar {
    display: none;
}

.project-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

#next-button,
#next-button2 {
    size: 10%;
}

#back-button, 
#next-button,
#back-button2, 
#next-button2 {
    width: 100px;
    margin: 40px;
    cursor: pointer;
    scale: .8; opacity: 0;
    animation: fade-in linear forwards;
    animation-timeline: view();
    animation-range: 100px 300px;
}

.scroll-container div,
.scroll-container2 div {
    transition: transform 0.5s;
}

.scroll-container div:hover,
.scroll-container2 div:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.resume-text {
    color: gainsboro;
}

         
.project-btn {
    background-image: none;
    border-color: white;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
  }

.project-btn:hover {
    background-image: linear-gradient(to right, #F0F2F0 0%, #000C40  51%, #F0F2F0  100%);
    box-shadow: 0 0 20px #eee;
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
  }
 

.color-container {
    background-color: rgba(0, 0, 0, 0.159);
    background-image: none;
    border: none;
    
  }

.icon {
    filter: invert(100%);
  }

h3 {
    color: white;
  }

.about-border {
    background-color: rgb(53, 53, 53);
  }
 

.experience-container {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  /* POST_SECTION */

/* .post {
	width: 400px;
	font-family: 'Lexend', sans-serif;
    margin-right: 3rem;
}

.post-image {
	display: block;
	width: 100%;
}

.post-ratings-container {
	display: flex;
	justify-content: end;
	padding: 12px 0;
}

.post-rating {
	display: flex;
	align-items: center;
	cursor: default;
}

.post-rating:not(:last-child) {
	margin-right: 12px;
}

.post-rating-selected > .post-rating-button,
.post-rating-selected > .post-rating-count {
	color: #009578;
}

.post-rating-button {
	margin-right: 6px;
	cursor: pointer;
	color: #555555;
}

.post-rating:not(.post-rating-selected) > .post-rating-button:hover {
	color: #000000;
}

.noSelect {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.noSelect:focus {
    outline: none !important;
} */

.my-logo {
    width: 100px;
    height: 100px;
    border-radius: 4rem;
    border: rgba(255, 255, 255, 0.378) 0.1rem solid;
    margin-top: 1rem;
    margin-left: 2rem;
    padding: 0rem;
}

.my-logo:hover {
    filter: grayscale(100%);
}

.logo {
    margin-right: 15rem;
    padding-right: 0rem;
    -webkit-text-stroke: 0.1vw rgb(66, 66, 66);
    color: transparent;
    visibility: visible;
}

.logo::before { 
    content: attr(data-text);
    position: absolute;
    width: 100%;
    height: 100%;
    color: white;
    -webkit-text-stroke: 0vw rgb(87, 83, 83);

    overflow: hidden;
    text-wrap: nowrap;
    animation: animate 6s linear infinite;
    pointer-events: none;

}

@keyframes animate {
    0%,10%,100%{
        width: 0;
    }
    70%,90%{
        width: 100%;
    }
}

.nav-links {
    margin-right: 5.5rem;
}

.Certificate-btn {
    width: 30rem;
    height: 5rem;
    font-size: 2rem;
    background-color: rgba(29, 29, 29, 0.255);
}

.wave {
    position: relative;
    bottom: 0rem;
}

.wave2 {
    position: relative;

}

.exp_arrow {
    bottom: 2rem;
}

.project_arrow {
    bottom: 57rem;
}


 

