@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap');
*, *::before, *::after {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}

body {
    color: #fff;
    font-family: "Poppins", sans-serif;
}

video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
  }


/* Nav Bar */

header nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    animation: fadeInDown .8s;
}

header nav .header_links ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

header nav .header_links ul li, section.main ul li {
    list-style-type: none;
}

header nav .header_links ul li a {
    outline: none;
    text-decoration: none;
    color: #a6a8b8;
    padding: 5px 12px;
    transition: 0.3s all;
    font-size: 15px;
}

header nav .header_links ul li a:hover {
    color: white;
}

header nav .header_logo img {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    object-fit: cover;
    border: 5px solid #3b3d4e93;
    cursor: pointer;
}

/* Responsive nav bar */

@media only screen and (max-width: 630px) {
    header nav {
        display: flex;
        flex-direction: column;
    }
    header nav .header_logo {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 320px) {
    header nav .header_links ul {
        display: flex;
        justify-content: center;
        text-align: center;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* Main */

section.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
    animation: fadeInUp .8s;
}

section.main img {
    width: 200px;
    height: 200px;
    border-radius: 100%;
    object-fit: cover;
    border: 10px solid #21222b93;
    cursor: pointer;
    margin-bottom: 10px;
}

section.main span {
    color: #fffffe;
    font-size: 40px;
    font-weight: bold;
}

section.main p {
    position: relative;
    top: 50%;
    border-right: 2px solid rgba(255, 255, 255, .75);
    white-space: nowrap;
    overflow: hidden;
    color: #94a1b2;
    font-size: 24px;
    animation: typewriter 4s 1s 1 normal both, blinkTextCursor 530ms infinite normal;
}

section.main ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
}

section.main ul li a {
    color: #a6a8b8;
    display: flex;
    text-decoration: none;
    margin: 20px 5px;
    font-size: 40px;
    padding: 5px;
    transition: 0.2s all;
}

section.main ul li a:hover {
    transition: 0.2s all;
    color: #fff;
}

/* about me */


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

@keyframes blinkTextCursor {
    from {
        border-right-color: rgba(255, 255, 255, .75);
    }
    to {
        border-right-color: transparent;
    }
}

@keyframes fadeInUp {
    from {
        transform: translate3d(0, 150px, 0)
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1
    }
}

@keyframes fadeInDown {
    from {
        transform: translate3d(0, -150px, 0)
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1
    }
}

section.main svg:hover {
    cursor: pointer;
  }

  svg path {
    fill: rgb(166, 168, 184);
    transition: fill 0.2s ease-in-out;
  }
  svg:hover path {
    fill: rgb(255, 255, 255) !important;
  }

.header_logo:hover {
    transition: transform 0.3s ease-in-out;
    transform: scale(1.1);
  }

.header_logo:not(:hover) {
    transition: transform 0.3s ease-in-out;
    transform: scale(1);
  }

section.main img:hover {
    transition: transform 0.3s ease-in-out;
    transform: scale(1.1);
  }
section.main img:not(:hover) {
    transition: transform 0.3s ease-in-out;
    transform: scale(1);
  }



  .tooltip {
    position: relative;
    display: inline-block;
  }
  
  /* Tooltip text */
  .tooltip .tooltiptext {
    visibility: hidden;
    width: 60px;
    left: -5%;
    top: 80%;
    background-color: rgb(166, 168, 184);
    color: #ffffff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    font-size: 12px;
   
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
  }
  
  .tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    bottom: 100%;  /* At the top of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent rgb(166, 168, 184) transparent;
  }

  /* Show the tooltip text when you mouse over the tooltip container */
.tooltip .tooltiptext {
    visibility: visible;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}
.tooltip:hover .tooltiptext {
    opacity: 1;
}

/*about me*/

section.work {
    margin-top: 150px;
    text-align: center;
}

.spantitle {
    color: #fffffe;
    font-size: 30px;
    font-weight: bold; 
    animation: fadeInUp .8s; 
           
}

.span1 {
    color: #fffffe;
    font-size: 22px;
    font-weight: bold; 

}

section.work p {
    color: rgb(166, 168, 184);
    font-size: 15px;
    font-weight: bold; 
    text-align: left;
}

.parent {
    padding: 2rem 2rem;
    text-align: center;
    display: flex; 
	justify-content: space-between;
  }

.child {
    size: fixed;
    width: 30px;
    height: 300px;
    border-radius: 10px;
    text-align: center;
    display: inline-block;
    border: 1px solid rgb(166, 168, 184);
    padding: 1em;
    vertical-align: middle;
    background: transparent;
    animation: fadeInUp .8s;   
    flex: 1;  
    margin: 0 1rem;
    overflow: auto;
 } 