/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    grid: auto / 1em 1fr 1em;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

p {
    color: #3e3e3e;
}

/* TRANSITION */

a, .btn {
    transition: all 300ms ease;
}

/* DESKTOP NAVBAR */

nav, .nav-links {
    display: flex;
}

nav {
    justify-content:space-between;
    align-items: center;
    padding: 0 7rem 0 7rem;
    /* height: 10vh; */
    background-color: rgb(248,249,250);
    
}

.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    text-decoration-color: white;
}

a:hover {
    color: gray;
}

.logo {
    font-size: 1.8em;
    font-family: "Rubik", Verdana, Geneva, Tahoma, sans-serif;
    cursor: default;
    color: #3e3e3e;
    font-weight: 500;
}

/* 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;
}

.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: rgb(248,249,250);
    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 {
    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: 2rem;
    height: 80vh;
    margin-right: 20rem;
}

.pic-container {
    display: flex;
    height: 400px;
    width: 400px;
    margin: auto 0;
}

.pic-container img {
    border-radius: 30%;
    height: 400px;
    width: 400px;
    justify-content: left;
}

.section-text {
    align-self:center;
    text-align: left;  
}

.section-text p {
    font-weight: 400;
}

.greeting-text {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    margin-bottom: 1rem;
    padding: 0;
    font-family: Roboto, Helvetica, Arial, sans-serif;
}

.greeting-name {
    
    text-align: left;
    color: #3e3e3e;
    font-family: "Rubik", Verdana, Geneva, Tahoma, sans-serif;
}


h1 {
    display: block;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    font-size: 3.50rem;
    font-weight: 400;
    letter-spacing: -.00833em;
    color: #3e3e3e;
    font-family: "Rubik", Verdana, Geneva, Tahoma, sans-serif;
}

h2 {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 2rem;
    font-weight: 400 !important;
    letter-spacing: .00735em;
    color: #3e3e3e;
    padding: 0;
}

.social-container {
    display: flex;
    justify-content: center;
    margin: 1rem;
    gap: 1rem;
}

/* ICONs */

.icon {
    cursor: pointer;
    height: 2rem;
}

/* BUTTONS */

 .btn-container {
    display: flex;
    justify-content: left;
    gap: 1rem;
} 

.btn {
    font-weight: 400;
    transition: all 300ms ease;
    padding: 0.5rem;
    width: 6rem;
    border-radius: 0.3rem;

}

.btn-color-1, .btn-color-2 {
    border: rgb(53, 53, 53) 0.1rem solid;
    
}

.btn-color-1:hover, .btn-color-2:hover{
    cursor: pointer;
} 
 
.btn-color-1:hover{
    background: #495057;
    color: white;
}

.btn-color-2 {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-color-2:hover{
    background-color: #0958c0;
}

.btn-color-1 {
    background-color: rgb(248,249,250);
}

.btn-color-1:hover{
    border: rgb(255, 255, 255) 0.1rem solid;
}

.btn-container{
    gap: 1rem;
} 

.MuiSvgIcon-root {
    fill: currentColor;
    width: 1em;
    height: 1em;
    display: inline-block;
    font-size: 1rem;
    transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    flex-shrink: 0;
    user-select: none;
}

img, svg {
    vertical-align: middle;
}
svg:not(:root) {
    overflow-clip-margin: content-box;
    overflow: hidden;
}

/* PROJETCS */

.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    justify-items: center;
    margin-top: 75px;
}

.project {
    text-align: center;
    padding: 50px;
    margin-left: 30px;
    margin-right: 30px;
    justify-content: center;
}
.project p{
    text-align: left;
}
.project p span{
    font-weight: 600;
    color: black;
}

.project h2 {
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: "Rubik", Verdana, Geneva, Tahoma, sans-serif;
    color: #3e3e3e;
    font-weight: 500;

}

.project-icon {
    height: 75px;
    width: 75px;
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    background-color: rgb(248,249,250);
}

.heart-icon {
    height: 15px;
    width: 15px;
}