/* Allah help me make this shine */
/* general */

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: rgb(53, 53, 53);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color:  rgb(255, 255, 255);
}

html {
    scroll-behavior: smooth;
}

p {
    color: rgb(255, 255, 255);
}

/* transition */

a, .btn {
    transition: all 200ms ease;
}

/* desktop nav */

nav,
.nav-links {
    display: flex;
}

nav {
    justify-content: space-between;
    padding-left: 5%;
    padding-right: 5%;
    align-items: center;
    height: 12vh;
    background-color: rgb(15, 70, 133);
}

.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.25rem;
}

a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    text-decoration-color: rgb(0, 0, 0);
}

a:hover {
    color: rgb(209, 196, 255);
    text-decoration: underline overline;
    text-underline-offset: 0.5rem;
}

.logo {
    font-size: 1.75rem;
}

.logo:hover {
    cursor: default;
}

/* mobile menu */

#mobile-nav {
    display: none;
}

.mobile-logo {
    font-size: 4rem;
    text-align: left;
}

.mobile-menu {
    position: relative;
    display: inline-block;
}

.mobile-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 48px;
    width: 60px;
    cursor: pointer;
}

.mobile-icon span {
    width: 100%;
    height: 6px;
    background-color: rgb(255, 255, 255);
    transition: all 0.3 ease-in-out;
}

.menu-links {
    position: absolute;
    top: 8vh;
    right: 0;
    background-color: rgb(53, 53, 53);
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
}

.menu-links a {
    display: block;
    padding: 1vh;
    text-align: center;
    font-size: 4rem;
    color: rgb(255, 255, 255);
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

.menu-links li {
    list-style: none;
}

.menu-links.open {
    max-height: 50vh;
    background-color: rgb(15, 70, 133);
}

.mobile-icon.open span:first-child {
    transform: rotate(45deg) translate(20px, 10px);
}

.mobile-icon.open span:nth-child(2) {
    opacity: 0;
}

.mobile-icon.open span:last-child {
    transform: rotate(-45deg) translate(20px, -10px);
}

.mobile-icon span:first-child {
    transform: none;
}

.mobile-icon span:first-child {
    opacity: 1;
}

.mobile-icon span:first-child {
    transform: none;
}

/* sections */

section {
    padding-top: 4vh;
    height: 96vh;
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
}

.section-container {
    display: flex;
}

/* profile */

#profile {
    display: flex;
    justify-content: center;
    gap: 5rem;
    height: 88vh;
}

.section__pic-container {
    display: flex;
    height: 50vh;
    width: 50vh;
    margin: auto 0;
}

.prof_img {
    border-radius: 50%;
}

.section__text {
    align-self: center;
    text-align: center;
}

.section__text p {
    font-weight: 600;
}

.section__text__p1 {
    text-align: center;
}

.section__text__p1 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.section__text__p2 {
    text-align: center;
}

.section__text__p2 {
    margin-top: 1rem;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.title {
    font-size: 3rem;
    text-align: center;
}

.socials-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 1rem;
}

/* icons */

.icon {
    cursor: pointer;
    height: 2.5rem;
}

/* button */

.btn-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    font-weight: 600;
    transition: all 300ms ease;
    height: 4rem;
    width: 10rem;
    border-radius: 2rem;
}

.btn-profile {
    border: rgb(255, 255, 255) 0.15rem solid;
    color: rgb(255, 255, 255);
    background: none;
}

.btn-profile:hover {
    cursor: pointer;
}

.btn-profile:hover {
    background: rgb(15, 70, 133);
    border: rgb(15, 70, 133) 0.15rem solid;
}

/* about */

#about {
    position: relative;
}

.about-containers {
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.about-details-container {
    justify-content: flex-start; /* if image=true then center; else then flex-start */
    padding-top: 5vh; /* if image=true then padding-top: 2.5v; else then no padding-top */
    flex-direction: column;
}

.about-containers, .about-details-container {
    display: flex;
    flex-wrap: wrap;
}

.about_img {
    border-radius: 25%;
}

.about-desc {
    text-align: justify;
    text-align-last: center;
}

.arrow-icon {
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
    height: 12vh;
    width: 8vh;
}

.details-container {
    max-width: 20vw;
    padding: 1rem;
    flex: 1;
    background: none;
    border-radius: 2rem;
    border: rgb(255, 255, 255) 0.15rem solid;
    text-align: center;
}

.edu-icon {
    height: 2rem;
}

.section-container {
    gap: 4rem;
    height: 80%;
}

.section__pic-container{
    height: 400px;
    width: 400px;
    margin: auto 0;
}

.text-container {
    font-size: 1.2rem;
}
/* experience (prelimenary) */

/*
#experiecne {
    position: relative;
}
*/

/*
.experience-sub-title {
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}
*/

.experience-details-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.article-container {
    display: flex;
    text-align: initial;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 1rem;
    justify-content: space-around;
}

article {
    display: flex;
    width: 10rem;
    justify-content: space-around;
    gap: 0.5rem;
}

/* projects */

#projects {
    position: relative;
}

.color-container {
    border-color: rgb(255, 255, 255);
    background: none;
}

.prj-container {
    max-width: 25vw;
}
.proj-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 100%;
}

.proj-img {
    border-radius: 2rem;
    width: 90%;
    height: 14rem;
}

.project-title {
    margin: 0.5rem;
    text-align: center;
}

.project-desc {
    text-align: center;
    flex-grow: 1;
}

.btn-project {
    border: rgb(255, 255, 255) 0.15rem solid;
    color: rgb(255, 255, 255);
    background: none;
}

.btn-project:hover {
    cursor: pointer;
}

.btn-project:hover {
    background: rgb(15, 70, 133);
    border: rgb(15, 70, 133) 0.15rem solid;
}

/* learned skills */

#learnedskills {
    position: relative;
}

.skill-containers {
    display: flex;
    justify-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.skill-container {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 20vw;
    padding: 1rem;
}

.skill-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.skillsets {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-grow: 1;
}

.skillset {
    margin: 0.2rem;
    border: 0.1rem solid rgb(255, 255, 255);
    border-radius: 1rem;
    padding: 0.3rem 0.5rem;
    background-color: #003cff40;
    font-size: 1.1rem;
    text-align: center;
}

/* contact me*/

#contactme {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 70vh;
}

.contact-upper-container {
    display: flex;
    justify-content: center;
    border-radius: 2rem;
    border: rgb(255, 255, 255) 0.1rem solid;
    background: none;
    margin: 2rem auto;
    padding: 0.5rem;
    width: 50vw;
}

.contact-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem;
}

.contact-container p {
    font-size: larger;
}

.contact-icon {
    cursor: default;
}

/* footer */

footer {
    height: 20vh;
    padding-left: 5%;
    padding-right: 5%;
    align-items: center;
    justify-content: center;
    background-color: rgb(15, 70, 133);
}

footer p {
    text-align: center;
}

#footer-nav {
    justify-content: center;
}

.mobile-footer-msg {
    display: none;
}