/* TWO */
input {
  color: white;
}

.custom-field {
  position: relative;
  font-size: 14px;
  border-top: 20px solid transparent;
  margin-bottom: 5px;
  display: inline-block;
  --field-padding: 12px;
  width: 100%;
}

.custom-field input {
  border: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #f2f2f2;
  padding: var(--field-padding);
  border-radius: 3px;
  width: 100%;
  outline: none;
  font-size: 14px;
}

.custom-field .placeholder {
  position: absolute;
  left: var(--field-padding);
  width: calc(100% - (var(--field-padding) * 2));
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  top: 22px;
  line-height: 100%;
  transform: translateY(-50%);
  color: #ffffff;
  transition: 
    top 0.3s ease,
    color 0.3s ease,
    font-size 0.3s ease;
}

.custom-field input.dirty + .placeholder,
.custom-field input:focus + .placeholder,
.custom-field input:not(:placeholder-shown) + .placeholder {
  top: -10px;
  font-size: 10px;
  color: #ffffff;
}

.custom-field .error-message {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 12px;
  background: #d30909;
  color: #fff;
  height: 24px;
}

.custom-field .error-message:empty {
  opacity: 0;
}

.custom-field.two input {
  border-radius: 0;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  background:
    linear-gradient(90deg, #ffffff, #ffffff) center bottom/0 0.15em no-repeat,
    linear-gradient(90deg, #ffffffd5, #ffffffd5) left bottom/100% 0.15em no-repeat,
    linear-gradient(90deg, #ffffff4f, #ffffff4f) left bottom/100% no-repeat;
  transition: background-size 0.3s ease;
}

.custom-field.two input.dirty,
.custom-field.two input:not(:placeholder-shown),
.custom-field.two input:focus {
  background-size: 100% 0.15em, 100% 0.1em, 100%;
}

#formbtn 
 {
/* Font & Text */
font-family: Poppins, Arial, sans-serif;
font-size: 16px;
font-style: normal;
font-variant: normal;
font-weight: 400;
letter-spacing: normal;
line-height: 24px;
text-decoration: none solid rgb(255, 255, 255);
text-align: center;
text-indent: 0px;
text-transform: none;
vertical-align: middle;
white-space: pre;
word-spacing: 0px;

/* Color & Background */
background-attachment: scroll;
background-color: rgba(226, 226, 226, 0.1);
background-image: none;
background-position: 0% 0%;
background-repeat: repeat;
color: rgb(255, 255, 255);

/* Box */
height: 50px;

border: 1px solid rgb(253, 253, 253);
border-top: 1px solid rgb(253, 253, 253);
border-right: 1px solid rgb(253, 253, 253);
border-bottom: 1px solid rgb(253, 253, 253);
border-left: 1px solid rgb(253, 253, 253);
margin: 10px 0px 20px;
padding: 12px 16px;
max-height: none;
min-height: 0px;
max-width: none;
min-width: 0px;

/* Positioning */
position: relative;
top: 0px;
bottom: 0px;
right: 0px;
left: 0px;
float: none;
display: inline-block;
clear: none;
z-index: auto;

/* List */
list-style-image: none;
list-style-type: disc;
list-style-position: outside;

/* Table */
border-collapse: separate;
border-spacing: 0px 0px;
caption-side: top;
empty-cells: show;
table-layout: auto;

/* Miscellaneous */
overflow: visible;
cursor: pointer;
visibility: visible;

/* Effects */
transform: none;
transition: all 0.3s ease 0s;
outline: rgb(255, 255, 255) none 0px;
outline-offset: 0px;
box-sizing: border-box;
resize: none;
text-shadow: none;
text-overflow: clip;
word-wrap: normal;
box-shadow: rgba(0, 0, 0, 0.22) 0px 10px 20px -6px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}

  /* scroll down item */

  .box{
    position: absolute;
    bottom: 60px;
      left: 50%;
      align-self: center;
      z-index: 100;	
  }
  
  .box span{
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid #4d83b5;
    border-right: 2px solid #4d83b5;
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
  }
  
  .box span:nth-child(2)
  {
    animation-delay: -0.2s;
  }
  
  .box span:nth-child(3)
  {
    animation-delay: -0.4s;
  }
  
  @keyframes animate{
    
    0%{
      opacity: 0;
      transform: rotate(45deg) translate(-20px, -20px);
    }
    50%{
      opacity: 1;
    }
    100%{
      opacity: 0;
      transform: rotate(45deg) translate(20px, 20px);
    }
  }
  
  /* end scroll down */

  /* animated bg */

  .wrap {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }

  #monCanvas {
    position:absolute;
    margin: auto;
    width: 100%;
    height: 100%;
    background-color: #FFF;
    z-index: -1 ;
  }
  
  
  @keyframes rotate360 {
    0% {
      transform: rotate( 0deg ) scale( 1 );
    }
    
    100% {
      transform: rotate( 360deg ) scale( 1.5 );
    }
  }
  
  @keyframes rotate180 {
    0% {
      transform: rotate( 0deg ) scale( 1.25 );
    }
      
    100% {
      transform: rotate( 180deg ) skewX( 1 );
    }
  }
  @keyframes rotate90 {
    0% {
      transform: rotate( 0deg ) scale( 1 );
    }
      
    100% {
      transform: rotate( 90deg ) scale( 1.5 );
    }
  }
  
  polygon {
    fill: #4d83b5;
    opacity: 0.10;
    transform-origin: center center;
    backface-visibility: hidden;
    animation: rotate360 30s linear infinite alternate-reverse;
    
    &:nth-child(2n) {
      animation-name: rotate180;
      animation-duration: 15s;
      animation-direction: alternate;
    }
    
    &:nth-child(3n) {
      animation-name: rotate90;
      animation-duration: 10s;
    }
    
    &:nth-child(5n) {
      animation-duration: 30s;
      animation-direction: alternate-reverse;
    }
  }

  /* Media query for smaller screens (adjust max-width as needed) */
@media (max-width: 900px) {
  polygon:nth-child(2n),
  polygon:nth-child(3n),
  polygon:nth-child(5n) {
    display: none; /* Hide specific polygons on smaller screens */
  }
}