:root {
  --main_color: #36454F;
  --main_color2: #49565F;
  --secondary_color: #CBF7FF;
  --banner_color: #EC9929;
  --font-gr: 'Fira Sans', serif;
  --font-en: 'Raleway', sans-serif;
}
/*
.my-row {
  border: 1px solid red;
}

.my-col {
  border: 1px solid red;
}
*/
body {
  font-family: var(--font-gr) !important;
  font-weight: 100 !important;
  transition: background-color 1s ease;
  overflow-x: hidden;
  background-color: var(--main_color);
}

html {
  scroll-behavior: smooth;
}

/*social links*/
#social-ul {
  position: fixed;
  top: 50%;
  right: -3%;
  z-index: 1;
  transform: translate(-50%, -50%);
}

#social-ul li {
  list-style: none;
  margin-top: 10%;
}

#social-ul li a {
  width: 60px;
  height: 60px;
  background-color: #fff;
  text-align: center;
  line-height: 50px;
  font-size: 25px;
  margin: 0 10px;
  display: block;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 3px solid #fff;
  z-index: 1;
}

#social-ul li a .icon {
  position: relative;
  color: #262626;
  transition: .5s;
  z-index: 3;
}

#social-ul li a:hover .icon {
  color: #fff;
  transform: rotateY(360deg);
}

#social-ul li a:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f00;
  transition: .5s;
  z-index: 2;
}

#social-ul li a:hover:before {
  top: 0;
}

#social-ul li:nth-child(1) a:before {
  background: #3b5999;
}

#social-ul li:nth-child(2) a:before {
  background: #55acee;
}

#social-ul li:nth-child(3) a:before {
  background: #0077b5;
}

#social-ul li:nth-child(4) a:before {
  background: #dd4b39;
}

@media screen and (max-width: 1024px) {
  #social-ul {
    display: none;
  }
}

/*end of social links*/

.bg-dark {
  background-color: transparent !important;
  height: 85px;
  animation: 1s ease-out 0s 1 slideInLeft;
  -webkit-animation: 1s ease-out 0s 1 slideInLeft;
}

.bg-dark.scrolled {
  background-color: #49565F !important;
  transition: background-color 0.5s ease;
  transition: all ease 1s;
  background-position: left;
  transform-origin: left;
  opacity: 0.9;
}

.bg-dark.scrolled > .collapse.show {
  background-color: #49565F !important;
}

nav .nav-item a {
  color: #CBF7FF !important;
  font-weight: 200;
}

.nav-link::before {
  background: #EC9929;
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

.navbar {
  position: sticky;
}

.navbar-brand {
  color: black !important;
  font-size: 30px;
}

.nav-item a {
  font-size: 23px;
  margin: 15px;
}

.collapse.show {
  background-color: var(--main_color);
}

a {
  color: black !important;
  position: relative;
  text-decoration: none;
}

a::before {
  content: "";
  inset: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease-in-out;
  z-index: -1;
}

a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar-toggler {
  outline: none !important;
}

/*change color between section*/
.panel {
  background-color: transparent;
  /*min-height: 90vh;*/
  /*outline: 10px solid hotpink;*/
  /* turn above on to see the edge of panels */
}

#hero .my-container {
  margin-top: 5% !important;
  margin: 0;
  margin-left: auto !important;
  margin-right: auto !important;
}

#hero .my-col>p {
  color: var(--secondary_color);
  font-family: var(--font-gr);
}

#hero #main-text {
  margin-top: 20px;
  font-size: 70px;
}

#hero #secondary-text {
  margin-top: 40px;
  margin-bottom: 30px;
  font-size: 30px;
}

#hero .text-hero-section {
  position: relative;
  color: var(--secondary_color);
}

#hero .text-hero-section::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary_color);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

#hero .text-hero-section:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/*about section*/
#About {
  padding-top: 100px;
  padding-bottom: 100px;
  /* background-size: cover;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(""); */
}

/*Animetion on scroll about section*/
#About .hidden {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-100%);
  transition: all 0.7s;
}

#About .show {
  filter: blur(0);
  opacity: 1;
  transform: translateX(0);
}

#About #row-about p {
  font-weight: 300 !important;
  background-color: var(--main_color);
}

@keyframes typing {
  from {
    width: 100%
  }

  to {
    width: 0
  }
}

.hiders {
  width: 100%;
  margin-top: -100px;
}

.hiders-hidden {
  width: 100%;
  margin-top: -100px;
  background-color: var(--main_color);
  height: 100px;
}

.hiders p {
  position: relative;
  clear: both;
  margin: 0;
  margin-left: -250px;
  float: right;
  /* makes animation go left-to-right */
  width: 0;
  /* graceful degradation: if animation doesn't work, these are invisible by default */
  background-color: var(--main_color);
  /* same as page background */
  animation: typing 2s steps(30, end);
  animation-fill-mode: both;
  /* load first keyframe on page load, leave on last frame at end */
}

.hiders p:nth-child(1) {
  animation-delay: 0s;
}

.hiders p:nth-child(2) {
  animation-delay: 2s;
}

.hiders p:nth-child(3) {
  animation-delay: 4s;
}

.hidden {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(-30%);
  transition: all 1s;
}

.show {
  filter: blur(0);
  opacity: 1;
  transform: translateY(0);
}

@media(prefers-reduced-motion) {
  .hidden {
    transition: none;
  }

}

#About h1 {
  font-size: 50px !important;
}

@media(max-width:768px) {
  #About {
    padding-top: 100px;
  }
  #About h1 {
    font-size: 35px !important;
  }
  #About #row-about p {
	  padding: 0 20px;
	}
}

/*End Animetion on scroll about section*/
/*end about section*/

/* colours */
.color-one {
  background-color: var(--main_color);
}

.color-two {
  background-color: var(--main_color2);
}



/*change color between section*/


h1,h2 {
  font-family:  var(--font-gr) !important;
  font-weight: 200 !important;
  font-size: 60px !important;
  color: var(--secondary_color) !important;
  text-align: center !important;
}

p {
  font-weight: 600;
  font-size: 20px;
  color: var(--secondary_color);
  text-align: center;

}

/*HOME SECTION*/

#hero .my-container {
  margin-top: 5% !important;
  margin: 0;
}

#hero .my-col>p {
  font-family:  var(--font-gr);
  color: var(--secondary_color);
  font-weight: 300;
}

#hero #main-text {
  margin-top: 20px;
  font-size: 70px;
}

#hero #secondary-text {
  margin-top: 40px;
  margin-bottom: 30px;
  font-size: 27px;
}

#hero .text-hero-section {
  position: relative;
  color: var(--secondary_color);
}

#hero .text-hero-section::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary_color);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

#hero .text-hero-section:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

#hero #hero-section-btn {
  background-color: transparent;
  border: 1px solid var(--banner_color);
  font-family: "Avenir Next LT W01 Bold", sans-serif;
  box-sizing: border-box;
  color: #00132C;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  padding: 16px 23px;
  position: relative;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

#hero #hero-section-btn a {
  text-decoration: none !important;
}

#hero #hero-section-btn:hover,
#hero-section-btn:active {
  outline: 0;
}

#hero #hero-section-btn:hover {
  background-color: transparent;
  cursor: pointer;
}

#hero #hero-section-btn:before {
  background-color: var(--banner_color);
  content: "";
  height: calc(100% + 3px);
  position: absolute;
  right: -7px;
  top: -9px;
  transition: background-color 300ms ease-in;
  width: 100%;
  z-index: -1;
  -webkit-transition: background-color 300ms ease-in;
  -moz-transition: background-color 300ms ease-in;
  -ms-transition: background-color 300ms ease-in;
  -o-transition: background-color 300ms ease-in;
}


#hero #hero-section-btn:hover:before {
  background-color: var(--main_color2);
}

@media (min-width: 768px) {
  #hero #hero-section-btn {
    padding: 16px 32px;
  }
}

@media (max-width:768px) { 
  #hero #main-text {
    font-size: 40px;
  }
  #hero #secondary-text {
  	font-size: 25px;
	}
  
}

/*HOME SECTION END*/



/*CONTACT*/
#Contact {
  padding-top: 100px;
  color: var(--secondary_color);
  padding-bottom: 50px;;
}

#Contact input {
  background-color: transparent;
  color: var(--secondary_color);
  line-height: normal;
}

#Contact #container {
  border: solid 2px var(--secondary_color);
  ;
  max-width: 50%;
  margin: 10px auto;
}

#Contact form {
  color: var(--secondary_color);
  padding: 37.5px;
}

#Contact h1 {
  background-color: transparent;
  padding-top: 20px;
  color: var(--secondary_color);
  font-size: 28px !important;
  font-weight: 500 !important;
  letter-spacing: 7px;
  text-align: center;
  text-transform: uppercase;
}

#Contact .icon_wrapper {
  color: var(--secondary_color);
  margin: 50px auto 0;
  width: 100%;
}

#Contact .email {
  background-color: transparent;
  color: var(--secondary_color);
  float: right;
  width: 45%;
}

#Contact input[type='text'],
[type='email'],
select,
textarea {
  color: var(--secondary_color);
  border: none;
  border-bottom: solid 2px var(--secondary_color);
  background-color: transparent;
  font-size: 1.000em;
  font-weight: 400;
  margin: 0em 0 1.875em 0;
  padding: 0 0 0.5em 0;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

#Contact select option {
  background-color: var(--main_color2) !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 10px;
}


#Contact input[type='text']:focus,
[type='email']:focus,
textarea:focus {
  color: var(--secondary_color);
  outline: none;
  padding-top: 10px;
}

#Contact .name {
  background-color: transparent;
  color: var(--secondary_color) !important;
  float: left;
  width: 45%;
}

#Contact select {
  color: var(--secondary_color);
  background-color: transparent;
  outline: none;
}

#Contact .subject {
  color: var(--secondary_color);
  background-color: transparent;
  width: 100%;
}

#Contact .telephone {
  color: var(--secondary_color);
  background-color: transparent;
  width: 100%;
}

#Contact textarea {
  color: var(--secondary_color);
  background-color: transparent;
  line-height: 100%;
  height: 90px;
  resize: none;
  width: 100%;
}

::-webkit-input-placeholder {
  color: #474544;
}

:-moz-placeholder {
  color: #474544;
  opacity: 1;
}

::-moz-placeholder {
  color: #474544;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #474544;
}

/* Change the white to any color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px transparent inset !important;
}

#form_button {
  background: none;
  border: solid 2px #474544;
  color: #474544;
  cursor: pointer;
  display: inline-block;
  font-family: "Avenir Next LT W01 Bold", sans-serif !important;
  font-size: 16px;
  /*font-weight: bold;*/
  outline: none;
  padding: 20px 35px;
  text-transform: uppercase;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

#form_button:hover {
  background: #474544;
  color: #F2F3EB;
}

#Contact button#btn {
  width: 170px;
  height: 60px;
  border: none;
  outline: none;
  background: var(--banner_color);
  font-family: "Avenir Next LT W01 Bold", sans-serif !important;
  color: black;
  font-size: 16px;
  border-radius: 40px;
  text-align: center;
  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

#Contact button p {
  color: black;
  font-size: 16px;
}

.check-box {
  width: 60px;
  height: 60px;
  border-radius: 40px;
  box-shadow: 0 0 12px -2px rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  right: -40px;
  opacity: 0;
}

#Contact .check-box svg {
  margin: 10px;
}

#Contact svg path {
  stroke-width: 3;
  stroke: black;
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
  stroke-linecap: round;
}

#Contact p {
  margin-top: 15px;
}

#Contact .active {
  background: black;
  transition: 1s;
}

#Contact .active .check-box {
  right: 0;
  opacity: 1;
  transition: 1s;
}

#Contact .active p {
  color: black;
  margin-right: 50px;
  transition: 1s;
}

#Contact .active svg path {
  stroke-dashoffset: 0;
  transition: 1s;
  transition-delay: 1s;
}

::placeholder {
  color: var(--secondary_color);
  opacity: 1;
  /* Firefox */
}


:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: var(--secondary_color);
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: var(--secondary_color);
}

@media screen and (max-width: 768px) {
  #Contact #container {
    max-width: 100%;
    margin: 0;
  }
  #Contact h1 {
    font-size: 100% !important;
  }
}

@media screen and (max-width: 480px) {
  #Contact h1 {
    font-size: 26px;
  }

  #Contact .underline {
    width: 68px;
  }

  #Contact #form_button {
    padding: 15px 25px;
  }
}

@media screen and (max-width: 420px) {
  #Contact h1 {
    font-size: 15px;
  }

  #Contact input[type='text'],
  [type='email'],
  select,
  textarea {
    font-size: 0.875em;
  }
}

/*End CONTACT*/

/* services */

#Services {
  color: var(--secondary_color);
}

#Services .container {
  margin: 0;
}

#Services .hidden {

  opacity: 0;
  filter: blur(5px);
  transform: translateY(-50%);
  transition: all 1.3s;
}

#Services .show {
  transition-delay: 1s;
  filter: blur(0);
  opacity: 1;
  transform: translateY(0);
}

#Services .promo {
  background-size: cover;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../images/background-services.jpeg");
}

#Services .promo-text {
  padding-top: 120px;
  width: 60%;
  display: block;
  font-size: 70px;
  text-align: left;
  font-weight: 200;
  line-height: normal;
  margin-left: auto;
  margin-right: auto;
}

#Services #services-btn {
  background-color: transparent;
  border: 1px solid var(--banner_color);
  box-sizing: border-box;
  font-family: "Avenir Next LT W01 Bold", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  z-index: 1;
  padding: 16px 23px;
  margin-top: 50px;
  margin-bottom: 100px;
  position: relative;
  touch-action: manipulation;
}

#Services #services-btn a {
  text-decoration: none !important;
}

#Services #services-btn:hover,
#Services #services-btn:active {
  outline: 0;
}

#Services #services-btn:hover {
  background-color: transparent !important;
  cursor: pointer;
}

#Services #services-btn:before {
  background-color: var(--banner_color);
  content: "";
  height: calc(100% + 3px);
  position: absolute;
  right: -7px;
  top: -9px;
  transition: background-color 300ms ease-in;
  width: 100%;
  z-index: -1;
  -webkit-transition: background-color 300ms ease-in;
  -moz-transition: background-color 300ms ease-in;
  -ms-transition: background-color 300ms ease-in;
  -o-transition: background-color 300ms ease-in;
}

#Services #services-btn:hover:before {
  opacity: 0.5;
  background-color: var(--main_color2);
}

#Services #service1,
#service2 {
  margin-top: 120px;
  box-sizing: border-box;
}

#Services #service1,
#service2,
#service3,
#service4 {
  width: 300px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  ;
}

#Services #service1 div,
#service2 div,
#service3 div,
#service4 div {
  font-size: 20px;
  padding: 10px 10px;
  text-align: justify;
  width: 300px;
  border: 0;
}

#Services #service1 div>div,
#service2 div>div,
#service3 div>div,
#service4 div>div {
  padding: 30px 30px 30px 10px;
  ;
}

#Services span {
  display: block;
  font-size: 25px;
  text-align: left;
  padding: 10px 10px;
  border-bottom: solid;
  border-color: var(--secondary_color);
  border-width: 1px;
}

.services {
  width: 100%;
}

#Services #service2 div::before,
#Services #service2 div::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  transition: .7s ease-in-out;
  -webkit-transition: .7s ease-in-out;
  -moz-transition: .7s ease-in-out;
  -ms-transition: .7s ease-in-out;
  -o-transition: .7s ease-in-out;
}

#Services #service2 div::before {
  top: -5px;
  left: -5px;
  border-top: 2px solid var(--banner_color);
  border-left: 2px solid var(--banner_color);
}

#Services #service2 div::after {
  right: -5px;
  bottom: -5px;
  border-bottom: 2px solid var(--banner_color);
  border-right: 2px solid var(--banner_color);
}

#Services #service2 div:hover::before,
#Services #service2 div:hover::after {
  width: calc(100% + 9px);
  height: calc(100% + 9px);
}

#Services #service3 div::before,
#Services #service3 div::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  transition: .7s ease-in-out;
  -webkit-transition: .7s ease-in-out;
  -moz-transition: .7s ease-in-out;
  -ms-transition: .7s ease-in-out;
  -o-transition: .7s ease-in-out;
}

#Services #service3 div::before {
  top: -5px;
  left: -5px;
  border-top: 2px solid var(--banner_color);
  border-left: 2px solid var(--banner_color);
}

#Services #service3 div::after {
  right: -5px;
  bottom: -5px;
  border-bottom: 2px solid var(--banner_color);
  border-right: 2px solid var(--banner_color);
}

#Services #service3 div:hover::before,
#Services #service3 div:hover::after {
  width: calc(100% + 9px);
  height: calc(100% + 9px);
}

#Services #service4 div::before,
#Services #service4 div::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  transition: .7s ease-in-out;
  -webkit-transition: .7s ease-in-out;
  -moz-transition: .7s ease-in-out;
  -ms-transition: .7s ease-in-out;
  -o-transition: .7s ease-in-out;
}

#Services #service4 div::before {
  top: -5px;
  left: -5px;
  border-top: 2px solid var(--banner_color);
  border-left: 2px solid var(--banner_color);
}

#Services #service4 div::after {
  right: -5px;
  bottom: -5px;
  border-bottom: 2px solid var(--banner_color);
  border-right: 2px solid var(--banner_color);
}

#Services #service4 div:hover::before,
#Services #service4 div:hover::after {
  width: calc(100% + 9px);
  height: calc(100% + 9px);
}

#Services #service1 div::before,
#Services #service1 div::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  transition: .7s ease-in-out;
  -webkit-transition: .7s ease-in-out;
  -moz-transition: .7s ease-in-out;
  -ms-transition: .7s ease-in-out;
  -o-transition: .7s ease-in-out;
}

#Services #service1 div::before {
  top: -5px;
  left: -5px;
  border-top: 2px solid var(--banner_color);
  border-left: 2px solid var(--banner_color);
}

#Services #service1 div::after {
  right: -5px;
  bottom: -5px;
  border-bottom: 2px solid var(--banner_color);
  border-right: 2px solid var(--banner_color);
}

#Services #service1 div:hover::before,
#Services #service1 div:hover::after {
  width: calc(100% + 9px);
  height: calc(100% + 9px);
}

@media(max-width:1228px) {
  #Services .promo-text {
    font-size: 60px;
    margin-left: 10px;
  }
}

@media(max-width:768px) {
  #Services .promo-text {
    font-size: 60px;
    margin-left: 10px;
    width: 100%;
  }
  #service1, #service2, #service3, #service4 {
    margin-top: 40px;
  }
}

@media((max-width:1029px) and (min-width:767px)) {
  #Services .promo-text {
    font-size: 50px;
    margin-left: 0px;
  }
}

/* END services*/



/*Works*/

#Projects {
  padding-top: 100px;
}
#Projects .my-container {
  padding: 0px 20px;
}
#Projects img {
  width: 90%;
}

@media(max-width:768px) {
  #Projects h1 {
    font-size: 40px !important;
  }
  #project1_text h2{
    font-size: 30px !important;
  }
  #project2_text h2{
    font-size: 30px !important;
  }
}

.carousel picture {
  width: 110%;
  display: block;
}

.carousel a {
  color: black;
}

.carousel .carousel-indicators li {
  background-color: var(--main_color);
}

/* #project1_image {
  width: 600px;
  height: 450px;
  margin-left: 15%;

}
#project2_image {
  width: 600px;
  height: 450px;
  margin-left: 7%;
} */
#project1_text>h2{
  padding-top: 5%;
}
#project2_text>h2{
  padding-top: 5%;
  text-align: left !important;
}

#project2_text>p {
  padding-top: 5%;
  text-align: right;
}
#project1_text>p {
  padding-top: 5%;
  text-align: left;
}

.works_btn1{
  margin-top: 1%!important;
  margin-right: 2%;
}
.works_btn2{
  margin-top: 1%!important;
  margin-right: 2%;
  float: left;
}

#works_row2{
  margin-top: 10%;
}

@media((max-width:1024px) and (min-width:768px)){
  #project1_text>h2{
    font-size: 300% !important;
  }
  #project2_text>h2{
    font-size: 300% !important;
  }
}

@media(max-width:768px) {
  #project1_text>h2{
    text-align: left !important;
  }
  #project2_text>h2{
    text-align: left !important;
  }
  .works_btn1{
    float: left;
	margin-bottom: 10px;
  }
  .works_btn2{
    float: left;
	margin-bottom: 10px;
  }
  .Projects-col {
	  padding-left: 0 !important;
	  padding-right: 0 !important;
  }
  #Projects  {
    width: 100%;
    clear: left;
  }
  .animation {
    display: none;
  }
}

@media screen and (max-width: 670px) {
  #project1_text>h2{
    font-size: 30px !important;
  }
  #project2_text>h2{
    font-size: 30px !important;
  }
  .animation {
    display: none;
  }
}
/*end of works*/

/* FOOTER */

#footer {
  background-color: var(--main_color2);
  margin: 0;
  justify-content: center;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 0;
}
#footer .social-list {
  display: none;
  justify-content: center;
}
#footer .social-list li {
  list-style: none;
  float: left;
  margin-top: 20px;
}

#footer .social-list li a {
  width: 50px;
  height: 50px;
  background-color: #fff;
  text-align: center;
  line-height: 50px;
  font-size: 20px;
  margin: 0 10px;
  display: block;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 2px solid #fff;
}

#footer .social-list li a .icon {
  position: relative;
  color: #262626;
  transition: .5s;
  z-index: 3;
  -webkit-transition: .5s;
  -moz-transition: .5s;
  -ms-transition: .5s;
  -o-transition: .5s;
}

#footer .social-list li a:hover .icon {
  color: #fff;
  transform: rotateY(360deg);
}

#footer .social-list li a:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f00;
  transition: .5s;
  z-index: 2;
}

#footer .social-list li a:hover:before {
  top: 0;
}

#footer .social-list li:nth-child(1) a:before {
    background: #3b5999;
  }

#footer .social-list li:nth-child(2) a:before {
  background: #55acee;
}

#footer .social-list li:nth-child(3) a:before {
  background: #0077b5;
}

#footer .social-list li:nth-child(4) a:before {
  background: #dd4b39;
}

#footer p {
  color: var(--secondary_color) !important;
  font-size: 17px;;
  font-weight: 200;
  margin-right: 10%;
  letter-spacing: 1.5px;
}
#footer .text {
  display: flex;
  justify-content: right;
}
#footer span {
  font-weight: 500;
  letter-spacing: 1.5px;
}
#footer form1 > span {
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
  border: none;
  outline: none;
  color: var(--main_color) !important;
  font-weight: 300;
  padding: 18px 15px;
  padding-right: 70px; 
  width: 370px;
  background-color: white;
}
#footer ::placeholder {
  color: black;
  opacity: 1;
  /* Firefox */
}
#footer ::-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: black;
}
#footer ::-ms-input-placeholder {
  /* Microsoft Edge */
  color: black;
}
#footer button {
  background-color: var(--main_color);
  color: var(--secondary_color) !important;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
  padding: 17px 20px;
  border: none;
  margin-left: -63px;
  outline: none;
  cursor: pointer;
}

#footer button a {
  color: var(--secondary_color) !important;
}
#footer button p {
  margin: 0;
}
#footer .check-box {
  width: 45px;
  height: 50px;
  border-radius: 40px;
  box-shadow: 0 0 12px -2px rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 4px;
  left: 338px;
  opacity: 0;
}

#footer .check-box svg {
  margin: 7px;
}

#footer svg path {
  stroke-width: 3;
  stroke: var(--secondary_color);
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
  stroke-linecap: round;
}

#footer .active {
  transition: 1s;
}

#footer .active .check-box {
  right: 0;
  opacity: 1;
  transition: 1s;
}

#footer .active p {
  color: black;
  margin-right: 21px;
  transition: 1s;
  font-size: 15px;
  padding: 1px 4px;
}

#footer .active svg path {
  stroke-dashoffset: 0;
  transition: 1s;
  transition-delay: 1s;
}

@media (max-width:1024px) {
  #footer .social-list {
    display: flex;
  }
}

@media screen and (max-width: 768px) {
  #footer p {
    margin-right: auto;
    margin-left: auto;
  }
  #footer form1 > span {
    margin-right: 50%;
    margin-left: 0;
    width: 90%;
  }
  #footer form1 {
    justify-content: center;
    display: flex;
  }
  #footer button {
    border: 2px white solid;
    margin-left: -255px;
  }
  #footer .check-box {
    left: 480px;
  }
}

@media screen and (max-width: 580px) {
  #footer .check-box {
   display: none;
  }
  #footer button {
    border: 2px white solid;
    margin-left: -67%;
  }
}

@media screen and (max-width: 420px) {
  #footer .check-box {
   display: none;
  }
  #footer button {
    border: 2px white solid;
    margin-left: -67%;
  }
}


/* END FOOTER */
