
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  scroll-behavior: smooth;
  font-family: Verdana, Geneva, Tahoma, sans-serif; 
}

section {
  background-color: #0F1518;
  position: relative;
  height: 100vh;
  width: 100vw;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 100;
  transition: .3s ease;
}


.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 5%;
  z-index: -1;
}

.navbar{
  float: right;
}

.navbar a {
  font-size: 1.3rem;
  color: white;
  text-decoration: none;
  backdrop-filter: blur(50px);
  font-weight: 500;
  padding-right: 1rem;
}




 a:hover {
   color: rgb(235, 132, 23);
}

#check {
  display: none;
}

.icons {
  
  position: absolute;
  font-size: 2.8rem;
  color: #ffffff;
  cursor: pointer;
  display: none;
  top: 30%;
}

.hide {
  transform: translateY(-100px) ;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80%;
  cursor: auto;
}

.center > button {
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  background: #13aaff;
  cursor: pointer;
}

.colorchange {
  background-color: #aa8888;
}

canvas {
  position: relative;

}

.mb-background{
  display: none;
}

.home{
  overflow: hidden;
}


/* ////// about me section //////// */

.about {
  color: #bdbdbd ;
}

.about h1 {
  margin: auto;
  text-align: center;
  padding-top: 40px;
  font-size: 45px;
  font-weight: lighter;
}

.about > .container > .row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 5%;
}

.about-col-1 {
  flex-basis: 30%;
}

.about-col-1 img{
  width: 60%;
  border-radius: 40px;
  top : -10;
}
.about-col-1 ul li {
  padding: 0.5rem ;
  margin: 2rem 3rem;
  width: 100%;
  list-style: none;
  margin: 10px 0;
}

.about-col-1 ul li span{
  color: rgb(235, 132, 23);
}


.about-col-2 {
  flex-basis: 55%;
  font-size: 1.1rem;
}


.about-col-2  p{
  width: 100%;
}

.tab-list{
  display: flex;
  margin: 30px 0 30px;
  
}

.tab-link {
  margin-right: 50px;
  cursor: pointer;
  font-size: 1.5rem;
  position: relative;
}

.tab-link::after {
  content: '';
  width: 0;
  height: 3px;
  background: #bdbdbd;
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.5s;
}

.tab-link.active-link::after{
  width: 50%;
}

.tab-body ul li{

   list-style: none;
   margin: 10px 0;
}

.tab-body ul li span{
  color: rgb(235, 132, 23);
}

.tab-body ul li .place{
  color: rgb(57, 192, 255);
}
.tab-body {
  display: none;
}

.tab-body.active-tab{
  display: block;
}

/* /////////////   Projects section ///////// */
.projects {
  color: #bdbdbd ;
}

.projects-list {
  margin: 10%;
  position: absolute;
  display: flex;
  justify-content: center;
}

.projects-list a{
  text-decoration: none;
  color: unset;
}

.project{
  flex-basis: 40%;
  padding: 1rem;
  margin: 1rem;
  background: rgba(33, 50, 59, 0.5);
  border-radius: 1rem;
}


.project img {
  width : 100%;
}
.project .title {
  font-size: 1.5rem;
  color:rgb(235, 132, 23); 
}

.project .techStack {
  font-size: 1rem;
  color: rgb(57, 192, 255);
  margin-bottom: 1rem;
}






.projects h1 {
  margin: auto;
  text-align: center;
  padding-top: 40px;
  font-size: 45px;
  font-weight: lighter;
}
/* ////////////  CONTACT SECTION /////////// */

.contact {
  color: #bdbdbd;
}

.contact > h1 {
  margin: auto;
  text-align: center;
  padding-top: 40px;
  font-size: 45px;
  font-weight: lighter;
  
}

.contact-form {
  position: relative;
  width: 100%;
  height: 80% ;
  display: flex;
  justify-content: space-between;
  align-items: center;
 padding: 5px;
}

.message-form{
  position: relative;
  flex-basis: 50%;
  height: 70%;
}

.contact-form >.message-form > form {
  text-align: center;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
}

.contact-form> .message-form > form > h2 {
  margin-bottom: 15px;
  color: #bdbdbd ;
  font-size: 2rem;
  font-weight: lighter;
}

.contact-form > .message-form > form > input,textarea,button {
  font-size: 16px;
  background-color: #bdbdbd;
  border: none;
  color: #bdbdbd ;
  border-radius: 20px;
}
.contact-form > .message-form > form > input,textarea {
  width: 100%;
  margin: 5px;
  padding: 10px;
}

.contact-form > .message-form > form > button {
   width: 20%;
   cursor: pointer;
   margin: 20px auto;
   border-radius: 25px;
   padding: 15px;
   width: 40%;
   font-size: 20px;
   background-color: rgb(235, 132, 23) ;
}

.contact-info{
  flex-basis: 50%;
  height: 70%;
}

.contact-info > li {
  list-style: none;
  display: flex;
  margin: 5px;
  padding: 5px;
}

.contact-info >li > p {
  font-size: 1.3rem;
  margin-left: 5px;
}
.contact-info >li > i {
  font-size: 1.5rem;
  margin-left: 5px;
  color: rgb(235, 132, 23);
}

.cv-btn {
  background-color:  rgb(235, 132, 23);
  width: 40%;
  margin: auto;
  margin-top: 40px;
  text-align: center;
  padding: 10px;
  border-radius: 20px;
}

.contact-info a {
  text-decoration: none;
  color: unset;
}


.social {
  font-size: 30px;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 70px;
}

.social i{
  padding: 1rem;
}

.social a{
  text-decoration: none;
  color: unset;
}

.social a:hover{
  color: rgb(235, 132, 23);
}

/* ///////// Footer //////// */

footer {
  background-color: #0F1518;
  position: relative;
  width: 100%;
  height: 10%;
  color: #bdbdbd;
  padding: 10px;
}

footer .copyrights {
   text-align: center;
}


/*   //////////////  Break Points ///////////*/ 

@media only screen and (max-width: 920px) {

  .icons {
   display: block; 
   
  }

  #check:checked~.icons #menu-icon {
    display: none;
  }

  .icons #close-icon {
    display: none;
  }

  #check:checked~.icons #close-icon {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 160%;
    right: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    backdrop-filter: blur(50px);
    transition: .3s ease;
  }

  #check:checked~.navbar {
    height: 15.5rem;
  }
  


  .navbar a {
    display: block;
    text-align: center;
    font-size: 1.5rem;
    margin: 1.5rem 0;
    padding-right: 2rem ;
    transform: translateY(-50px);
    transition: .3s ease;
  }
  
  #check:checked~.navbar a {
    transform: translateY(0);
    transition-delay: calc(.03s * var(--i));
  }

  canvas{
    display: none;
  }


  .mb-background{
    position: absolute;
    display: block;
    width: 100vw;
    height: 100vh;
    background-image: url(./src/assets/images/mobileBackground1.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #d8d8d8;
   
  }

  .mb-background > h1 {
    font-size: 2.5rem;
    font-weight: lighter;
  }

  .mb-background > .hi {
    padding-top: 20vh;
    padding-left: 10vw;
  }
  .mb-background > .my-name {
    padding-top: 5px;
    padding-left: 10vw;
  }

  .mb-background > p {
    font-size: 1.2rem;
    padding-top: 10vh;
    padding-left: 10vw;
  }

  .get-in-touch{
    margin-top: 10vh;
    padding: 10px;
    background-color: rgb(235, 132, 23);
    border-radius: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.2rem;
    margin-left: 10vh;
  }



}




@media only screen and (max-width: 425px) {
  canvas{
    display: none;
  }

  

  .mb-background{
    position: absolute;
    display: initial;
    width: 100vw;
    height: 100vh;
    background-image: url(./src/assets/images/mobileBackground2.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }
}