@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");

.bg-blue {
  background-color: #c0f1f1;
}
.bg-blue-top {
  background-color: #c0f1f1;

}
.bg-grey {
  background-color: #eee0f7;
}
.center {
  text-align: center;
  align-items: center;
}
.center-about {
  text-align: left;
  margin-bottom: 8%;
  margin-left: 10%;
}
.spacing {
  height: 80px;
}
.spacing-header {
  height: 130px;
}
.spacing-services {
  height: 122px;
}
.logo {
  width: 100px;
  height: auto;
  align-items: center;
  margin-left: 70px;
}
.btn {
  background-color: #d9d9d9;
  text-align: center;
  border-color: aquamarine;
  text-decoration: none;
  display: inline-block;
  padding-left: 45px;
  padding-right: 45px;
  margin-top: 70px;
  margin-bottom: 70px;
  margin-left: 7%;
  width: 302px;
  height: 59px;
}
.btn:hover {
  background-color: #d9d9d9 !important;
  text-align: center;
  border-color: aquamarine;
  text-decoration: none;
  display: inline-block;
  transform: scale(1.1);
}
.parent {
  position: relative;
  top: 0;
  left: 0;
}
.image1 {
  position: absolute;
  top: 11%;
  left: 5%;
  right: 50px;
  width: auto;
  height: 30%;
  border: 1px red solid;
  z-index: 3;
}
.image2 {
  position: absolute;
  top: 6%;
  left: 56%;
  width: auto;
  height: 35%;
  border: 1px green solid;
  z-index: 2;
}
.image3 {
  position: absolute;
  top: 30%;
  left: 22%;
  width: auto;
  height: 50%;
  border: 1px rgb(0, 2, 128) solid;
  z-index: 1;
}
.services-photo {
  margin: 40px;
}
.services-header {
  margin: 35px;
}
/*Modal window*/
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1031; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  padding-top: 60px;
}
/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5px auto; /* 15% from the top and centered */
  border: 1px solid #888;
  width: 640px; /* Could be more or less, depending on screen size */
  align-items: center;
}
/* The Close Button */
.close {
  /* Position it in the top right corner outside of the modal */
  position: absolute;
  right: 15px;
  top: 0px;
  color: #746cff;
  font-size: 35px;
  font-weight: bold;
  z-index: 6;
}
/* Close button on hover */
.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
}
/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s;
}
@-webkit-keyframes animatezoom {
  from {
    -webkit-transform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
  }
}
@keyframes animatezoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
/*Modal window end*/
.submit {
  margin-top: 5px;
  margin-bottom: 20px;
  margin-left: -55px;
  background-color: #746cff;
  color: white;
  border: none;
  width: 150px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row-reverse;
}
.submit:hover {
  transform: scale(1.1);
}
form:required [type="submit"] {
  background: red;
}
form:invalid [type="submit"] {
  background: #746cff;
}
form:valid [type="submit"] {
  background: lime;
}
.holder {
  border-color: #746cff;
  border-radius: 5px;
  text-align: center;
  width: 450px;
}
.holder2 {
  border-color: #746cff;
  border-radius: 5px;
  text-align: center;
  width: 450px;
  height: 150px;
}
.img-container {
  display: flex;
  align-items: center;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
}
.row-modal {
  display: flex;
  margin: 20px;
  flex-direction: column;
}
.row-submit{
  margin: 20px;

}
.deal {
  margin-top: 3%;
}
/*KOnec modal*/
.navigation {
  height: 70px;
}
.navig {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: larger;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 15px;
  margin-right: 15px;
  color: black;
  text-align: center;
}
.photo-about {
  max-width: 100%;
}
.box-about {
  margin-top: 40px;
  padding-left: 70px;
}
.container-fluid {
  padding-left: 0px;
  padding-right: 0px;
}
.footer-item {
  font-family: "Open Sans", sans-serif;
}
.heading {
  margin-top: 5%;
  margin-bottom: 5%;
  margin-left: 5%;
  font-family: "Open Sans", sans-serif;
  font-size: -webkit-xxx-large;
}
.heading-below {
  margin-top: 5%;
  margin-bottom: 5%;
  margin-left: 5%;
  font-family: "Open Sans", sans-serif;
}
.link-footer {
  text-decoration: none;
  color: rgb(16, 16, 16);
  margin: top 10px;
}
.link-footer:hover {
  text-decoration: none;
  color: rgb(105, 105, 105);
}
.ourwork {
  height: 100%;
  width: 100%;
}
.ourwork-row {
  max-width: 100%;
}
.ourwork-header {
  font-size: xxx-large;
  font-family: "Open Sans", sans-serif;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 30px;
  margin-top: 60px;
}
.services-main{
  text-align: justify;
  font-size: small;
  font-family: "Open Sans", sans-serif;
  padding-left: 30px;
  padding-right: 30px;
  margin-bottom: 40px;
  font-weight: 600;
}
.ourservice {
  font-size: xx-large;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  margin-top: 5%;
  margin-bottom: 10%;
}
.ourservice-box {
  background: rgba(92, 91, 91, 0.2);
}
.ourservice-header {
  font-size: xxx-large;
  font-family: "Open Sans", sans-serif;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 40px;
  margin-top: 60px;
}
.e-value {
  text-decoration: none;
  color: rgb(16, 16, 16);
}
.e-value:hover {
  text-decoration: none;
  color: rgb(105, 105, 105);
  transform: scale(1.1);
}
@media only screen and (max-width: 950px) {
  .parent {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 80%;
    width: auto;
  }
  .image1 {
    position: absolute;
    top: -162px;
    left: -110px;
    height: auto;
    width: 200px;
    z-index: 3;
  }
  .image2 {
    position: absolute;
    top: -143px;
    left: 216px;
    height: auto;
    width: 120px;
    z-index: 2;
  }
  .image3 {
    position: absolute;
    top: -73px;
    left: -29px;
    height: auto;
    width: 280px;
    z-index: 1;
  }
} 
@media only screen and (max-width: 768px) {
  .modal-content {
    width: 100%;
  }
  .holder {
    width: 100%;
  }
  .holder2 {
    width: 100%;
  }
  .image1 {
    position: absolute;
    top: -161px;
    left: -50px;
    height: auto;
    width: 200px;
    z-index: 3;
  }
  .image2 {
    position: absolute;
    top: -120px;
    left: 205px;
    height: 120px;
    width: 120px;
    z-index: 2;
  }
  .image3 {
    position: absolute;
    top: -56px;
    left: 8px;
    height: auto;
    width: 280px;
    z-index: 1;
  }
}

@media screen and (max-width: 540px) {
  .parent {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 80%;
    width: auto;
  }
  .image1 {
    position: absolute;
    top: -130px;
    left: -212px;
    height: auto;
    width: 200px;
    z-index: 3;
  }
  .image2 {
    position: absolute;
    top: -115px;
    left: 60px;
    height: 120px;
    width: 120px;
    z-index: 2;
  }
  .image3 {
    position: absolute;
    top: -40px;
    left: -144px;
    height: auto;
    width: 280px;
    z-index: 1;
  }
  .spacing-header {
    height: 85px;
  }
  .bg-blue-top {
    background-color: #c0f1f1;
    height: 800px;
  }
  .btn {
    background-color: #d9d9d9;
    text-align: center;
    border-color: aquamarine;
    text-decoration: none;
    display: inline-block;
    padding-left: 45px;
    padding-right: 45px;
    margin-top: -75px;
    margin-bottom: 70px;
    margin-left: 7%;
    width: 289px;
    height: 49px;
  }
  .spacing-cards {
    margin-top: 40px;
  }
  .spacing-services {
    height: 0px;
  }
  .submit{
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: -70px;
  }
}
