/*general settings*/
@font-face {
  src: url("../fonts/lato/Lato-Thin.ttf") format("ttf");
  font-family: "Lato";
  font-weight: 100;
}
@font-face {
  src: url("../fonts/lato/Lato-Light.ttf") format("ttf");
  font-family: "Lato";
  font-weight: 300;
}
@font-face {
  src: url("../fonts/lato/Lato-Regular.ttf") format("ttf");
  font-family: "Lato";
  font-weight: 400;
}
@font-face {
  src: url("../fonts/lato/Lato-SemiBold.ttf") format("ttf");
  font-family: "Lato";
  font-weight: 600;
}
@font-face {
  src: url("../fonts/lato/Lato-Bold.ttf") format("ttf");
  font-family: "Lato";
  font-weight: 700;
}
@font-face {
  src: url("../fonts/lato/Lato-ExtraBold.ttf") format("ttf");
  font-family: "Lato";
  font-weight: 800;
}
p, h1, h2, h3, h4, h5, h6, span, label, em {
  font-family: "Lato", sans-serif;
}

h1 {
  font-size: 21px;
  line-height: 24px;
  text-align: center;
  margin-bottom: 25px;
  color: black;
}
h1 span {
  color: #296099;
}

h2,
h3,
h4,
h5,
h6 {
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  margin-bottom: 15px;
  color: #296099;
}

.text {
  margin: 0;
}

.text-center {
  text-align: center;
}

body {
  box-sizing: border-box;
  font-size: 100%;
}

.logo img {
  width: 222px;
}

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

.form {
  grid-area: form;
  padding: 20px;
  width: 100%;
  max-width: 400px;
  margin: auto;
  margin-top: 40px;
  border: 1px solid #f7f7f7;
  border-radius: 24px;
}
.form:hover {
  box-shadow: 12px 12px 2px 1px rgba(0, 0, 255, 0.2);
}
.form legend {
  text-align: center;
}
.form label {
  font-size: 15px;
  line-height: 19px;
  color: black;
  font-style: italic;
}
.form select,
.form input {
  box-sizing: border-box;
  height: 40px;
  width: 100%;
  max-width: 379px;
  padding-left: 15px;
  color: #296099;
  font-size: 16px;
  line-height: 35px;
}
.form select::placeholder,
.form input::placeholder {
  color: black;
  font-size: 10px;
}
.form select:hover,
.form input:hover {
  box-shadow: 5px 5px 15px 5px #E6E905;
}
.form select {
  width: 100%;
  padding: 0;
  margin: 0;
  display: block;
}
.form button {
  width: 100%;
  max-width: 379px;
  line-height: 40px;
  font-style: normal;
  font-weight: bold;
  margin: auto;
  display: block;
  background: none;
  border: none;
  margin-top: 20px;
}
.form button:hover {
  background: #f7f7f7;
  cursor: pointer;
  border-radius: 24px;
}
.form .alert {
  text-align: center;
}
.form .alert-success {
  color: green;
}
.form .alert-danger {
  color: red;
}

/*style for components*/
.header {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 100px;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 1440px) {
  .header {
    flex-direction: row;
    justify-content: space-around;
    gap: 5rem;
    align-items: flex-start;
  }
}
.header .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: baseline;
  margin: auto;
  text-decoration: none;
}
@media (min-width: 1440px) {
  .header .logo {
    margin: 0;
  }
}
.header .logo span {
  font-size: 11.3px;
  text-decoration: none !important;
  text-align: center;
  color: #E5E908;
}
.header .logo:hover {
  text-decoration: underline;
  color: #29609A;
}
.header .logo:hover span {
  color: #29609A;
}
.header .title {
  font-size: 16px;
  line-height: 22px;
  margin-top: 0;
  margin-bottom: 0;
}
@media (min-width: 1440px) {
  .header .title {
    flex-direction: column;
    font-size: 21px;
    line-height: 26px;
  }
}
.header .title span {
  display: block;
  font-size: 16px;
}
.header .info {
  padding: 5px;
}
.header .info a {
  text-decoration: none;
  font-size: 22px;
}

.main-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
}
.main-menu ul {
  padding: 0;
  margin: 0;
}
.main-menu ul li {
  list-style-type: none;
}
.main-menu ul li a {
  font-size: 18px;
  line-height: 22px;
  text-decoration: none;
}
.main-menu ul li a:active {
  color: red;
}
.main-menu ul li a:visited {
  color: black;
}
.main-menu ul li a:hover {
  cursor: pointer;
  text-decoration: underline;
}

.sidebar {
  grid-area: sidebar;
  width: 300px;
  background: white;
}
.sidebar .container {
  position: fixed;
}
.sidebar .container ul {
  padding: 0;
  margin: 0;
}
.sidebar .container ul li {
  list-style-type: none;
}
.sidebar .container ul li .link {
  font-size: 16px;
  text-decoration: none;
}
.sidebar .container ul li .link:hover {
  text-decoration: underline;
}

.article {
  grid-area: article;
}
.article section {
  max-width: 1440px;
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 30px;
}
.article section .content,
.article section .seo-text {
  padding: 10px;
  margin: auto;
  max-width: 540px;
  background: white;
  margin-bottom: 20px;
  border-radius: 24px;
  padding: 22px;
  text-align: justify;
}
.article .dgu {
  position: relative;
  z-index: 1;
  padding: 2em;
}
.article .dgu:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/how-we-work.webp") no-repeat center center;
  background-size: cover;
  opacity: 0.3;
  z-index: -1;
}
.article .gaurantee ul li {
  list-style-type: none;
}
.article .mainService {
  position: relative;
  z-index: 1;
  padding: 2em;
}
.article .mainService:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/generator.webp") no-repeat center center;
  background-size: cover;
  opacity: 0.3;
  z-index: -1;
}
.article .mainService ul {
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-areas: "one" "two" "three" "four";
}
.article .mainService ul {
  gap: 20px;
}
.article .mainService ul li {
  list-style-type: none;
}
@media (min-width: 768px) {
  .article .mainService ul li {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    justify-content: center;
  }
}
.article .mainService ul li img {
  width: 100%;
  max-width: 300px;
  height: 300px;
}
.article .mainService ul li.one {
  grid-area: one;
  flex-direction: row-reverse;
}
.article .mainService ul li.two {
  grid-area: two;
}
.article .mainService ul li.three {
  grid-area: three;
}
.article .mainService ul li.four {
  grid-area: four;
  flex-direction: row-reverse;
}
.article .mainService ul li .content-small {
  background: white;
  width: 100%;
  max-width: 290px;
  height: 290px;
  display: flex;
  padding: 10px;
  border-radius: 24px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.article .clients h6 {
  font-size: 20px;
  text-align: center;
}
.article .clients ul {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}
@media (min-width: 768px) {
  .article .clients ul {
    flex-direction: row;
  }
}
.article .clients ul li {
  list-style-type: none;
}

.footer {
  grid-area: footer;
  position: relative;
}
.footer .copyright {
  text-align: center;
}

#page {
  display: grid;
  width: 100%;
  height: 250px;
  grid-template-areas: "head head" "nav  main" ".  foot";
  grid-template-rows: 50px 1fr 30px;
  grid-template-columns: 150px 1fr;
}

#page > header {
  grid-area: head;
  background-color: #8ca0ff;
}

#page > nav {
  grid-area: nav;
  background-color: #ffa08c;
}

#page > main {
  grid-area: main;
  background-color: #ffff64;
}

#page > footer {
  grid-area: foot;
  background-color: #8cffa0;
}

/*style for pages*/
