/* Elements selector */
* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    background-color: lightslategray;
}

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

/* Transition */
a,
.btn {
    transition: all 300ms ease;
}

/************************************************** Navbars **************************************************/

/* Desktop - Navbar */
nav,
.nav-links {
    display: flex;
}

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

.nav-links {
    list-style: none;
    gap: 2rem;
    font-size: 1.5rem;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #fff;
    text-underline-offset: 1rem;
    text-decoration-color: #fff;
}

.logo {
    cursor: default;
    font-size: 2rem;
}

/* Hamburger - Navbar */
.hamburger-navbar {
    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 300ms ease-in-out;
}

.menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: lightslategray;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 300ms ease-in-out;
}

.menu-links a {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 1.56rem;
    color: black;
    text-decoration: none;
    transition: all 300ms 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);
}
/*
Might not needed */
/* .hamburger-icon > span:first-child{
transform: none;
}

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

.hamburger-icon > span:last-child{
transform: none;
} */

/************************************************** Sections **************************************************/

section {
    padding-top: 4vh;
    height: 96vh;
    min-height: fit-content;
    margin: 0 10rem;
    box-sizing: border-box;
    /* display: flex; */
    text-align: center;
}

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

/********************************************** Profile Section **********************************************/

#profile {
    display: flex;
    justify-content: center;
    gap: 5rem;
    height: 80vh;
}

.profile-img {
    display: flex;
    width: 400px;
    height: 400px;
    margin: auto 0;
}

.profile-information {
    text-align: center;
    align-self: center;
}
.profile-information p {
    font-weight: 600;
}

.paragraph-1 {
    text-align: center;
}

.paragraph-2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.title {
    font-size: 3rem;
    text-align: center;
}

/* Icons */

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.icon {
    height: 2rem;
    cursor: pointer;
}

/* buttons */

.btn-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    font-weight: 600;
    transition: all 300ms auto;
    width: 8rem;
    padding: 1rem;
    border-radius: 2rem;
}

.btn-colour-1,
.btn-colour-2 {
    border: rgb(53, 53, 53) 0.1rem solid;
}

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

.btn-colour-1,
.btn-colour-2:hover {
    color: #fff;
    background-color: rgb(53, 53, 53);
}

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

.btn-colour-1:hover {
    background-color: black;
}

/********************************************** About Section **********************************************/

#about {
    position: relative;
}

.about-containers {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.about-details-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.profile-img > img {
    border-radius: 2rem;
}

.about-text-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.details-container {
    padding: 1.5rem;
    flex: 1;
    border-radius: 2rem;
    border: rgb(163, 163, 163) 0.1rem solid;
}

.arrow {
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
}

.about-icon {
    cursor: default;
}

.about-details {
    flex: 1;
    padding: 1.5rem;
    border: rgb(163, 163, 163) 0.1rem solid;
    border-radius: 2rem;
}

.about-details > img {
    cursor: default;
}

/********************************************** Experience Section ********************************************/

#experience {
    position: relative;
}

.details-subtitle {
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: rgb(85, 85, 85);
}

.experience-details-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-container {
    display: flex;
    flex-wrap: wrap;
    text-align: initial;
    justify-content: space-around;
    gap: 2.5rem;
}

article {
    display: flex;
    width: 10rem;
    gap: 0.5rem;
}

article .icon {
    cursor: default;
}

/*********************************************** Projects Section ********************************************/

#projects {
    position: relative;
}

.color-container {
    background-color: rgb(250, 250, 250);
}

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

.project-title {
    margin: 1rem;
}

/*********************************************** Contacts Section ********************************************/

#contact {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 70vh;
}

.contact-info-upper-container {
    display: flex;
    justify-content: center;
    border: rgb(163, 163, 163) 0.1rem solid;
    border-radius: 2rem;
    padding: 0.5rem;
    margin: 2rem auto;
}

.contact-info-container {
    display: flex;
    gap: 1rem;
    margin: 1rem;
    justify-content: center;
    align-content: center;
}

.contact-info-container p {
    font-size: larger;
}

.contact-icon {
    cursor: default;
}

.email-icon {
    height: 2.5rem;
}

/*********************************************** Footers Section ********************************************/

footer {
    height: 26vh;
    margin: 0 1rem;
    text-align: center;
}
