@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  box-sizing: border-box;
}

body {
  background-color: rgba(0, 0, 0, 1);
  font-family: 'Open Sans', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
}

/* .loader-container {
  width: 100%;
  height: 100vh;
  position: fixed;
  background: #000000;
  z-index: 1;
}

.loader-container-hidden {
  display: none;
}

.loader {
    position: relative;
    left: 40%;
    top: 40%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background-image: url('./assets/loadsign.png');
    background-repeat: no-repeat;
    animation: flips 1s infinite;
  } */
  
  /* @keyframes flips {
    0% {
      transform: perspective(400px) rotateY(0deg);
    }
  
    10% {
      transform: perspective(400px) rotateY(0deg);
    }
  
    50% {
      transform: perspective(400px) rotateY(180deg);
    }
  
    60% {
      transform: perspective(400px) rotateY(180deg);
    }
  
    100% {
      transform: perspective(400px) rotateY(360deg);
    }
  } */

.wrapper {
  overflow: hidden;
  height: 900px;
  width: 1366px;
  position: relative;
  top: 0px;
  left: 0px;
}

.container {
  overflow: hidden;
}

.glowcontainer {
  position: relative;
  width: 1366px;
  height: 1366px;
  position: relative;
  background-image: url('./assets/kodicaBack.png');
  background-repeat: no-repeat;
}

.glow {
  position: absolute;
  top: 49%;
  left: 49%;
  transform: translate(-50%, -50%);
  width: 1008px;
  height: 1008px;
  border-radius: 50%;
  background-color: transparent;
  box-shadow: 0 0 50px 20px rgba(169, 13, 253, 0.8);
  animation: pulse 2s infinite alternate;

}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1.025);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

.container .content {
  opacity: 0;
  object-fit: cover;
  position: absolute;
  top: 30%;
  left: 150%;
  transform: translateX(-50%);
  margin-left: 0px;
  height: 500px;
  width: auto;
  transition: opacity 0.9s ease, left 0.9s ease;
  color: #fff;
}

.container .content.show {
  left: 50%;
  opacity: 1;
}

.container .content.hide {
  left: 150%;
}

.services {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}


.portfolio {
  display: flex;
  flex-direction: row;
  margin-top: -100px;

}


.portfolio h2 {
  font-family: "Montserrat", sans-serif;

}

.insideportfolio {
  margin-top: 50px;
  width: 900px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.leftPortfolio {
  width: 500px;
}

.insideportfolio img {
  transition: transform 0.3s ease-in-out;
  /* Add transition for smooth scaling */
}

.insideportfolio img:hover {
  transform: scale(1.2);
  /* Scale the image on hover */
}


.portfolioText a {
  background-color: rgba(168, 17, 206, 0.8);
  width: 200px;
  height: 50px;
  padding: 5px 10px 5px 10px;
  border-radius: 15px;
  color: #fff;
  transition: 0.3s ease-in;
  border: 1px solid rgba(168, 17, 206, 1);
}

.portfolioText a:hover {
  background-color: rgba(168, 17, 206, 0);
  ;
  border: 1px solid rgba(168, 17, 206, 1);
  width: 200px;
  height: 50px;
  padding: 5px 10px 5px 10px;
  border-radius: 15px;
  color: #fff;
}


.portfolioText {
  width: 300px;
  margin-top: -30px;
}

.portfolioText a {
  text-decoration: none;
}

.insideportfolio img {
  width: 140px;
  height: auto;
  margin-right: 30px;
  border-radius: 15px;
}


.insideservices {
  width: 500px !important;
  padding-left: 30px;
  padding-right: 30px;
}

.services h1 {
  font-family: "Montserrat", sans-serif;
}

.contactText {
  font-family: "Montserrat", sans-serif;
}


.navbar {
  position: fixed;
  display: flex;
  flex-direction: row;
  z-index: 100;
  top: -40px;
  left: 0px;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.logo {
  position: relative;
  background-image: url('./assets/logo.png');
  background-repeat: no-repeat;
  width: 400px;
  height: 80px;
  width: 700px;
  position: fixed;
  display: flex;
  flex-direction: row;
  top: 3%;
  left: 5%;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

nav {
  width: 700px;
  position: fixed;
  display: flex;
  flex-direction: row;
  top: 0px;
  left: 37%;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

nav ul {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
  height: 60px;
}

nav li {
  color: #ffffff;
  cursor: pointer;
  padding: 10px;
  text-align: center;
  margin-left: 10px;
  margin-top: 20px;
}

nav ul li p {
  font-size: 16px;
  margin: 2px 0;
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

nav ul li:hover,
nav ul li.active {
  color: #b419f7;
}



.sign {
  position: relative;
  left: 20%;
  width: 400px;
  height: 400px;
  margin-bottom: -130px;
  margin-top: -80px;
  background-image: url('./assets/signpng.png');
  background-repeat: no-repeat;
  animation: flip 7s infinite;
}

@keyframes flip {
  0% {
    transform: perspective(400px) rotateY(0deg);
  }

  10% {
    transform: perspective(400px) rotateY(0deg);
  }

  50% {
    transform: perspective(400px) rotateY(180deg);
  }

  60% {
    transform: perspective(400px) rotateY(180deg);
  }

  100% {
    transform: perspective(400px) rotateY(360deg);
  }
}


.whoweareContainer {
  display: flex;
  flex-direction: column;
}

.whoweare h1 {
  font-family: "Montserrat", sans-serif;
}

.whoweare p {
  width: 750px;
}


.sectionForm {
  width: 680px;
}

.sectionForm input[type="text"],
.sectionForm textarea {
  background-color: rgb(102, 14, 174, 0.5);
  color: #fff;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #7d088d;
  border-radius: 5px;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

.sectionForm input[type="submit"]:hover {
  background-color: #d429ff;
}

.sectionForm input[type="text"]:focus,
.sectionForm textarea:focus {
  border-color: #4c0c4f;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  background-color: black;
}

.sectionForm textarea::placeholder,
.sectionForm input::placeholder {
  color: #f5ceff;
}

.submitButoni {
  background-color: #a13ec0;
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  font-size: 18px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  border-color: #a13ec0;
}

.middle {
  display: flex;
  flex-direction: row;
}

.left {
  width: 300px;
  margin-left: -320px;
  margin-top: -30px;
}


.insideteam p {
  margin-top: -20px;
  width: 800px;
}

.teamcontainer {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.leftteam {
  width: auto;
}

.rightteam {
  width: auto;
}

.teamheader {
  font-size: 34px;
  /* color: #ab3bcd; */
  color: #fff;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 100px;
  margin-top: -50px;
}




@media (max-width: 600px) {


  nav {
    top: -280px;
    visibility: hidden;
    transition: top 0.3s ease;
    /* Add transition for top and visibility */
  }

  nav.visible {
    top: 0;
    visibility: visible;
  }


  nav ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    left:0;
  }

  nav li {
    color: #ffffff;
    cursor: pointer;
    padding: 7px;
    text-align: center;
    margin-left: 0px;
    margin-top: 0;
    /* border: #a13ec0 1px solid; */
    /* box-shadow: 0 0 100px rgba(161, 62, 192, 0.8);  */
    background-color: rgb(0, 0, 0);
    /* box-shadow: 0 0 100px rgba(215, 114, 245, 0.8);  */
  }


  nav li {
    color: #ffffff;
    /* background-color: #620878; */
    /* background-color: rgba(98, 8, 120, 0.9); */
    /* background-color: rgba(24, 2, 30, 0.9); */
    cursor: pointer;
    padding: 7px;
    text-align: center;
    margin-left: -330px;
    margin-top: 0;
    padding: 5px 40px 5px 40px;
  }

  nav li p {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 50px;
    padding-right: 50px;
    font-size: 20px !important;
  }

  .portfolio {
    display: flex;
    flex-direction: column;
    height: auto !important;
  }

  .portfolioText {
    width: 200px;
  }

  .services {
    margin-top: -100px;
    display: flex;
    flex-direction: column;
  }

  .insideservices {
    width: 400px !important;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 10px;
  }

  .middle{
    display: flex;
    flex-direction: column;
  }


  .left {
    width: 300px;
    margin-left: -50px;
    margin-top: -130px;
    margin-bottom: 50px;
  }

  .teamcontainer {
    flex-direction: column;
  }

  .insideteam p {
    margin-top: -20px;
    width: 400px;
  }


  .sectionForm {
    width: 400px;
  }




  .content.portfolio {
    overflow: auto !important;
  }


  .hamburger.active .bar1 {
    transform: rotate(-30deg) translate(-4px, 5px);
  }

  .hamburger.active .bar2 {
    opacity: 0;
  }

  .hamburger.active .bar3 {
    opacity: 0;
  }

  .hamburger.active .bar4 {
    transform: rotate(30deg) translate(-4px, -5px);
  }

  .visuallyHidden {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -10px;
    padding: 0;
    border: 0;
  }

  h1 {
    text-align: center;
  }

  .hamburger {
    position: absolute;
    z-index: 9999;
    top: 33px;
    right: 20px;
    margin: 0 auto;
    margin-top: 30px;
    width: 30px;
    height: 30px;
  }

  .hamburger .bar {
    padding: 0;
    width: 30px;
    height: 4px;
    background-color: rgb(255, 255, 255);
    display: block;
    border-radius: 4px;
    transition: all 0.4s ease-in-out;
    position: absolute;
  }

  .bar1 {
    top: 0;
  }

  .bar2,
  .bar3 {
    top: 13.5px;
  }

  .bar3 {
    right: 0;
  }

  .bar4 {
    bottom: 0;
  }

  /* Hamburger End */

  .sign {
    margin-left: -110px;
  }


  .whoweare p {
    width: 310px;
  }


  .wrapper {
    overflow: hidden; /* Keep overflow property */
    height: 900px;
    width: 1366px;
    position: relative;
    top: 0px;
    left: 0px;
  }
  
  .container {
    overflow: hidden; /* Keep overflow property */
  }
  
  .content.portfolio {
    height: 100% !important; 
    overflow-y: auto;
    padding-bottom: 200px;
  }

  .contactText {
    margin-top: 90px;
  }
  

}
