/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap');

*{
    margin: 0;
    padding: 0;
    background-color: rgb(153 157 160);
}

body {
    font-family: 'Roboto Flex', sans-serif;
}

html {
    scroll-behavior: smooth;
}

p {
    color: white;
    background-color: rgb(119 123 126);
}

h3 {
    color: black;
    background-color: rgb(119 123 126);
}

h2 {
    color: white;
    background-color: rgb(119 123 126);
}

/* Transition */

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

/* Desktop Navigation Bar */

nav, 
.nav-links {
    display: flex;
    background-color: rgb(119 123 126);
}

nav {
    justify-content: space-around;
    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;
    background-color: rgb(119 123 126);
}

a:hover {
    color: rgb(10,180,180);
    text-decoration: underline;
    text-underline-offset: 0.5rem;
    text-decoration-color: rgb(10,180,180);
}

.logo {
    font-size: 2rem;
    background-color: rgb(119 123 126);
}

.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;
    background-color: rgb(119 123 126);
}

.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;
}

/* Sections */

section {
    padding-top: 4vh;
    height: 60vh;
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
}

.section-container {
    display: flex;
}

/* Profile Section */

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

.section__pic-container {
    display: flex;
    height: 300px;
    width: 300px;
    margin: auto 0;
}

.section__text {
    align-self: center;
    text-align: center;
}

.section__text p {
    font-weight:600;
    background-color: rgb(153 157 160);
}

.section__text__p1 {
    text-align:center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
}

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

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

/* 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,
.btn-color-3,
.btn-color-4,
.btn-color-5 {
    background: black;
    color: white;
    border: white 0.1rem solid; 
    border-color: rgb(119 123 126);
}

.btn-color-1:hover,
.btn-color-2:hover,
.btn-color-3:hover,
.btn-color-4:hover,
.btn-color-5:hover {
    cursor: pointer; 
    background:rgb(10,180,180);  
}


.btn-container-2 {
    gap: 1rem;
    border-radius: 1rem;
    background-color:rgb(153 157 160);
}

/* About Section */

#about {
    position: relative;
}

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

.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: -5rem;
    bottom: 2.5rem;
    height: 40px;
    width: 40px;
}

.details-container {
    padding: 1.5rem;
    flex: 1;
    background: white;
    border-radius: 2rem;
    border: rgb(119 123 126) 0.1rem solid;
    text-align: center;
    background-color: rgb(119 123 126);
}

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

/* Projects Section */

#projects {
    position: relative;
}

.color-container {
    border-color: rgb(153 157 160);
    background-color: rgb(153 157 160);
    margin-bottom: 15vh;
}

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


.project-title {
    margin: 1rem;
    border-radius: 1rem;
    color: black;
    background-color: rgb(119 123 126);
}

/* Art*/

#art {
    position: relative;
    display: flex;
    justify-content: center;
    height: 270vh;
}

.image-container {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}

.image-container img{
    height: 480px;
    width: 270px;
    object-fit: cover;
    object-position: center;
    border-radius: 0.7rem;
}

.image-container :hover {
    transform: scale(1.05);
    box-shadow: 0 10px 10px rgba(0,0,0,0.5);
    cursor: pointer;
}

#lightBox {
    display: none;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1;
    background: rgba(0,0,0,0.9);
    width: 100%;
    flex-direction: column;

    img {
        width: 100%;
        max-width: 960px;
        height: 100%;
        max-height: 540px;
        object-fit: scale-down;
        background: rgba(0,0,0,0);
    }

    #close {
        position: absolute;
        top: 20px;
        right: 30px;
        color: white;
        cursor: pointer;
        font-size: 50px;
        background: rgba(0,0,0,0);
    }

    #caption {
        color: white;
        margin-top: 20px;
        font-size: 1.5rem;
        text-align: center;
        background: rgba(0,0,0,0);
    }
}

/* Contact Section */

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

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

.contact-info-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem;
    background: rgb(119 123 126);
}

/* Footer */

footer { 
    height: 18vh;
    margin: 0 0rem;
}

footer p {
    text-align: center;
    color: black;
}   