@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");
/* ######################################### NAVBAR ######################################### */
* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

body {
    padding: 0;
    margin: 0;
    font-family: "Poppins", sans-serif;
}

nav {
    padding: 5px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgb(93, 52, 31) 0px 1px 3px -1px;
    z-index: 1;
}

nav .logo {
    display: flex;
    align-items: center;
}
nav .logo img {
    height: 9vh;
    width: auto;
    margin-right: 10px;
}
nav .logo h1 {
    font-size: 1.1rem;
    background: linear-gradient(to right, #5d341f 0%, #936c57 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    list-style: none;
    display: flex;
}
nav ul li {
    margin-left: 1.5rem;
}
nav ul li a {
    text-decoration: none;
    color: #5d341f;
    font-size: 95%;
    font-weight: 400;
    padding: 4px 8px;
    border-radius: 5px;
}

nav ul li a:hover {
    background-color: #f5f5f5;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 1px;
    background-color: #5d341f;
    display: block;
    margin: 7px auto;
    transition: all 0.3s ease-in-out;
}
.hamburger-active {
    transition: all 0.3s ease-in-out;
    transition-delay: 0.6s;
    transform: rotate(45deg);
}

.hamburger-active .line:nth-child(2) {
    width: 0px;
}

.hamburger-active .line:nth-child(1),
.hamburger-active .line:nth-child(3) {
    transition-delay: 0.3s;
}

.hamburger-active .line:nth-child(1) {
    transform: translateY(12px);
}

.hamburger-active .line:nth-child(3) {
    transform: translateY(-5px) rotate(90deg);
}

.menubar {
    position: absolute;
    top: 0;
    left: -60%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 60%;
    height: 100vh;
    padding: 20% 0;
    background: rgba(255, 255, 255);
    transition: all 0.5s ease-in;
    z-index: 2;
}
.active {
    left: 0;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.menubar ul {
    padding: 0;
    list-style: none;
}
.menubar ul li {
    margin-bottom: 32px;
}

.menubar ul li a {
    text-decoration: none;
    color: #5d341f;
    font-size: 95%;
    font-weight: 400;
    padding: 5px 10px;
    border-radius: 5px;
}

.menubar ul li a:hover {
    background-color: #f5f5f5;
}

.presentation{
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    color: #5d341f;
    text-align: center;
    margin-top: 15vh;
    flex-direction: row;
    padding: 3vh;
}

.title{
    top: 40%;
    margin: 0 auto;
    border-right: 2px solid rgba(255,255,255,.75);
    font-size: 400%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}

.text .hello-text{
    font-size: 150%;
    font-weight: 800;
    color: #936c57;
}

.text{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-width: 40%;
    max-width: 90%;
    padding: 2vh;
}

.text p{
    font-weight: 500;
    font-size: 170%;
    margin-top: 2vh;
    margin-bottom: 2vh;

}

span{
    color: #936c57;
}

#hover-words{
    box-shadow: inset 0 0 0 0 #5d341f;
    color: #5d341f;
    margin: 0 -.25rem;
    padding: 0 .25rem;
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
}

#hover-words:hover {
  color: #fff;
  box-shadow: inset 450px 0 0 0 #5d341f;
}

.anim-typewriter{
    animation: typewriter 3s steps(44) 2s 1 normal both,
    blinkTextCursor 500ms steps(44) infinite normal;
}

@keyframes typewriter{
    from{width: 0;}
    to{width: 12.5em;}
}
@keyframes blinkTextCursor{
    from{border-right-color: rgb(93, 52, 31);}
    to{border-right-color: transparent;}
}

.photo{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-width: 40%;
    max-width: 90%;
}

.photo .hello-emoji{
    max-width: 70%;
    height: auto;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
}

.buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2vh;
    flex-direction: row;
    flex-wrap: wrap;
}

.buttons a {
    text-decoration: none;
    color: #5d341f;
    font-size: 95%;
    font-weight: 400;
    padding: 7px 10px;
    border-radius: 10px;
    border-color: #5d341f;
    border: 1px solid;
    margin-right: 1vh;
}

.buttons a:hover {
    background-color: #5d341f;
    transition: .7s;
    color: #f5f5f5;
}

.links ul{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4vh;
    flex-direction: row;
}

.links ul li {
    transition: all 0.3s ease;
}

.links ul li:hover {
    transform: scale(1.1);
}

.links img{
    width: 5vh;
    height: auto;
    margin-right: 1vh;
}



.social-icon,
.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.social-icon__item,
.menu__item {
  list-style: none;
}

.social-icon__link {
  font-size: 2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}
.social-icon__link:hover {
  transform: translateY(-10px);
}

.menu__link {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
}

.menu__link:hover {
  opacity: 1;
}


/* ######################################### FOOTER ######################################### */

.footer {
    position: relative;
    width: 100%;
    background: #5d341f;
    min-height: 100px;
    padding: 20px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 20vh;
}

.footer p {
    color: #fff;
    margin: 15px 0 10px 0;
    font-size: 1rem;
    font-weight: 300;
}

.links ul {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4vh;
    flex-direction: row;
}

.links ul li {
    transition: all 0.3s ease;
}

.links ul li:hover {
    transform: scale(1.1);
}

.links svg {
    width: 5vh;
    height: auto;
    margin-right: 1vh;
}

.social-icon,
.menu {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap;
}

.social-icon__item,
.menu__item {
    list-style: none;
}

.social-icon__link {
    font-size: 2rem;
    color: #fff;
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
}

.social-icon__link:hover {
    transform: translateY(-10px);
}

.menu__link {
    font-size: 1.2rem;
    color: #fff;
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
    text-decoration: none;
    opacity: 0.75;
    font-weight: 300;
}

.menu__link:hover {
    opacity: 1;
}

#year{
    color: #fff;
}


/* ######################################### MEDIA QUERIES ######################################### */


@media screen and (max-width: 790px) {
    .hamburger {
        display: block;
    }
    nav ul {
        display: none;
    }

    .presentation{
        flex-wrap: wrap-reverse;
         margin-top: 2vh;
         justify-content: center;
         padding: 1vh;
    }

    .title{
        font-size: 300%;
    }

    p span{
        font-size: 85%;
    }

    .photo .hello-emoji{
        max-width: 80%;
    }

    .text{
        padding: 0;
    }
}


