body {
  margin: 0 0;
  padding: 0 0;
  overflow-x: hidden;
  font-family: "Roboto", sans-serif;
}

.homepage {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
}

.wrapper {
  width: 1200px;
  margin: 80px auto 0 auto;
  background: #fff;
}

.edu_nav {
  overflow: hidden;
  height: 60px;
  transition: 1s;
  box-sizing: border-box;
}
.edu_nav:nth-child(1) {
  border: none;
}
.edu_nav:nth-child(2) {
  border: none;
  background: #9224d6;
  color: white;
}
.edu_nav:nth-child(3) {
  border: none;
  background: #9224d6;
}
.edu_nav:nth-child(4) {
  border: none;
  background: #9224d6;
}
.edu_nav:hover {
  height: 240px;
  overflow: visible;
  transition: 1s;
}
.edu_nav a {
  height: 60px;
  width: 100%;
  background: white;
  color: #9224d6;
  box-sizing: border-box;
  transition: 1s;
}

.authors {
  color: black;
  width: 100%;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-gap: 20px;
  font-family: "Roboto", sans-serif;
  margin: 0 0 40px 0;
}
.authors img {
  height: 400px;
}
.authors h2 {
  font-size: 30px;
  border-bottom: 3px solid #000;
  padding: 10px 0;
}
.authors p {
  text-indent: 20px;
  font-size: 18px;
}
.banner {
  position: relative;
  height: 200px;
}
.banner img {
  position: absolute;
  width: 100%;
  top: 0;
}
.authors_info {
  display: grid;
}
.authors_info a {
  display: flex;
  text-decoration: none;
  color: #9224d6;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 4px solid #9224d6;
  border-radius: 10px;
  transition: 0.5s;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
}
.authors_info a:hover {
  color: white;
  background: #822C2B;
  transition: 0.5s;
}

.edu_nav_links {
  display: grid;
  grid-template-rows: repeat(3, 50px);
}

.edu_nav__element {
  text-align: left;
  background: white;
}

.nav_links {
  display: flex;
  position: absolute;
  right: 0px;
}

.search {
  border: none;
  color: #202020;
  font-weight: bolder;
  border: 2px solid #202020;
  box-sizing: border-box;
}

.cencel {
  background: #be2626;
  color: white;
  border: 2px solid white;
  font-weight: bolder;
  box-sizing: border-box;
}

.nav {
  width: 100%;
  background: #9224d6;
  height: 60px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: flex-start;
  position: sticky;
  top: 0px;
  left: 0px;
  z-index: 40;
}
.nav form {
  position: absolute;
  left: 15px;
  top: 10px;
  display: flex;
  width: 500px;
  box-sizing: border-box;
  gap: 10px;
  align-items: center;
}
.nav form #textToSearch {
  width: 400px;
  height: 40px;
  border-radius: 20px;
  padding: 20px;
  box-sizing: border-box;
  border: none;
}
.nav form #textToSearch:focus {
  outline: 0px;
}
.nav .search_buttons {
  padding: 8px 10px;
  border-radius: 5px;
}
.nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0 20px;
  font-size: 30px;
  font-family: "Roboto", sans-serif;
  /*
  &:nth-child(3){
      &:hover{
          color: #822C2B;
          background: white;
          transition: 0.3s; 
      }
  }*/
}
.nav a:nth-child(2) {
  background: #9224d6;
  color: white;
  height: 60px;
  padding: 0 20px;
}
.nav a:nth-child(2):hover {
  color: #9224d6;
  background: white;
  transition: 0.3s;
}
.nav a:nth-child(4) {
  background: #9224d6;
  color: white;
}
.nav a:nth-child(4):hover {
  color: #9224d6;
  background: white;
  transition: 0.3s;
}
.nav a:nth-child(3) {
  background: #9224d6;
  color: white;
}
.nav a:nth-child(3):hover {
  color: #9224d6;
  background: white;
  transition: 0.3s;
}

.burger_menu {
  display: none;
}

.eduHub {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 66px;
  grid-row-gap: 200px;
  padding: 0 0 200px 0;
}

footer {
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 100px;
}

.eduHub_block {
  background: #9224d6;
  height: 200px;
  overflow: hidden;
  transition: 0.7s;
  box-shadow: 10px 15px 20px grey;
}
.eduHub_block:hover {
  height: 370px;
  transition: 0.7s;
  margin: 0 0 -170px 0;
}

.eduHub_block_banner {
  background-image: url(../img/dental_banner2.jpg);
  opacity: 0.9;
  height: 200px;
  background-repeat: no-repeat;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 10px;
  font-size: 22px;
}
.eduHub_block_banner p {
  color: black;
  font-weight: bold;
  text-align: center;
  font-family: "Jost", sans-serif;
  font-size: 20px;
  opacity: 1;
}

.eduHub_info {
  width: 100%;
  display: grid;
  grid-gap: 12px;
  justify-content: center;
}
.eduHub_info p {
  color: white;
  text-align: center;
  font-family: "Jost", sans-serif;
  width: 90%;
  margin: 0 auto;
}
.eduHub_info a {
  display: flex;
  justify-content: center;
  width: 150px;
  text-decoration: none;
  margin: 0 auto;
}
.eduHub_info a button {
  width: 100%;
  height: 50px;
  margin: 0 auto;
  border: 5px solid white;
  border-radius: 10px;
  background: #9224d6;
  color: white;
  text-decoration: none;
  transition: 0.5s;
  font-family: "Jost", sans-serif;
}
.eduHub_info a button:hover {
  background: white;
  color: #9224d6;
  transition: 0.5s;
}

footer {
  margin: 200px auto 0 auto;
  padding: 50px 0 50px 0;
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 100px;
  height: 100%;
  justify-content: center;
  background: #9224d6;
}

.footer_nav {
  display: grid;
  grid-template-columns: repeat(2, 110px);
  grid-gap: 20px;
}

.footer_info {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.footer_info p {
  font-family: "Jost", sans-serif;
  font-size: 28px;
  color: white;
  text-decoration: none;
}
.footer_info p:hover {
  text-decoration: underline;
}

@media (min-width: 721px) and (max-width: 1220px) {
  .wrapper {
    width: 700px;
  }
  .authors {
    grid-template-columns: 1fr;
  }
  .eduHub {
    width: 700px;
    margin: 0 auto;
    grid-column-gap: 10px;
    grid-template-columns: repeat(3, 1fr);
  }
  .eduHub_block_banner_krok {
    flex-direction: column;
  }
  .eduHub_block:hover {
    height: 380px;
    transition: 0.7s;
    margin: 0 0 -180px 0;
  }
  footer {
    grid-template-columns: 1fr;
  }
  .footer_info {
    text-align: center;
  }
  .footer_nav {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    padding: 0 0 20px 0;
    margin: 0 auto;
  }
}
@media (min-width: 500px) and (max-width: 720px) {
  .wrapper {
    width: 400px;
  }
  .eduHub_block_banner_army {
    display: none;
  }
  .authors {
    grid-template-columns: 1fr;
  }
  .burger_menu {
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    background: #9224d6;
    justify-content: end;
    overflow: hidden;
    position: sticky;
    z-index: 10;
    border-bottom: 2px solid white;
  }
  .burger_menu img {
    margin: 10px 10px;
  }
  .army {
    display: none;
  }
  .nav {
    display: none;
    width: 100%;
    background: #9224d6;
    grid-template-columns: 1fr;
    height: 500px;
    align-items: flex-start;
    grid-template-rows: 80px 80px;
    grid-gap: 0px;
    top: 60px;
    transition: 1s;
  }
  .eduHub {
    width: 400px;
    margin: 0 auto;
    grid-column-gap: 10px;
    grid-template-columns: repeat(2, 1fr);
  }
  .eduHub_block_banner_krok {
    flex-direction: column;
  }
  .eduHub_block:hover {
    height: 380px;
    transition: 0.7s;
    margin: 0 0 -180px 0;
  }
  footer {
    grid-template-columns: 1fr;
  }
  .footer_info {
    text-align: center;
    padding: 10px;
  }
  .footer_nav {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    padding: 0 0 20px 0;
    margin: 0 auto;
  }
}
@media (min-width: 250px) and (max-width: 499px) {
  .wrapper {
    width: 250px;
  }
  .authors {
    grid-template-columns: 1fr;
  }
  .authors img {
    height: 200px;
  }
  .burger_menu {
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    
    background: #9224d6;
    justify-content: end;
    overflow: hidden;
    position: sticky;
    z-index: 10;
    border-bottom: 2px solid white;
  }
  .burger_menu img {
    margin: 10px 10px;
  }
  .army {
    display: none;
  }
  .nav {
    display: none;
    width: 100%;
    background: #9224d6;
    grid-template-columns: 1fr;
    height: 500px;
    
    align-items: flex-start;
    grid-template-rows: 80px 80px;
    grid-gap: 0px; 
    position: fixed;
    top: 60px;
    transition: 1s;
  }
  .nav a, div{
    grid-column: 1/3;
  }
  .nav_links{
    display: flex;
    flex-direction: column-reverse;
    
    width: 100%;
  }
  .eduHub_block {
    height: 370px;
    margin: 0 0 0 0;
  }
  .eduHub {
    grid-template-columns: 1fr;
    width: 250px;
    justify-content: center;
    align-items: center;
    grid-gap: 40px;
  }
  footer {
    grid-template-columns: 1fr;
  }
  .footer_info {
    text-align: center;
    padding: 10px;
  }
  .footer_nav {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    padding: 0 0 20px 0;
    margin: 0 auto;
  }
}/*# sourceMappingURL=stomatology.css.map */