/* GENERAL */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}

p, li, h4 {
    color: rgb(85, 85, 85);
}

/*TRANSITION*/

a, .btn {
    transition: all 300ms ease;
}

/* DESKTOP NAV */

nav, 
.nav-links {
    display: flex;
}

nav {
    justify-content:space-between;
    padding-inline: 1rem;
    align-items: center;
    height: 17vh;
}

.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
}

a {
    color: black;
    text-decoration: None;
    text-decoration-color: white;
}

a:hover {
    color: grey;
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: rgb(181, 181 ,181)
}

.logo {
    font-size: 2rem;
}

.logo:hover {
    cursor: default;
}

/* SIDE-MENU */

#side-nav {
    display: none;
}


.side-menu {
    position: relative;
    display: inline-block;
}

.side-menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.side-menu-icon span {
    width: 100%;
    height: 2px;
    transition: all 0.3s ease-in-out;
    background-color: black;
}

.menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}


.menu-links a {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 1.5rem;
    color: black;
    text-decoration:solid;
    transition: all 0.3s ease-in-out;
}

.menu-links li {
    list-style: none;
}

.menu-links.open {
    max-height: 300px;
    background-color: transparent;
}

.side-menu-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
}

.side-menu-icon.open span:nth-child(2) {
    opacity: 0;
}

.side-menu-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
}

.side-menu-icon span:first-child{
    transform: none;
}
.side-menu-icon span:nth-child(2){
    opacity: 1
}
.side-menu-icon span:last-child{
    transform: none;
}

/* SECTION */

section {
    padding-top: 4vh;
    height: auto;
    margin: 0 5rem;
    box-sizing: border-box;
    min-height: fit-content; 
}

.section-container {
    display: flex;
}

/* PROFILE SECTION */

#profile {
    display: flex;
    justify-content:center;
    align-items: center;
    gap: 4rem;
    height: 70vh;
}

#projects {
    margin-bottom: 8rem;
}

.section__pic-container {
    display: flex;
    height: 400px;
    width: 400px;
    align-items: center;
    justify-content: center;
}

.section__pic-container img {
    height: 100%;
    width: auto;
    border-radius: 50%;
}

.section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    max-width: 600px;
}

.section__text__p1, .section__text__p2, .title {
    text-align: left;
    margin: 0;
}

.section__text__p1 {
    font-size: 1.75rem;
    margin-bottom: .5rem;
}

.section__text__p2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.title {
    font-size: 3rem;
}


/* EXPERIENCE SECTION */

#experience {
    margin: 4rem 0 20rem 0;
}

.exp-logo-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    margin-top: 8rem;
    margin-bottom: 8rem;
}

.exp-logo {
    max-height: 4rem;
}


.experience-subtitle{
    font-weight: 500;
}


.resume-btn-container {
    display: flex;
    justify-content: center;
    padding: 1rem;
}




#socials-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
    gap: 1rem;
}

/* ICONS */


.icon {
    cursor: pointer;
    width: auto;
}

#socials-container .icon:nth-child(1) {
    height: 2.15rem;
}

#socials-container .icon:nth-child(2) {
    height: 2rem;
}


/* BUTTONS */

.btn-container{
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.btn {
    font-weight: 600;
    padding: 1rem;
    border-radius: 2rem;
    width: 8rem;
}

.btn-color-1, .btn-color-2, .btn-color-3,
.todo-link-btn, .todo-git-btn {
    border-color:rgb(53, 53, 53) ;
    cursor: pointer;
}

.btn-color-1:hover, .btn-color-2:hover, .btn-color-3:hover,
.todo-link-btn:hover, .todo-git-btn:hover {
    background-color: black;
}
.btn-color-2 {
    background-color: rgb(53, 53, 53)
}

.btn-color-1:hover, .btn-color-2, .btn-color-3:hover,
.todo-link-btn:hover, .todo-git-btn:hover {
    color: white;
}

.btn-color-3 {
    font-size: medium;
}


/* ABOUT */

#about {
    position:relative;
    margin-top: 5rem;
    padding-bottom: 10rem;
}

.about__text__p1, .general-title {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.general-title {
    font-size: 3rem;
    margin-bottom: 2rem;        
    font-weight: 500;

}

.section-container {
    display: flex;
    gap: 4rem;
}

.about__pic-container {
    display: flex;
    height: 500px;
    width: 500px;
    align-items: center;
    justify-content: center;
}

.about__pic-container img {
    height: 100%;
    width: auto;
    border-radius: 10%;
}

.about-containers {
   align-items: center;
}

.about-details-container {
    display: flex;
    flex-direction: row;
    justify-content:center;
    align-items: center;
    gap: 4rem;
    margin-bottom: 3rem;
    margin-top: 5rem;
}

.details-container .icon {
    height: 2rem;
    width: auto;
}

.details-container {
    display: flex;
    justify-content: center;
}

.about-details-text {
    text-align: center;
}

.left-detail, .right-detail {
    border: 2px solid rgb(53, 53, 53);
    border-color: rgb(163, 163, 163);
    padding: 1rem;
    height: auto;
    width: 300px;
    border-radius: 2rem;
}

.arrow-icon {
    position: absolute;
    right: -2.5rem;
    bottom: 2.5rem;
    height: 3rem;
    width: auto;
    z-index: 10;
    cursor: pointer;
    transition: transform 0.3s ease;
}


/* CONTACT ME */

.contact-containers {
    height: 80vh;
    align-content: center;
}

.contact-info-container {
    display: flex;
    gap: 1rem;
    width:fit-content;
    justify-content: center;
    border: 2px solid rgb(163, 163, 163);
    border-radius: 2rem;
    margin: 2rem auto;
    padding: 0.5rem;
}


.left-contact .icon {
    height: 2rem;
}

.right-contact .icon {
    height: 2.15rem;
}

.left-contact, .right-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem;
    gap:0.5rem;
}

.left-contact-text:hover, .right-contact-text:hover {
    cursor:default;
}


/* PROJECTS */
.project-name {
    text-align: center;
    margin-top: 5vw;
    padding-bottom: 1rem;
}

.project-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
        'proj-pics overview'
        'proj-pics proj-links';
}

.project-container .overlap-images{
    grid-area: proj-pics;
    /* border: 1px solid black; */
}

.project-container .overlap-images .top-img {
    z-index: 2;
    top: 12px;
    right: 12px;
}
.project-container .overlap-images .bttom-img {
    z-index: 1;
    top: -50px;
    right: -30px;
}

.project-container img {
    height: 16vw;
    width: 33vw;
    border-radius: 20px;
    border: 1px solid gray;
    position: relative;
    box-shadow: 5px 5px 10px;
}

.project-overview {
    grid-area: overview;
    justify-self: center;
    align-self: center;
    width: 100%;
}

.project-overview-div {
    grid-area: overview;
    justify-self: center;
    align-self: center;
    width: 100%;
}

.project-overview-p {
    justify-self: center;
    align-self: center;
    width: 100%;
}

.project-overview-ul {
    padding-left: 2rem;
}

.project-date {
    padding: 1rem 0 0 0;
}

.project-overview-h4{
    padding: 1rem 0 0 0;
}

.project-links {
    grid-area: proj-links;
    justify-self: center;
    align-self:baseline;
}

.project-links {
    display: flex;
    gap: 1rem;
}

/* FOOTER */

footer {
    height: 26vh;
    margin: 0 1rem;
}

footer nav {
    justify-content: center;
}

footer p {
    text-align: center;
}





