@import url("nord.css");
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');


/* General Styling */

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Rubik", sans-serif;
    /* font-optical-sizing: auto; */
    font-weight: 400;
    font-style: normal;
    background-color: var(--nord0);
}

html {
    scroll-behavior: smooth;
}

p {
    color: var(--nord4);
}

/* Transition Styling */

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

/* Desktop Navigation */

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

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

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

a {
    color: var(--nord10);
    text-decoration: none;
}

a:hover, a:active {
    color: var(--nord8);
    text-decoration: underline;
    text-underline-offset: 1rem;
}

.logo {
    color: var(--nord10);
    font-size: 2rem;
    font-weight: 475;
    font-style: normal;
}

.logo:hover {
    cursor: default;
}

/* Hamburger Menu */

#hamburger-nav {
    display: none;
}

.hamburger-menu {
    position: relative;
    display: inline-block;
}

.hamburger-icon .material-symbols-rounded {
    color: var(--nord10);
    font-variation-settings: 'FILL' 0, 'wght' 100, 'GRAD' 0, 'opsz' 48;
    font-size: 3rem;
    cursor: pointer;
    transition: all 300ms ease;
}

.hamburger-icon .material-symbols-rounded:hover, 
.hamburger-icon .material-symbols-rounded:active {
    color: var(--nord8);
}

.menu-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--nord10);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
    z-index: 1000;
}

.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--nord4);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.menu-links a:hover,
.menu-links a:active {
    color: var(--nord8);
}

.menu-links li {
    list-style: none;
}

.menu-links.open {
    opacity: 1;
    pointer-events: all;
}

/* Sections */

section {
    padding-top: 4vh;
    height: 96vh;
    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: 80vh;
}

.section__pic-container {
    display: flex;
    margin: auto 0;
}

.section__pic-container .portrait-1 {
    height: 400px;
    width: 400px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); /* Soft drop shadow */
}

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

.section__text p {
    font-weight: 500;
}

.section__text__p1 {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.section__text__p2 {
    font-size: 1.75rem;
}

.title {
    font-size: 3rem;
    text-align: center;
    color: var(--nord15);
    margin-bottom: 0.75rem;
}

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

/* Icons */

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

/* Buttons */

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

.btn-color-1 {
    font-weight: 700;
    transition: all 300ms ease;
    padding: 0.7rem;
    width: 9rem;
    border-radius: 2rem;
    color: var(--nord0);
    border: var(--nord15) 0.15rem solid;
    background: var(--nord15);
    cursor: pointer;
}

.btn-color-2 {
    font-weight: 700;
    transition: all 300ms ease;
    padding: 0.7rem;
    width: 9rem;
    border-radius: 2rem;
    color: var(--nord4);
    border: var(--nord15) 0.15rem solid;
    background: none;
    cursor: pointer;
}

.btn-color-1:hover {
    color: var(--nord4);
    background: var(--nord0);
}

.btn-color-2:hover {
    background: var(--nord15);
    color: var(--nord0);
}

/* About Section */

#about {
    position: relative;
}

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

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

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

.about-pic {
    border-radius: 2rem;
}

.arrow-icon .material-symbols-rounded {
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
    font-variation-settings: 'FILL' 0, 'wght' 100, 'GRAD' 0, 'opsz' 48;
    font-size: 3rem;
}

.arrow-icon .material-symbols-rounded:hover {
    cursor: pointer;
}

.details-container {
    padding: 1.5rem;
    flex: 1;
    background: var(--nord4);
    border-radius: 2rem;
    /* border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163); */
    text-align: center;
}

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

.section__pic-container .portrait-2 {
    height: 400px;
    width: 400px;
    border-radius: 10%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}