* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  font-family: sans-serif;
  box-sizing: border-box;
}

header {
  width: 100%;
  height: 60px;
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 100px;
  -webkit-box-shadow: 0px 5px 13px -2px rgba(0, 0, 0, 0.74);
  box-shadow: 0px 5px 13px -2px rgba(0, 0, 0, 0.74);
}
.logo a {
  font-size: 28px;
  font-weight: bold;
  color: rgb(0, 0, 0);
}

.kontaktb {
  display: none;
}

.burger {
  display: none;
}

.kontakt a {
  color: rgb(255, 255, 255);
  font-size: 20px;
  padding: 5px 20px;
  border-radius: 50px;
  background-color: #4d648d;
}

.kontakt:hover {
  scale: 1.05;
  -webkit-box-shadow: 0px 5px 25px 2px rgba(0, 0, 0, 0.74);
  box-shadow: 0px 5px 25px 2px rgba(0, 0, 0, 0.74);
}

.kontakt:active {
  scale: 0.95;
}

.nav-bar ul {
  list-style: none;
}
.nav-bar ul li a {
  color: rgb(0, 0, 0);
  font-size: 20px;
  padding: 5px 20px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 0 5px;
}

.nav-bar ul li a:hover {
  background-color: #4d648d;
  color: rgb(255, 255, 255);
  -webkit-box-shadow: 0px 5px 25px 2px rgba(0, 0, 0, 0.74);
  box-shadow: 0px 5px 25px 2px rgba(0, 0, 0, 0.74);
}

.nav-bar ul li a.active {
  background-color: #4d648d;
  color: rgb(255, 255, 255);
  -webkit-box-shadow: 0px 5px 25px 2px rgba(0, 0, 0, 0.74);
  box-shadow: 0px 5px 25px 2px rgba(0, 0, 0, 0.74);
}

@media only screen and (max-width: 1320px) {
  header {
    padding: 0 50px;
  }
}

@media only screen and (max-width: 1100px) {
  header {
    padding: 0 30px;
  }
}

@media only screen and (max-width: 900px) {
  .burger {
    display: block;
    cursor: pointer;
  }

  .burger .line {
    width: 30px;
    height: 3px;
    background: rgb(0, 0, 0);
    margin: 6px 0;
  }

  .nav-bar {
    height: 0px;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    width: 100vw;
    background: #ffffff;
    transition: 0, 2s;
    overflow: hidden;
  }

  .nav-bar.active {
    height: auto;
  }

  .nav-bar ul li a {
    display: block;
    width: fit-content;
    margin: 20px auto 0 auto;
    margin-bottom: 20px;
    text-align: center;
    transition: 0.5s;
    opacity: 0;
  }

  .nav-bar.active ul li a {
    opacity: 1;
  }

  .kontaktb {
    display: block;
  }
  .kontakt {
    display: none;
  }
}

/*Hero*/

.hero {
  height: calc(100vh - 60px);
  background-image: url(img/hero.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  padding-left: 40px;
}

.hero h1 {
  width: 100%;
  font-size: 100px;
  font-weight: bold;
  color: white;
}

@media only screen and (max-width: 1320px) {
  .hero h1 {
    font-size: 95px;
  }
  .hero {
    padding-left: 40px;
  }
}

@media only screen and (max-width: 1100px) {
  .hero h1 {
    font-size: 90px;
  }
  .hero {
    padding-left: 40px;
  }
}

@media only screen and (max-width: 900px) {
  .hero h1 {
    font-size: 80px;
    text-align: center;
  }
  .hero {
    padding-left: 5px;
    padding-top: 50px;
    flex-direction: column;
  }
}

/*Footer*/
footer {
  margin-top: 50px;
  width: 100vw;
  padding: 15px 0;
  background-color: #4d648d;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  font-size: 20px;
}

footer a {
  color: #ffffff;
}

@media screen and (max-width: 1100px) {
  footer {
    flex-direction: column;
  }
}

.section1 {
  max-width: 1200px;
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
}

.section1 h1 {
  font-size: 40px;
}

.section1 p {
  font-size: 30px;
}

.section1-1 {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  width: 700px;
}

.section1-1f {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #4d648d;
  background-image: url(img/hero.jpg);
  background-size: cover;
}

.section1-2 {
  max-width: 1200px;
  margin: 100px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
}

.section1-2-1 {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  width: 400px;
}

.section2-1f {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #4d648d;
  background-image: url(img/hero.jpg);
  background-size: cover;
}
.section1-2-2 {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  width: 400px;
}

.section2-2f {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #4d648d;
  background-image: url(img/hero.jpg);
  background-size: cover;
}

.section1-2-3 {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  width: 400px;
}

.section2-3f {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #4d648d;
  background-image: url(img/hero.jpg);
  background-size: cover;
}

.section1-3 {
  max-width: 1200px;
  margin: 0px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
}

.section1-3-1 {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  width: 400px;
}

.section3-1f {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #4d648d;
  background-image: url(img/hero.jpg);
  background-size: cover;
}
.section1-3-2 {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  width: 400px;
}

.section3-2f {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #4d648d;
  background-image: url(img/hero.jpg);
  background-size: cover;
}

.section1-3-3 {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  width: 400px;
}

.section3-3f {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #4d648d;
  background-image: url(img/hero.jpg);
  background-size: cover;
}

@media screen and (max-width: 1100px) {
  .section1-1 {
    width: 400px;
  }

  .section1-1f {
    width: 150px;
    height: 150px;
  }

  .section1 h1 {
    font-size: 30px;
  }
  .section1 p {
    font-size: 15px;
  }

  .section1-2,
  .section1-3 {
    flex-direction: column;
    gap: 50px;
  }
}
