@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@500&display=swap');
:root {
    --accent_color: #e9f0fe;
    --2nd-accent-color: #d32928;
    --font_color: #242423;
    --bg-color: #fff;
    --etylix-color : #00b7ff;
}

::-webkit-scrollbar {
	display: none;
}

.preload * {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
}

html, body {
    -webkit-tap-highlight-color: transparent;
}

html {
    border: 0;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    text-rendering:optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

body {
    height: 100vh;
    width: 100%;
    border: 0;
    margin: 0;
    padding: 0;
    font-weight: lighter;
    background-color: var(--bg-color);
    color: var(--font_color);
}

h1, h2, h3, h4, h5 ,h6 {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
}

p {
    font-family: 'Inter', sans-serif;
    padding: 0;
    margin: 0;
    font-weight: 300;
}

b {
    font-weight: 500;
    color: var(--font_color);
    text-decoration: none;
}

a {
    font-family: 'Inter', sans-serif;
    color: var(--font_color);
    font-weight: 400;
}

footer {
    padding: 10px;
    text-align: center;
    font-size: 9px;
    font-weight: normal;
}

.section-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: space-between;
    max-width: 720px;
    margin: auto;
}

.active {
    color: var(--etylix-color);
    font-weight: 400;
}

.active-2 {
    color: var(--2nd-accent-color);
    font-weight: 400;
}

.jp_word {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-style: normal;
    font-weight: 100;
    opacity: 0.5;
}

.main__title {
    text-align: center;
}
.main__title h2 {
    font-size: 3.125rem;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 200;
    display: inline-block;
}

.main-title p {
    font: 15px;
}

.landing {
    height: 100%;
    width: 100%;
    position: relative;
    top: -20vh;
    transition: all 3500ms cubic-bezier(0.3,0,0,1);
}
.landing.slide {
    top: 0;
}

.social_section {
    position: absolute;
    width: 70px;
    height: 35px;
    left: 50%;
    bottom: 10px;
    margin-left: -35px;
    background-color: rgba(255, 245, 228,0.95);
    z-index: 10;
    border-radius: 27px;
    transition: 0.75s ease;
    backdrop-filter: blur(3px);
    opacity: 0;
}
.social_section__img {
    position: relative;
    top: 50%;
    left: 50%;
    height: 30px;
    transform: translate(-50%, -50%);
}
.down {
    opacity: 0;
    bottom: 0;
    transition: all 2000ms cubic-bezier(0.5,0,0,1);
}
.down-loaded {
    opacity: 1;
    bottom: 20px;
    transition-delay: 3500ms;
}

@keyframes BGSlideDown {
    0% {
      transform: translateY(-100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
.landing__bg {
    width: 100%;
    height: 100%;   
    position: absolute;
    box-sizing: border-box;
    object-fit: cover;
    background: url('./src/bg.jpg') no-repeat center 70%;
    background-size: cover;
}

.landing__content {
    width: 100%;
    position: absolute;
    text-align: center;
    top: 100px;
    color: rgb(240, 236, 236);
    
    animation-duration: 4.5s;
    animation-delay: 0.5s;
    animation-timing-function: ease;
        animation-name: BGSlideDown;
}
@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.landing__content--maintitle {
    font-size: 90px;
    font-weight: 100;
    margin: 0;
    font-family: 'Merriweather Sans', sans-serif;
}
.landing__content--subtitle {
    font-family: 'Merriweather Sans';
    font-size: 30px;
    color: aqua;
    padding: 50px;
}
.about_me__container {
    width: 100%;
    position: relative;
    text-align: center;
    justify-items: center;
    align-items: center;
}

.about_me__content {
    max-width: 50px;
    height: auto;
    position: relative;
    display: inline-block;
    padding: 50px;
    box-sizing: border-box;
    text-align: justify;
    text-align-last: center;
    font-weight: 100;
}
.about_me__img {
    width: 180px;
    height: 180px;
    position: relative;
    margin: auto;
    left: 0;
    right: 0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
    background-image: url('https://avatars.githubusercontent.com/u/41120381?v=4');
    -webkit-border-radius: 999px;
}
.contact__wrapper {
    display: flex;
    justify-content: center;
    margin: 0;
}
.contact__container {
    min-height: 200px;
    max-width: 600px;
}
.contact__content {
    display: flex;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    justify-content: center;
    color: rgb(255, 255, 255);
    padding: 0px;
}
.contact__content a{
    height: 40px;
    text-decoration: none;
    text-align: center;
    font-size: 14px;    
    vertical-align:middle;
    background-color: var(--accent_color);
    padding: 25px;
    border-radius: 22px;
    -webkit-border-radius: 22px;
    transition: 0.5s;
    justify-content: center;
    color: #ffffff;
}
.contact__content a img {
    height: 50px;
    vertical-align: middle;
    margin: 0px;
    padding: 0px;
    display: flex;
    justify-content: center;
}

.menuItem, .menuItemLang {
    display: inline-block;
    font-size: 19px;
    font-weight: 400;
    font-family: 'Be Vietnam Pro', sans-serif;
    text-decoration: none;
    transition: 0.25s;
    cursor: pointer;
}
  
.hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px;
    border: none; 
    background: var(--accent_color);


    opacity: 0.95;
    cursor: pointer;
    border-radius: 999px;
    transition: .75s;}
.closeIcon {
    display: none;
    height: 20px;  
}

li a {
    color: var(--font_color);
}

  .fade {
    opacity: 0;
  }

  .primary-underline{
    text-decoration: none;
    display: inline-block;
    position:relative;
    z-index:0;
  }
  .primary-underline:before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: 0;
    left: 0;
    right: 0;
    height: 17px;
    margin: 13px 0;
    border-radius: 9999px;
    background: var(--accent_color);
  }

@media screen and (min-width: 600px) {
    .project__content {
        flex-direction: row;
    }

    .hamburger {
        right: 30px;
    }
}

@media screen and (orientation: portrait) {
    .landing__bg {
        background: ('./src/bg.jpg');
        border: 0;
    }

    .etylix_logo {
        padding: 0 0 200px 4px;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --font_color: #ffffff;
        --bg-color: #000;
    }

    li a {

        color: #F5F5F5;
    }

    .primary-underline:before {
        background: rgba(175, 219, 245, 0.3);
      }
      .project__card {
        background-color: rgb(46, 45, 45);
      }
      .contact__content a {
        background-color: rgb(0, 0, 0);
      }
      .loader-wrapper {
        background-color: rgb(255, 255, 255);
      }
  }

  @media screen and (min-width: 1024px) {

    footer {
        max-width: 80%;
    }

    .page-wrapper {
     max-width: 80vw; 
    }

    .hamburger {
        display: none;
    }
}