/*--------------- basic styling --------------- */
html, body {
      margin: 0;
      padding: 0;
      width: 100%;
      height: 100%;
      font-family: "Montserrat" !important;
      background: rgb(255, 255, 255) !important;
      color: rgb(0, 0, 0) !important;
}

body::-webkit-scrollbar{
      display: none;
}

.space{
      height: 100px;
}

.section-title{
      text-align: center;
      font-size: 2em;
      letter-spacing: 3px;
      text-transform: lowercase;
}

@media(max-width: 768px) {
      .space {
            display: none;
      }
}

/*--------------- typewriter effect --------------- */
.line {
      width: 18em;
      top: 50%;
      margin: auto;
      border-right: 5px solid white;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      transform: translateY(-50%);
}

.anim-typewriter {
      animation: typewriter 2s steps(40) 1s 1 normal both,
      blinkTextCussor 400ms steps(40) infinite normal;
}

@keyframes typewriter {
      from {
            width: 0;
      }
      to {
            width: 5em;
      }
}

@media(max-width: 768px) {
      @keyframes typewriter {
            from {
                  width: 0;
            }
            to {
                  width: 5em;
            }
      }
}

@keyframes blinkTextCussor {
      from {
            border-right-color: rgba(255, 255, 255, 0.75);
      }
      to {
            border-right-color: transparent;
      }
}

/*--------------- navigation --------------- */
nav {
      width: 100%;
      background: rgb(255, 255, 255);
      height: 80px;
      position: fixed;
      z-index: 1;
}

nav #brand {
      float: left;
      display: block;
      margin-left: 10%;
      line-height: 80px;
      font-weight: 700;
      position: relative;
}

nav #brand a {
      color: rgb(0, 0, 0);
      transition: all 0.3s ease-out;
}

nav #brand a:hover {
      text-decoration: none;
}

nav #menu {
      float: left;
      right: 10%;
      position: fixed;
}

nav #menu li {
      padding-left: 40px;
      display: inline-block;
      cursor: pointer;
      font-weight: 300;
      line-height: 80px;
      font-size: 1em;
      position: relative;
      transition: all 0.3s ease-out;
}

nav #menu li span {
      font-weight: lighter;
}

nav #menu li a {
      color: rgb(0, 0, 0);
}

nav #menu li a:hover {
      text-decoration: none;
      font-weight: bolder;
}

#toggle {
      position: absolute;
      right: 30px;
      top: 20px;
      font-weight: 300;
      z-index: 2;
      width: 30px;
      height: 30px;
      cursor: pointer;
      float: right;
      transition: all 0.3s ease-out;
      visibility: hidden;
      opacity: 0;
}

.close-btn {
      position: absolute;
      right: 16px;
      font-weight: 300;
      color: whitesmoke;
      z-index: 2;
      cursor: pointer;
      top: -2px;
      line-height: 80px;
}

#resize {
      z-index: 1;
      top: 0px;
      position: fixed;
      background: #0f0f0f;
      width: 100%;
      height: 100%;
      visibility: hidden;
      opacity: 0;
      transition: all 1s ease-out;
}

#resize #menu {
      height: 90px;
      position: absolute;
      left: 45%;
      transform: translateX(-40%);
      text-align: center;
      display: table-cell;
      vertical-align: center;
}

#resize #menu li {
      display: block;
      text-align: center;
      padding: 10px 0;
      font-size: 50px;
      min-height: 50px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease-out;
}

#resize li:nth-child(1) {
      margin-top: 140px;
}

#resize #menu li a {
      color: whitesmoke;
}

#resize #menu li a:hover {
      text-decoration: none;
      font-weight: bolder;
}

#resize.active {
      visibility: visible;
      opacity: 1;
}

@media(max-width: 768px) {
      #toggle {
            visibility: visible;
            opacity: 1;
            margin-top: 6px;
            margin-right: 50px;
      }

      nav #brand {
            margin-left: 50px;
      }

      #menu a {
            font-size: 20px;
            font-weight: 300;
      }

      #resize li span {
            font-weight: bolder;
      }

      nav #menu {
            display: none;
      }
}

@media(min-width: 768px) {
      #resize {
            visibility: hidden !important;
      }
}

/*--------------- hero section --------------- */
.hero {
      height: 100vh;
      width: 100vw;
      position: relative;
      text-align: center;
      align-items: center;
      justify-content: center;
      background-image: url("img/me_back.jpg");
      background-size: auto 100vh;
      background-attachment: fixed;
      background-repeat: no-repeat;
      background-position: center;
 
      animation: fadein 1s normal forwards;

}

.hero img {
      max-width: 100%;
      height: 100vh;
      object-fit: cover;
}

.hero h1, .hero h2 {
      position: absolute;
      z-index: 999;
      margin: 0 auto;
      left: 0;
      right: 0;
      top: 50vh;
      text-align: center;
      width: 50vw;
      font-weight: bold;
      color: white;
}

.hero h1 {
      font-size: 6em;
      font-family: 'Lora', serif;
}

.hero h2 {
      font-size: 1em;
      margin-top: 100px;
}

@media(max-width: 768px) {
      .header h1 {
            font-size: 4.5em;
      }
}

@supports (background-attachment: fixed) {
      .hero {
            background-attachment: fixed;
      }
}

@supports not (background-attachment: fixed) {
      .hero {
            background-attachment: scroll;
      }
}
  
@keyframes fadein {
      from {
            opacity: 0;
      }

      to {
            opacity: 1;
      }
}

/*--------------- scroll down icon animation --------------- */
.scroll-down {
      position: absolute;
      left: 50%;
      bottom: 100px;
      display: block;
      text-align: center;
      font-size: 20px;
      z-index: 0;
      text-decoration: none;
      text-shadow: 0;
      width: 13px;
      height: 13px;
      border-bottom: 5px solid white;
      border-right: 5px solid white;
      -webkit-transform: translate(-50%, 0) rotate(45deg);
      animation: fade_move_down 3s cubic-bezier(0.19, 1, 0.22, 1) infinite;
}

@keyframes fade_move_down {
      0% {
            transform: translate(0, -20px) rotate(45deg);
            opacity: 0;
      }
      50% {
            opacity: 1;
      }
      100% {
            transform: translate(0, 20px) rotate(45deg);
            opacity: 0;
      }
}

/*--------------- projects section --------------- */

#projects {
      margin-left: 10%;
      margin-right: 10%;
      align-items: center;
      justify-content: center;
      text-align: center;
}

#projects .project-header {
}

#projects .project-header h1 {
      margin-top: 80px;
      font-size: 1em;
      text-align: left;
}

#projects hr {
}

#projects .projects {
}

#projects .all-projects {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(600px, 0.5fr));
      grid-column-gap: 40px;
}

.project-info img {
      -webkit-filter: grayscale(100%);
      filter: grayscale(100%);
      max-width: 90%;
}

#projects img:hover {
      -webkit-filter: grayscale(0%);
      filter: grayscale(0%);
}

#projects .space {
      height: 100px;
}

#projects .project-item {

}

#projects .project-info {

}

#projects .project-info h1 {
      font-size: 1em;
      text-align: left;
      font-weight: bold;
      color: darkgrey;
}

#projects .project-info h2 {
	font-size: 1em;
      text-align: left;
}

#projects .project-info p {

}

#projects a {
      text-decoration: none;
      text-align: left;
}

#projects a h1 {
      margin-top: 100px;
      font-size: 1em;
      color: #0f0f0f;
}

@media(max-width: 1280px) {
      .project-info img {
            max-width: 80%;
      }
}

@media(max-width: 768px) {
      #projects{
            margin-left: 50px;
            margin-right: 50px;
      }

      #projects .all-projects {
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            grid-column-gap: 0px;
      }

      .project-info img {
            
      }
}

/*--------------- about me --------------- */

#about {
      margin-left: 10%;
      margin-right: 10%;
}

#about .about-header h1 {
      margin-top: 80px;
      font-size: 1em;
}

#about hr {
      margin-bottom: 80px;
}

#about .about-item h1 {
      font-family: 'Lora', serif;
      font-size: 6em;
      margin-top: 100px;
      margin: 10px;
      font-weight: bold;
}

#about a {
      text-decoration: none;
}

#about a h1 {
      margin-top: 100px;
      font-size: 1em;
      color: #0f0f0f;
}

@media(max-width: 768px) {
      #about{
            margin-left: 50px;
            margin-right: 50px;
      }
      #about .about-item h1{
            font-size: 4.5em;
      }
}

/*--------------- cursor style ---------------

.cursor{
      z-index: 999;
      position: fixed;
      background: #2696E8;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      pointer-events: none;
      box-shadow: 0 0 20px #2696E8,
                  0 0 60px #2696E8,
                  0 0 100px #2696E8;
      animation: colors 5s infinite;
      transform: translate(-50%, -50%);
      display: none;
    }
    
    @keyframes colors{
      0%{
        filter: hue-rotate(0deg);
      }
      100%{
        filter: hue-rotate(360deg);
      }
    }
    
    .cursor:before{
      content: '';
      position: absolute;
      background: #2696E8;
      width: 50px;
      height: 50px;
      opacity: 0.2;
      transform: translate(-30%, -30%);
      border-radius: 50%;
    }

--------------- cursor style --------------- */

/*--------------- footer section --------------- */

/*--------------- contact form --------------- */

#contact {
      margin-left: 10%;
      margin-right: 10%;
    
}

#contact .contact-header h1 {
      margin-top: 80px;
      font-size: 1em;
}

#contact hr {
      margin-bottom: 100px;
}

#contact-icon {
      padding-left: 0px;
      display: table;
      margin: 0 auto;
}

#contact-icon ul {

}

#contact-icon li {
      list-style: none;
      padding-left: 0px;
      padding-right: 80px;
      display: inline;
}

@media(max-width: 768px) {
      #contact {
            margin-left: 50px;
            margin-right: 50px;
      }

      #contact-icon {

      }
}

/*--------------- google slides --------------- */

#google-slides-container{
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

#google-slides-container iframe{
    display: block;
}
/*--------------- google slides --------------- */
