@import url('https://fonts.googleapis.com/css2?family=Oxygen:wght@700&display=swap');

*{
  margin: 0;
  padding: 0;
  text-decoration: none;
  box-sizing: border-box;
}


.contact-form .btn:hover{
  background-color: #000000;
  color: #fff;
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.gallery-section{
  width: 100%;
  padding: 60px 0;
  background: #ffffff;
}
.contact-info{
  display: flex;
  width: 100%;
  max-width: 1200px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}


.card{
  background: #ffffff;
  padding: 0 20px;
  margin: 0 10px;
  width: calc(33% - 20px);
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  cursor: pointer;
}

.card-icon{
  font-size: 28px;
  background: #000000;
  width: 60px;
  height: 60px;
  text-align: center;
  line-height: 60px !important;
  border-radius: 50%;
  transition: 0.3s linear;
}

.card .card-icon{
  background: none;
  color: #000000;
  transform: scale(1.6);
}

.card a{
  margin-top: 20px;
  font-weight: 300;
  letter-spacing: 1px;
  max-height: 0;
  opacity: 0;
  color: #000000;
  transition: 0.3s linear;
  font-family: "montserrat",sans-serif;
}

.card a{
  max-height: 40px;
  opacity: 1;
}


@media screen and (max-width:800px) {
  .contact-info{
    flex-direction: column;
  }
  .card{
    width: 100%;
    max-width: 300px;
    margin: 10px 0;
  }
}

.inner-width{
  width: 100%;
  max-width: 2000px;
  margin: auto;
  padding: 0 20px;
}

.gallery-section h1{
  text-align: center;
  text-transform: uppercase;
  color: #333;
}


.border{
  width: 180px;
  height: 4px;
  background: #333;
  margin: 60px auto;
}
.border2{
  width: 120px;
  height: 4px;
  background: #333;
  margin: 40px auto;
}

.gallery-section .gallery{

  display: flex;
  flex-wrap: wrap-reverse;

}

.gallery-section .image{
  padding: 20px;
  padding-top: 25px;
  flex: 100%;
  overflow: hidden;
  cursor: pointer;
}

.gallery-section .image img{
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.4s;
}
.transform{
  padding-bottom: 200px;

}
.transform:hover{
  transform: scale(1.1)
}

@media screen and (max-width:960px) {
  .gallery-section .image{
    flex: 33.33%;
  }
}

@media screen and (max-width:768px) {
  .about-text p{
    word-break: break-all
  
  }
  .gallery-section .image{
    flex: 50%;
  }
  .loc{
    width:100%
  }
  .content{
    padding-top: 200px;
  }
  .gallery-section{
    padding-top: 200px;
  }
}

@media screen and (max-width:480px) {
  .gallery-section .image{
    flex: 100%;
  }
}


.navbar{
  position: fixed;
  background-color: transparent;
  background-color: rgb(255, 255, 255);
  width: 100%;
  padding: 30px 0;
  top: 0;
  z-index: 999;
  transition: .3s linear;
}

.inner-width{
  max-width: 1300px;
  margin: auto;
  padding: 0 40px;
}

.navbar .inner-width{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo{
  width: 44px;
  height: 32px;
  text-decoration:none;
  color: rgb(0, 0, 0);
  background-size: contain;
  font-family: 'Alata', sans-serif;
}

.menu-toggler{
  background: none;
  width: 30px;
  border: none;
  cursor: pointer;
  position: relative;
  outline: none;
  z-index: 999;
  display: none;
}

.menu-toggler span{
  display: block;
  height: 3px;
  background-color: #ffffff;
  margin: 6px 0;
  position: relative;
  transition: .3s linear;
}

.navbar-menu a{
  color: #000000;
  font-size: 15px;
  font-weight: 500;
  margin-left: 30px;
  transition: .2s linear;
}

.navbar-menu a:hover{
  color: #000000 !important;
}

.sticky{
  background-color: #ffffff;
  padding: 18px 0;
}

.sticky .logo{
  color: #000000;
}

.sticky .navbar-menu a{
  color: #000000;
}

.sticky .menu-toggler span{
  background-color: #000000;
}

#home{
  height: 100vh;
  min-height: 500px;
  background: rgb(255, 255, 255);
  background-size: cover;
  background-attachment: fixed;
  animation-name: animate;
  animation-direction: alternate-reverse;
  animation-duration: 30s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-play-state: running;
  animation-timing-function: ease-in-out;
  
}


#home .inner-width{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}
.contact-form .btn:hover{
  background-color: #000000;
  color: #fff;
}


#home .content{
  width: 100%;
  color: #fff;
}

#home .content h1{
  font-size: 80px;
  padding-bottom:  20px;
  padding-Top: 150px;
  padding-bottom: 100;
  font-weight: 200;
  color: black;
  font-family: 'Alata', sans-serif;

}
#home .content h4{
color: black

}

html {
  scroll-behavior: smooth;
}

.sm a{
  color: #000000;
  font-size: 22px;
  margin: 0 10px;
  transition: .2s linear;
}

.sm a:hover{
  color: #4e4e4e;
}

#home .buttons{
  margin-top: 60px;
}
.projects:hover{
  background: white;
  color: black;
}
#home .buttons a{
  display: inline-block;
  margin: 15px 30px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  width: 180px;
  border: 1px solid #000000;
  padding: 14px 0;
  border-radius: 6px;
  transition: .2s linear;
}


#home .buttons a:nth-child(2)
{
  background-color: #000000;
  color: black;
}
#home .buttons a:nth-child(1)
{
  background-color: #ffffff;
  color: #000000;
}
#home .buttons a:nth-child(1):hover
{
  background-color: #000000;
  color: #ffffff;
}

section{
  padding: 100px 0;
  background-color: #ffffff;
}

.section-title{
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  font-size: 26px;
  padding-bottom: 20px;
  color: #111;
}

.section-title::before{
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: #111;
  bottom: 0;
  left: calc(50% - 40px);
}

.section-title::after{
  content: "";
  position: absolute;
  width: 16px;
  height: 10px;
  background-color: #000000;
  border: 4px solid #f1f1f1;
  left: calc(50% - 12px);
  bottom: -7px;
}

.about-content{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.about-pic{
  width: 200px;
  border-radius: 50%;
  margin-right: 100px;
}

.about-text{
  flex: 1;
}
.about-text h2{
  font-family: 'Alata', sans-serif;
  font-weight: 200;
}


.about-text h3 span:nth-child(1):after,
.about-text h3 span:nth-child(2):after{
  content: "";
  width: 6px;
  height: 6px;
  background-color: #444;
  display: inline-block;
  border-radius: 50%;
  margin: 0 14px;
}

.about-text p{
  text-align:justify;
  font-size: 15px;
  line-height: 20px;
  margin-top: 20px;
 
}

.skills{
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.skill{
  width: calc(50% - 20px);
  margin: 15px 0;
}

.skill-info{
  display: flex;
  justify-content: space-between;
}

.skill-bar{
  height: 3px;
  background-color: #ddd;
  margin-top: 14px;
  position: relative;
}

.skill-bar::after{
  content: "";
  position: absolute;
  height: 6px;
  background-color: #000000;
  bottom: 0;
}

.html:after{
  width: 90%;
}

.css:after{
  width: 80%;
}

.js:after{
  width: 70%;
}

.php:after{
  width: 60%;
}

.mysql:after{
  width: 90%;
}

.cs:after{
  width: 80%;
}

section.dark{
  background-color: #353b48;
}

section.dark .section-title{
  color: #f1f1f1;
}

section.dark .section-title::before{
  background-color: #f1f1f1;
}

section.dark .section-title::after{
  border: 4px solid #353b48;
}

@media screen and (max-width: 980px){
  .menu-toggler{
    display: block;
  }
  #home .content h1{
     font-size: 55px
  }
  .creativity{
    font-size: 1000px;
  }
  .navbar-menu{
    position: fixed;
    height: 100vh;
    width: 100%;
    background-color: #f7f7f7;
    top: 0;
    right: -100%;
    max-width: 400px;
    padding: 80px 50px;
    transition: .3s linear;
  }

  .navbar-menu a{
    display: block;
    font-size: 30px;
    margin: 30px 0;
  }

  .sticky .navbar-menu{
    background-color: #f1f1f1;
  }
  
  .navbar-menu.active{
    right: 0;
  }

  .menu-toggler.active span:nth-child(1){
    transform: rotate(-45deg);
    top: 4px;
  }

  .menu-toggler.active span:nth-child(2){
    opacity: 0;
  }

  .menu-toggler.active span:nth-child(3){
    transform: rotate(45deg);
    bottom: 14px;
  }

  .inner-width{
    max-width: 800px;
  }

  .about-pic{
    margin: 0 auto 60px;
  }

  .about-text{
    flex: 100%;
    text-align: center;
  }

}

@media screen and (max-width: 600px){
  .inner-width{
    padding: 0 20px;
  }

  .skill{
    width: 100%;
  }


}

#contact{
  color: white;
}
*{
  margin: 0;
  padding: 0;
  font-family: "montserrat",sans-serif;
}
.contact-section{
 
  background-size: cover;
  padding: 40px 0;
}
.contact-section h1{
  text-align: center;
  color: #ddd;
}
.border{
  width: 100px;
  height: 10px;
  background: black;
  margin: 40px auto;
}

.contact-form{
  max-width: 600px;
  margin: auto;
  padding: 0 10px;
  overflow: hidden;
}

.contact-form-text{
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 16px 0;
  border: 0;
  background: #cdcccc;
  padding: 20px 40px;
  outline: none;
  color: #ddd;
  transition: 0.5s;
}
.contact-form-text:focus{
  box-shadow: 0 0 10px 4px rgb(167, 167, 167);
}
textarea.contact-form-text{
  resize: none;
  height: 120px;
}
.contact-form-btn{
  float: right;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0;
  background: black;
  color: #fff;
  padding: 12px 50px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.5s;
}
.contact-form-btn:hover{
  background: rgb(100, 97, 97);
}
 
.loader {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader > img {
  width: 100px;
}

.loader.hidden {
  animation: fadeOut 1s;
  animation-fill-mode: forwards;
  opacity: 0;
  visibility: hidden;
}
.contact-section input {
  color: rgb(0, 0, 0); 
}

.contact-section textarea{color: black}

.mynumber{
  appearance: none;
  -moz-appearance: textfield; 
}
