/*GENERAL */

* {
    margin: 0;
    padding: 0;
}

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


body {
    font-family: "Poppins", sans-serif;
    background-color: rgb(236, 236, 236);
}

html {
    scroll-behavior: smooth;
}

.line {
    height: 2.5mm;
    width: 20cm;
}

p {
    color: rgb(70, 70, 70);
    padding-bottom: 1rem;
}

/* transition */

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

nav,
.nav-links {
    display: flex;
}

/* DESKTOP NAV */

nav,
.nav-links {
    display: flex;
}

nav {
    justify-content: space-around;
    align-items: center;
    height: 17vh;
    background-image: linear-gradient(rgb(116, 203, 116), rgb(107, 255, 107));
}

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

a {
    color: black;
    text-decoration: none;
    text-decoration-color: white;
}

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

.desktop-nav {
    /* background-color: rgb(0, 255, 0); */
    background-image: linear-gradient( rgb(107, 255, 107) ,green);
}

.logo {
    font-size: 2rem;
}

.logohover {
    cursor: default;
}

#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 0.3 ease-in-out;
}

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

.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    transition: all 0.3 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;
    padding-bottom: 4vh;
    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: 30vh;
}

.section_pic-container {
    display: flex;
    height: 200px;
    width: 200px;
    margin: auto 0;
}

.section__text {
    align-self: center;
    text-align: center;
    padding-top: 5rem;
}

.section__text p {
    font-weight: 600;
}

.section__text__p1, .section__text__p2, .section__text__p3 {
    text-align: center;
}

.section__text__p3 {
    text-align: left;
}

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

.title {
    font-size: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    text-decoration: underline;
}

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

/*ICONS */

.icon1 {
    cursor: pointer;
    height: 1rem;
    padding-right: 0.2rem;
}

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

.icon3 {
    cursor: pointer;
    height: 1rem;
    padding-right: 0.6rem;
}

/*ABOUT SECTION*/

#about1 {
    position: relative;
    padding-top: 4rem;
}

#about2 {
    position: relative;
    padding-top: 1rem;
}

.about-container {
    gap: 2rem;
    margin-top: 2rem;
}

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

.about-container, .about-details-container {
    display: flex;
}

.details-container {
    pad: 1.5rem;
    padding-left: 2rem;
    flex: 1;
    background: white;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-radius: rgb(163, 163, 163);
    text-align: left;
}

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

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

.bottom_text {
    color: black;
    padding-top: 1rem;
    text-align: center;
}