@font-face {
  font-family: 'AgencyFB-Bold';
  src: url('/Technowire/AgencyFB-Bold.ttf');
  font-weight: bold;
  font-style: normal;
}

:root {
  --home-bg-color: #f2f3ee;
  --menu-bg-color: #cbcbc2;
  --silde-btn-border: #808080;
  --slide-btn-bg: #ddf2db;
  --slide-btn-hoverbg: #f1fff1;
  --alpha-green: rgba(33, 96, 47, 0.51);
  --icon-hover-color: #344a39;
  --icon-hover-bg: #709680;
  --text-color: #616161;
  --border-color: #709680;
  --heading-color: #344a39;
  --box-shadow-color: #b5b5ac;
  --lightest-green: #86a58d;
  --light-green: #9ab09a;
  --dark-green: rgba(52, 74, 57, 0.86);
  --box-shadow: 0px 0px 3px 5px var(--box-shadow-color);
  --border-radius: 60px 5px;
  --fade-green: rgba(57, 87, 64, 0.55);
}


body {
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-family: 'AgencyFB-Bold';
  background-image: linear-gradient(to right top, #1b0957, #251f79, #2a369d, #284ec3, #1267eb);
  color: white;
}

:root {
  --background-color: #00218f;
  --text-color: #ffd13f;
  --accent-color: #0065d1;
  --smal-text: #ebe55f;
  --extra: #00bdff;
}

header {
  height: 30px;
 }
 
 
 nav {
  display: flex;
  justify-content: space-around;
}

nav img {
  border-radius: 30px;
}

 ul {
  display: flex;
  justify-content: space-around;
}

li {
  display: flex;
  justify-content: space-evenly;
}

.ham-menu{
  display: none;
}

#ham-menu {display: none;}
.technoimg  {
  display: none;
}
p {
  font-size: 14px;
  color: white;
  font-weight: 900;
}

h1 {
  font-size: 34px;
  color: white;
}


button {
  cursor: pointer;
  color: white;
  border-radius: 18px;
  background-color: transparent;
  font-size: 40px;
}

button.button2 {
  border: none;
  cursor: pointer;
  color: white;
  border-radius: 0px;
  background-color: transparent;
  font-size: 14px;
  font-family: 'AgencyFB-Bold';
}


aside {
  background-color: #00218f;
  color: var(--accent-color);
  z-index: 123;
}

strong {
  font-size: 54px;
  margin-top: 20px;
  color: var(--text-color);
}


.my-videodesign img {
  width: 300px;
  height: auto;
  margin-top: 300px;
}

.digymatex {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 30px 0;
}

.digymatex img {
  width: 300px;
  height: auto;
}

.puzzle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px;
  flex-direction: column;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#Welcome .container {
  text-align: center;
  justify-content: center;
  align-items: center;
}

.textclassone {
  font-size: 14px;
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "Aside Aside"
    "Text Action";
}

.Aside {
  grid-area: Aside;
}

.Text {
  grid-area: Text;
}

.Action {
  grid-area: Action;
}

.second-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "text text text text text"
    "Image Image blocks blocks blocks"
    "footer footer footer footer footer";
}

.Image {
  grid-area: Image;
}

.blocks {
  grid-area: blocks;
}

.footer {
  grid-area: footer;
}

.text {
  grid-area: text;
}

.pexels1 {
  height: auto;
  width: 614px;
  margin-top: -113px;
  border-top-left-radius: -110px 285px;
  border-top-right-radius: 23px 130px;
  border-bottom-left-radius: 434px 49px;
  border-bottom-right-radius: 443px 302px;
  border: 40px solid rgb(55, 2, 116);
}

.success-button {
  padding: 10px 20px;
  font-size: 14px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.success-button:hover {
  background-color: #45a049;
}

.second-container h1 {
  color: white;
  margin-top: 0;
  padding: 30px;
  font-size: 14px;
}

.blocks {
  text-align: center;
}

.blocks p {
  margin-left: 142px;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 900;
}

.footer {
  height: 100px;
  margin: 0;
}

.footer img {
  width: 70%;
  margin-bottom: -100px;
}

.snake-container {
  width: 100%;
  overflow: hidden;
  height: 500px;
  z-index: 1;
  margin-top: -500px;
}

.snake {
  background-color: rgb(0, 0, 0);
  width: 50px;
  height: 50px;
  animation: snakeMove 4s linear infinite;
  position: relative;
  top: 50%;
  left: -50px;
  z-index: 2;
  border-radius: 30px 0px;
}


@keyframes snakeMove {
  0%, 100% {
    left: -50px;
    top: 50%;
  }

  25% {
    left: 100%;
    top: 25%;
  }

  50% {
    left: 100%;
    top: 75%;
  }

  75% {
    left: -50px;
    top: 50%;
  }
}

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

  .header-desktop {
    display: none;
  }  


      header img{
        height: 100px;
        width: auto;
      }
      
      #ham-menu {
        display: none;
      }
      label[for="ham-menu"] {
        display: block;
        position: fixed;
        top: 24px;
        z-index: 999;
        width: 60px;
        height: 60px;
        background-color: var(--home-bg-color);
        border-radius: 15px;
        border: 2px solid var(--border-color);
      }
      
      .ham-menu-label {
        display: block;
        position: fixed;
        top: 24px;
        right: 20px; /* Adjust the right position as needed */
        z-index: 999;
        width: 60px;
        height: 60px;
        background-color: var(--home-bg-color);
        border-radius: 15px;
        border: 2px solid var(--border-color);
      }
      
      .ham-menu {
        width: 50vw;
        height: 100%;
        position: fixed;
        top: 0;
        visibility: hidden;
        transform: translateX(110%); /* Change translate value to move to the right */
        z-index: 998;
        background-color: var(--lightest-green);
        transition: 1s;
        display: flex;
        justify-content: center;
        align-items: center;
      }  
      
      .ham-menu > ul {
        display: flex;
        flex-flow: column nowrap;
        justify-content: space-around;
        height: 50%;
        left: 0;
      }
      .ham-menu > ul > li {
        font-size: 1rem;
        white-space: nowrap;
        letter-spacing: 0.15em;
        cursor: pointer;
        color: rgb(97, 97, 97);
      }
      #ham-menu:checked + label {
        background-color: transparent;
        border-color: var(--dark-green);
      }
      #ham-menu:checked ~ div.ham-menu {
          transform: translate(0px);
          visibility: visible;
          right: 0;
      }
      .full-page-green {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--dark-green);
        z-index: 997;
        opacity: 0;
        visibility: hidden;
        display: none;
        transition: 500ms;
        position: fixed;
        top: 0;
        left: 0;
      }
      #ham-menu:checked ~ div.full-page-green {
        display: block;
        opacity: 1;
        visibility: visible;
      }
      [for="ham-menu"] > div {
        width: 100%;
        height: 100%;
        display: flex;
        flex-flow: column wrap;
        align-content: center;
        align-items: center;
      }
      .menu-line {
        display: block;
        width: 17px;
        height: 2px;
        margin: 10px 0 5px;
        border-top-left-radius: 2px;
        border-bottom-left-radius: 2px;
        background-color: var(--border-color);
        transition: 500ms;
        transform-origin: right center;
      }
      [for="ham-menu"] > div > span:nth-child(4),
      [for="ham-menu"] > div > span:nth-child(5),
      [for="ham-menu"] > div > span:nth-child(6) {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-top-right-radius: 2px;
        border-bottom-right-radius: 2px;
        transform-origin: left center;
      }
      #ham-menu:checked + label span {
        background-color: var(--dark-green);
      }
      #ham-menu:checked + label span:nth-child(2),
      #ham-menu:checked + label span:nth-child(5) {
        transform: scale(0);
      }
      #ham-menu:checked + label span:nth-child(1) {
        transform: translateY(17px) rotate(45deg);
      }
      #ham-menu:checked + label span:nth-child(4) {
        transform: translateY(17px) rotate(-45deg);
      }
      #ham-menu:checked + label span:nth-child(3) {
        transform: translateY(-17px) rotate(-45deg);
      }
      #ham-menu:checked + label span:nth-child(6) {
        transform: translateY(-17px) rotate(45deg);
      }
      

  .second-container h1 {
    color: white;
    margin-top: 0;
    padding: 30px;
    font-size: 14px;
  }
  .pexels1 {
    margin-top: 17px;
    height: auto;
    width: 271px;
    margin-bottom: 130px;
  }
  .containerbtn {
    margin-top: -200px;
  }

  .my-videodesign img {
    margin-top: 150px;
  }
  
  .technoimg  {
    display: block;
  }
}

.containerbtn {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 120px;
  margin-top: -150px; /* Change this line to remove the top margin */
}

.button23 {
  position: relative;
  padding: 16px 30px;
  font-size: 1.5rem;
  color: var(--text-color);
  border-radius: 4px;
  text-shadow: 0 0 15px var(--text-color);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  transition: 0.5s;
  z-index: 1;
}

.button23:hover {
  color: #fff;
  border: 2px solid rgba(48, 75, 194, 0);
  box-shadow: 0 0 0px var(--text-color);
}

.button23::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--text-color);
  z-index: -1;
  transform: scale(0);
  transition: 0.5s;
}

.button23:hover::before {
  transform: scale(1);
  transition-delay: 0.5s;
  box-shadow: 0 0 10px var(--text-color),
    0 0 30px var(--text-color),
    0 0 60px var(--text-color);
}

.button23 span {
  position: absolute;
  background: var(--text-color);
  pointer-events: none;
  border-radius: 2px;
  box-shadow: 0 0 10px var(--text-color),
    0 0 20px var(--text-color),
    0 0 30px var(--text-color),
    0 0 50px var(--text-color),
    0 0 100px var(--text-color);
  transition: 0.5s ease-in-out;
  transition-delay: 0.25s;
}

.button23:hover span {
  opacity: 0;
  transition-delay: 0s;
}

.button23 span:nth-child(1),
.button23 span:nth-child(3) {
  width: 40px;
  height: 4px;
}

.button23:hover span:nth-child(1),
.button23:hover span:nth-child(3) {
  transform: translateX(0);
}

.button23 span:nth-child(2),
.button23 span:nth-child(4) {
  width: 4px;
  height: 40px;
}

.button23:hover span:nth-child(2),
.button23:hover span:nth-child(4) {
  transform: translateY(0);
}

.button23 span:nth-child(1) {
  top: calc(50% - 2px);
  left: -50px;
  transform-origin: left;
}

.button23:hover span:nth-child(1) {
  left: 50%;
}

.button23 span:nth-child(3) {
  top: calc(50% - 2px);
  right: -50px;
  transform-origin: right;
}

.button23:hover span:nth-child(3) {
  right: 50%;
}

.button23 span:nth-child(2) {
  left: calc(50% - 2px);
  top: -50px;
  transform-origin: top;
}

.button23:hover span:nth-child(2) {
  top: 50%;
}

.button23 span:nth-child(4) {
  left: calc(50% - 2px);
  bottom: -50px;
  transform-origin: bottom;
}

.button23:hover span:nth-child(4) {
  bottom: 50%;
}

