* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
  }
 


body { 
    margin: 0%;   
    background-color: #f2f2f2; 

} 

@font-face { font-family: Moontime-Regular; 
  src: url("assets/Moontime_script_2299867/MoonTime-Regular.ttf"); 
}  


/* NAV */ 

nav {   

  height: 6rem;     
  border-bottom: 2px solid black;   
  border-radius: 1px; 

  margin: 0 0.3rem 0 0.3rem; 

  background-color: rgb(27, 27, 27); 
  color: #f2f2f2; 

  display: flex;
  align-items: center; 
  
}

.main-navlist {  
    
    list-style: none; 
    font-size: 1rem;    
    display: flex; 

    -webkit-padding-start: 0; 

    align-items: center;  
    justify-content: center;

    width: 100%;  

    padding: 1rem;

}        

.center-nav { 
  
  display: flex;  
  justify-content: center; 

  width: 100%; 

} 


.push { 
  margin-left: auto;
}    

.right-pull { 
  margin-right: 15px;
}

.left-push { 
  
  margin-right: auto;  

  margin-left: 1rem;

  width: 150px; 
  height: 40px;  
}


a:hover{ 
  color: rgb(0, 0, 0); 
  text-decoration: none;  
}    

.nav-link { 
  color: #f2f2f2; 
  text-decoration: none; 

}

.nav-link:hover { 
  color:rgb(66, 66, 66);
  text-decoration: none;
}

.icon-logo { 

  margin: 0.2rem; 
  background-color: #f2f2f2; 
  
} 

.icon-logo:hover { 
  opacity:50%;
} 

.github-logo { 
  width: 2rem; 
  height: 2rem; 
  
} 

.linkedin-logo { 
  width: 2rem; 
  height: 2rem; 
  color: black;   

}  

.github-logo-about { 
  width: 2rem; 
  height: 2rem;  
  
}  

.cv-logo { 
  height: 2rem; 
  width: 2rem;
}

.linkedin-logo-about { 
  width: 2.1rem; 
  height: 2.1rem; 
  color: black;   

  border-radius: 10px;  

} 

.logo-container {  

  display: flex;
  width: 225px;
} 


.daniel-logo { 

  width: 12rem; 
  height: 6rem; 

  margin-top: -1.5rem;
}  



@media (max-width: 520px) {
  

  .daniel-logo { 

    min-width: 97%; 
    
    max-width: 99%;

    min-height: 97%; 
    max-height: 90%; 

    margin-bottom: -40px
  } 

  .logo-container { 
    max-width: 50%; 
    max-height: 50%;
  } 

  .nav { 
    width: 100%;
  }
}


@media (min-width: 521px) and (max-width: 600px) {
  .daniel-logo {
    margin-left: -30px; 
    
  }
} 


/* INDEX PAGE */  

.index-body { 

  background-image: url("assets/blackbgr1.png"); 
  background-size: cover;  
  background-repeat: no-repeat;  
  background-attachment: fixed; 
  background-position: center center;  

  height: 100%; 
  width: 100%;

}

.mid-section { 

  display: grid; 
  justify-content: center;  
  color:rgb(238, 238, 238);
  margin: 0 auto; 
  padding-top: 8rem;
}  

footer {  
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 0; 

  height: auto;
  width: 100vw;  

  font-size: small;
}


/* Animate Text */   


.lol {  

  font-family: "Open Sans", sans-serif; 
  font-weight: 400; 

}  

.lol2 {  

  font-family: "Open Sans", sans-serif; 
  font-weight: 400;    
}    

.lol-container { 
  max-width: fit-content; 

  background-color: rgb(203, 203, 204); 

  border-radius: 2px;
}


.lol-container .lol2 { 
  display: none;
} 

.lol-container:hover .lol { 
  display: none;
} 

.lol-container:hover .lol2 { 
  display: inline;
}

.lol:nth-child(1) {
  animation: fade-in 0.8s 0.1s forwards cubic-bezier(0.11, 0, 0.5, 0);
} 

.index-h {
  
  max-width: 40ch;
  text-align: center;
  transform: scale(0.94);
  animation: scale 3s forwards cubic-bezier(0.5, 1, 0.89, 1);
}
@keyframes scale {
  100% {
    transform: scale(1);
  }
} 


span { 
  font-family: Moontime-Regular;
  display: inline-block;
  opacity: 0;
  filter: blur(4px);
}

span:nth-child(1) {
  animation: fade-in 0.8s 0.1s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

span:nth-child(2) {
  animation: fade-in 0.8s 0.2s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

span:nth-child(3) {
  animation: fade-in 0.8s 0.3s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

span:nth-child(4) {
  animation: fade-in 5s 5s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

span:nth-child(5) {
  animation: fade-in 0.8s 0.5s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

span:nth-child(6) {
  animation: fade-in 0.8s 0.6s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

span:nth-child(7) {
  animation: fade-in 0.8s 0.7s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

span:nth-child(8) {
  animation: fade-in 0.8s 0.8s forwards cubic-bezier(0.11, 0, 0.5, 0);
}



@keyframes fade-in {
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

/* ABOUT PAGE */   

.about-body { 

  overflow-x: hidden;
} 

.about-section { 

  display: flex; 

  margin: 0;
} 

.pp-container { 
  
  display: flex;
  justify-content:flex-end;   

  align-self: center;

  margin: 6rem auto 0 12rem; 
}  

.pp-bgr {  

  margin: auto -11.5rem 0 0; 

  border-radius: 800px; 
} 


.about-text {   

  margin: 6rem 0 0 1rem; 
  width: 50rem; 
  display: grid;
  align-items: center; 

  justify-content: center;
}   


.about-h { 
  font-weight:lighter;
}

#lol { 
  text-decoration: underline;
}

.cv-button {  

    background-color: #101010;
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    cursor: pointer;  

    border-radius: 10px;

} 

.cv-button:hover { 
  opacity: 50%;
} 

.button-container { 

  display: flex; 

  float: left; 

  align-items: center; 

  border-bottom: 1px solid black;
}   

@media (min-width: 1500px) {  

  .about-text{ 
    margin: 0 auto;  
    margin-top: 4rem;
    padding: 2rem; 

    font-size:x-large;
  } 

  .pp-bgr{ 
    margin-right: auto;  

    width: 344px; 

    height: 453px;
  }

}

@media (max-width: 1298px) {   

  .about-section{ 
    display: grid; 

    justify-content: center;
  }  

  .about-text { 
    text-align: center;
  }

  .pp-container{ 
    grid-row: 1;  
    margin: 0; 
    padding: 0;  

    justify-content: center;

  }  

  .about-text {   

    margin: 1rem 0 0 1rem; 
    
  }   

  .pp-bgr{ 

    margin: 0; 
    margin-top: 2rem;
  }
   
} 

@media (max-width: 820px) {  

  .about-text{  

    width: 90%; 

    margin: 0 auto;
  } 

  
}  


/* Carousel */  

  .carousel img {
    width: 100%;
  } 

  .carousel-section { 
    margin: auto;
  } 

  .custom-carousel { 
    display: flex; 
    justify-content: space-evenly;  

    padding: 2rem; 

    background-color: rgb(230, 230, 230);  

    border-radius: 40px;

    margin: 1rem; 

    align-items: center;
  } 


  .carousel-item { 

    min-width: 480px;

    max-width: 480px;   

    height: 270px;
  
  } 

  .carousel-pic { 
    width: 480px;     

    height: 270px; 

  }  

  .text-paragraph { 
    height: fit-content; 
    width: 310px;   
  }   



  @media (max-width: 993px) {
  

    .custom-carousel { 
      display: grid; 

      padding: 1rem; 
      align-items: center;  

      width: 80%; 
      height: 80%;
    } 

    .carousel-item, .carousel-pic, .carousel { 
      max-width: 80%; 
      max-height: 80%;  

      align-items: center;

    }   

    .vid { 
      max-width: 90%; 
      max-height: 90%;  

      margin: 0 auto;
    }

    .carousel { 

      margin: 0 auto;
    }

    .text-paragraph { 
      text-align: center; 

      margin: 0 auto;
    }  

  } 

  @media (max-width: 415px) { 

    * { 
      font-size: 0.8rem;
    }
  

    .custom-carousel { 
     
      width: 60%; 
      height: 60%;
    } 

    .carousel-item, .carousel-pic, .carousel { 
      max-width: 60%; 
      max-height: 60%;  

      align-items: center;

    }  

    .carousel { 

      margin: 0 auto;
    }

    .text-paragraph { 
      text-align: center; 

      margin: 0 auto;
    } 


  }

  /* CONTACT PAGE */   

  .contact-container { 
    display: flex;
    justify-content: center;
  }

  .contact-section { 
    background-color: #f5f5f5; 
    width: 70%;   
    border-radius: 10px; 
    margin-top: 1rem; 
    border: 1px solid black;
  }

  .contact-h {
    text-align: center;
    color: #191919; 
    margin-top: 1rem;
 } 

 .contact-form {
  max-width: 600px;
  text-align: center;
  margin: 20px auto;  

 }
 
 input, textarea {
    border:0; 
    outline:0;
    padding: 1em; 
    border-radius: 10px;  
    border: 1px solid black;
    display: block;
    width: 100%; 
    height: 100%;
    margin-top: 1em;
    font-family: 'Merriweather', sans-serif;
    resize: none;
   
 }  

 .submit-button { 
  
  color: rgb(255, 255, 255); 
  background-color: rgb(50, 50, 50);

 }
 
.submit-button:hover { 
  opacity: 60%; 
} 
  
@media (max-width: 993px) {  

  .contact-section{ 
    border: none; 

  }
}  

.thanks { 
  text-align: center; 

  font-size: o.2rem; 

  padding: 2rem;
} 




/* Clearfix */
.cf:before,
.cf:after {
   content: " "; /* 1 */
   display: table; /* 2 */
}

.cf:after {
   clear: both;
}