@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap');

*{
    /* background: #ecf3f3; */
    font-family: 'Poppins', sans-serif;
} 

/* injected background code starts */

@import url('https://fonts.googleapis.com/css?family=Exo:400,700');

*{
    margin: 0px;
    padding: 0px;
}

body{
    /* font-family: 'Exo', sans-serif; */
}


.context {
    width: 100%;
    position: absolute;
    top:50vh;
    
}

.context h1{
    text-align: center;
    color: #fff;
    font-size: 50px;
}


.area{
    /* background: #4e54c8;   */
    background: -webkit-linear-gradient(to left, #232770, #0f0f11);  
    /* background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);   */
    width: 100%;
    height:100vh;
        
   position: fixed;
}

.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(4, 214, 242, 0.2);
    animation: animate 25s linear infinite;
    bottom: -150px;
    
}

.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}

/* injected background code ends */

body{
  background: #ecf3f3;
}

.nav-list{
    display: flex;
    position: relative;
    float: right;
    width: 50%;
    font-weight: 600;
}

.list-content{
    margin: auto
}

.header{
    /* display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%; */
    padding: 1em;
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgb(181, 212, 212);
}

.typing{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 6em;
}

.wrapper{
    display: inline-flex;
}

.static-txt{
    font-size: 60px;
    align-items: center;
    justify-content: center;
}

.wrapper .dynamic-txts{
    /* margin-left: 15px; */
    margin: 0;
    height: 90px;
    /* line-height: 90px; */
    overflow: hidden;
    padding-left: 1em;
}

.dynamic-txts li{
    list-style: none;
    font-size: 60px;
    font-weight: 600;
    margin-top: 0;
    color: rgb(37, 43, 49);
    position: relative;
    top: 0;
    animation: slide 4s steps(2) infinite;
}

@keyframes slide {
    100%{
        top: -180px;
    }
}

.dynamic-txts li span{
    position: relative;
}

.dynamic-txts li span::after{
    content: "";
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    background: #ecf3f3;
    border-left: 5px solid rgb(37, 43, 49);
    animation: typing 2s steps(16) infinite;
}

@keyframes typing {
    100%{
        left: 100%;
        margin: 0 -35px 0 35px;
    }
}

section{
  display: grid;
  place-items: center;
  width: 70%;
  margin: auto;
  padding-top: 2em;
}

.skills-container{
  display: flex;
  justify-content: space-between;
  width: 70%;
}

.skills-container li{
    font-size: 1.2em;
}

.skills-container h3{
    margin: auto;
    text-align: center;
}

.front-skills, .back-skills{
    display: flex;
}

.skills-list{
    display: flex;
    height: 20em;
    place-items: center;
	flex-direction: row;
	justify-content: center;
    align-items: center;
}

.skills-list li{
    /* margin: auto; */
    align-content: space-between;
    margin-bottom: 2em;
    margin-right: 2em;
}

.back-skills .skills-list li{
    margin-left: 2em;
}

.projects{
  display: flex;
  justify-content: space-between;
  width: 100%;
  z-index: 1;
  /* margin: 0 auto; */
  /* background: #A0C5E8; */
  /* padding: 10px 0; */
}

#project-img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    height: 70%;
  }

.contact{
  display: flex;
  justify-content: space-between;
  width: 70%;
  background: rgb(181, 212, 212);
  margin-top: 0;
  margin-bottom: 2em;
  z-index: 1;
}

img{
  height: 3em;
  width: 3em;
}

a{
  text-decoration: none;
}

button{
  /* background-color: rgb(181, 212, 212); */
  padding: 1em 2em;
  text-align: center;
  font-size: 1em;
  border-radius: 10%;
  font-size: large;
  font-weight: 600;
  transition: 0.5s;
}

button a{
    /* cursor: pointer; */
    /* display: inline-block; */
    position: relative;
    transition: 0.5s;
}

button a::after{
    content: '\00bb';
    position: absolute;
    opacity: 0;
    /* top: 0; */
    right: -20px;
    transition: 0.5s;
}

button:hover a{
    padding-right: 25px;
}

button:hover a::after{
    opacity: 1;
    /* right: 0; */
}

button:hover{
    background: rgb(181, 212, 212);
}

footer {
  background: rgb(181, 212, 212);
}

footer p{
    text-align: center;
}

#portfolio{
  margin-bottom: 2em;
}

.headshot{
    height: 75%;
    width: 25%;
    margin: 2em;
    z-index: 1;
    border-radius: 100%;
    border: black solid;
}

button{
    margin: 2em;
}

section h2{
    margin-top: 2em;
    margin-bottom: 2em;
}

#about h2{
    margin-bottom: 0;
}

#contact-me h2{
    margin-top: 0;
}

#portfolio a{
    font-size: 1.2em;
}

p{
    font-size: 1.2em;
    text-align: justify;
}

ul{
    list-style: none;
}

.background-animation{
    z-index: -1;
}

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

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
    border-radius: 10px;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}

.dropdown {
    /* position: relative; */
    display: none;
}

/* Use a media query to add a breakpoint at 859px (point 'typing' div wraps ) : */
@media screen and (max-width: 859px) {    
    .nav-list{
        display: none;
    }

    .menu{
        display: inline-block;
    }

    /* insert style for dropdown menu */

    .dropbtn {
        background-color: #3498DB;
        color: white;
        padding: 0.5em 1em;
        font-size: 1.2em;
        border: none;
        cursor: pointer;
      }
      
    .dropbtn:hover, .dropbtn:focus {
        background-color: #2980B9;
    }
    
    .dropdown {
        position: relative;
        display: inline-block;
    }
    
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f1f1f1;
        /* min-width: 160px; */
        overflow: auto;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
        width: 100%;
    }
    
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
    
    .dropdown a:hover {
        background-color: #ddd;
    }
    
    .change {
        display: block;
    }

    /* insert ends */

    .dropdown button{
        margin: 0;
    }

    .wrapper{
        display: block;
    }

    .wrapper .dynamic-txts{
        padding-left: 0;
        height: 2.5em;
    }

    .static-txt{
        display: flex;
        justify-content: center;
        font-size: 7vw;
    }

    .typing{
        margin: 8vh;
    }

    .skills-container {
        display: inline;
        width: 50%;
    }

    .front-skills, .task1{
        padding-bottom: 2em;
    }

    .projects{
        display: inline;
    }

    .contact {
        display: block;
        width: 100%;      
    }
    
    .contact img{
        height: 3em;
        width: 3em;   
    }

    .logo h1{
        font-size: 1.5em;
    }

    .dynamic-txts li{
        font-size: 1.8em;
    }

    .headshot{
        width: 75%;
    }
}



