/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@font-face {
    font-family: "LilGrotesk";
    src: url("./assets/LilGrotesk-Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "LilGrotesk";
    src: url("./assets/LilGrotesk-Bold.otf") format("opentype");
    font-weight: bold;
    font-style: normal;
}


* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #2b71a3;
    color: #2180c4;
    font-family: "Lato", sans-serif;
}

html {
    scroll-behavior: smooth;
}

main {
    height: auto;
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
}

footer {
    margin: 0 10rem;
    font-size: small;
}

p, h1 {
    color: #ece87a;
}

a {
    transition: all 300ms ease;
}

nav, .nav-links {
    background-color: #152a39;
    font-family: "LilGrotesk", sans-serif;
    display: flex;
}

nav {
    justify-content: space-between;
    padding: 0 10rem;
    align-items: center;
    height: 16vh;
}

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

a {
    color: #2180c4;
    text-decoration: none;
}

.nav-links a:hover, .current-nav {
    color: #ece87a;
    text-decoration: underline;
    text-underline-offset: 0.5rem;
}

.logo {
    color: #ece87a;
    font-weight: bold;
    font-size: 2.5rem;
}

.default-cursor {
    cursor: default;
}


#mobile-nav {
    padding: 0 10%;
    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 {
    height: 3px;
    width: 100%;
    background-color: #2180c4;
    border-radius: 10px;
    transition: all 300ms ease-in-out;
}

.menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    max-height: 0;
    width: fit-content;
    background-color: #152a39;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 300ms ease-in-out;
    overflow: hidden;
}

.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    transition: all 300ms ease-in-out;
}

.menu-links a:hover {
    color: #ece87a;
    text-decoration: underline;
    text-underline-offset: 0.5rem;
}

.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:nth-child(2) {
    opacity: 1;
}

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

/* Section */
.section-container {
    display: flex;
}

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

.section_pic-container {
    display: flex;
    position: relative;
    height: 600px;
    width: 400px;
    align-items: center;
    margin: auto 0;
}

.section_pic-container #picture-normal {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.section_pic-container #picture-hover {
    display: none;
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.section-container:hover #picture-normal {
    display: none;
}

.section_pic-container:hover #picture-hover {
    display: block;
}

.section_text {
    align-self: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section_text p {
    font-weight: 400;
    font-size: 1.5rem;
}

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

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