body {
  margin: 0 0;
  padding: 0 0;
}

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

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

.edu_nav {
  overflow: hidden;
  height: 60px;
  transition: 1s;
}

.edu_nav:hover {
  overflow: visible;
  transition: 1s;
}
.edu_nav a {
  height: 100%;
}
.banner{
    position: relative;
    height: 200px;
    img{
        position: absolute;
        width: 100%;
        top: 0;
    }
}
.edu_nav_links {
  display: grid;
  grid-template-rows: repeat(3, 50px);
}

.edu_nav__element {
  text-align: left;
  background: white;
}
.eduHub_block_banner_army {
  background-image: url(../img/soldier.png);
  height: 200px;
  background-repeat: no-repeat;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 10px;
  font-size: 22px;
}
.eduHub_info_canada {
  width: 100%;
  display: grid;
  grid-gap: 8px;
  justify-content: center;
  margin: 10px auto;
}
.eduHub_info_canada p {
  color: white;
  text-align: center;
  margin: 0 0;
  font-family: "Roboto", sans-serif;
  width: 100%;
  margin: 10px auto;
}
.eduHub_info_canada a {
  display: flex;
  justify-content: center;
  width: 150px;
  text-decoration: none;
  margin: 0 auto;
}
.eduHub_info_canada a button {
  width: 100%;
  height: 50px;
  margin: 0 auto;
  border: 5px solid white;
  border-radius: 10px;
  background: #822C2B;
  color: white;
  text-decoration: none;
  transition: 0.5s;
  font-family: "Roboto", sans-serif;
}
.eduHub_info_canada a button:hover {
  background: white;
  color: #822C2B;
  transition: 0.5s;
}
.eduHub_block_banner_canada{
    background-image: url(../img/canada_banner.jpg);
    height: 200px;
    background-repeat: no-repeat;
   // background: #822C2B;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 22px;
    p{
        color: #822C2B;
        font-weight: bold;
        text-align: center;
        font-family: 'Roboto', sans-serif;
    }
}
.eduHub_block_banner_edu{
    background-image: url(../img/education.png);
    height: 200px;
    background-repeat: no-repeat;
   // background: #822C2B;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 22px;
    p{
        color: #822C2B;
        font-weight: bold;
        text-align: center;
        font-family: 'Roboto', sans-serif;
    }
}
.eduHub_block_banner_army p {
  color: black;
  display: none;
  font-weight: bold;
  text-align: center;
  font-family: "Roboto", sans-serif;
}
.nav {
  width: 100%;
  background: #822C2B;
  height: 60px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: end;
  align-items: center;
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  left: 0px;
  z-index: 40;
}
.nav a {
  color: white;
  background: #822C2B;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0 20px;
  font-size: 30px;
  font-family: "Roboto", sans-serif;
}

.nav a:nth-child(1) { 
  color: white;
  transition: 0.3s;
}
.nav a:nth-child(1):hover { 
  background: white;
  color: #822C2B;
  transition: 0.3s;
}
.nav a:nth-child(3):hover { 
  background: white;
  color: #822C2B;
  transition: 0.3s;
}
.nav a:nth-child(3) { 
  color: white;
  transition: 0.3s;
}
.nav a:nth-child(4):hover { 
  background: white;
  color: #822C2B;
  transition: 0.3s;
}
.nav a:nth-child(2):hover {
  color: lightgrey;
  background: white;
  color: #822C2B;
  transition: 0.3s;
}

.burger_menu {
  display: none;
}

.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;
}

.authors_info {
  display: grid;
}
.authors_info a {
  display: flex;
  text-decoration: none;
  color: #822C2B;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 4px solid #822C2B;
  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;
}

.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: #822C2B;
  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_army {
  background: #822C2B;
  height: 200px;
  overflow: hidden;
  transition: 0.7s;
  box-shadow: 10px 15px 20px grey;
}
.eduHub_block_army:hover {
  height: 370px;
  transition: 0.7s;
  margin: 0 0 -170px 0;
}

.eduHub_block_banner {
  background-image: url(../img/block1.jpg);
  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: #822C2B;
  font-weight: bold;
  text-align: center;
  font-family: "Roboto", sans-serif;
}

.eduHub_block_banner_krok {
  background-image: url(../img/block1.jpg);
  height: 200px;
  background-repeat: no-repeat;
  background: #411530;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 10px;
  font-size: 22px;
}
.eduHub_block_banner_krok p {
  color: white;
  font-weight: bold;
  text-align: center;
  font-family: "Roboto", sans-serif;
}

.eduHub_info {
  width: 100%;
  display: grid;
  grid-gap: 12px;
  justify-content: center;
}
.eduHub_info p {
  color: white;
  text-align: center;
  font-family: "Roboto", sans-serif;
  width: 90%;
}
.eduHub_info pre {
  color: white;
  text-align: center;
  font-family: "Roboto", sans-serif;
}
.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: #822C2B;
  color: white;
  text-decoration: none;
  transition: 0.5s;
  font-family: "Roboto", sans-serif;
}
.eduHub_info a button:hover {
  background: white;
  color: #822C2B;
  transition: 0.5s;
}

footer {
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 100px;
  height: 100%;
  margin: 40px auto;
  padding: 30px 0;
  justify-content: center;
  background: #822C2B;
}

.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;
  color: white;
}
.footer_info p {
  font-family: "Roboto", sans-serif;
  font-size: 28px;
}

@media (min-width: 721px) and (max-width: 1220px) {
  .contents {
    width: 100%;
  }
  .contents ol li {
    grid-column: 1/3;
  }
  .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) {
   .contents {
    width: 100%;
  }
  .contents ol li {
    grid-column: 1/3;
  }
  .wrapper {
    width: 400px;
  }
  
  .authors {
    grid-template-columns: 1fr;
  }
  .burger_menu {
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    background: #822C2B;
    justify-content: end;
    overflow: hidden;
    position: -webkit-sticky;
    position: sticky;
    z-index: 10;
    border-bottom: 2px solid white;
  }
  
  .burger_menu img {
    margin: 10px 10px;
  }
  .nav {
    display: none;
    width: 100%;
    background: #822C2B;
    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) {
   .contents {
    width: 100%;
  }
  .contents ol li {
    grid-column: 1/3;
  }
  .wrapper {
    width: 250px;
  }
  .authors {
    grid-template-columns: 1fr;
  }
  
  .authors img {
    height: 200px;
  }
  .burger_menu {
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    background: #822C2B;
    justify-content: end;
    overflow: hidden;
    position: -webkit-sticky;
    position: sticky;
    z-index: 10;
    border-bottom: 2px solid white;
  }
  
  .burger_menu img {
    margin: 10px 10px;
  }
  .nav {
    display: none;
    width: 100%;
    background: #822C2B;
    grid-template-columns: 1fr;
    height: 500px;
    align-items: flex-start;
    grid-template-rows: 80px 80px;
    grid-gap: 0px;
    position: fixed;
    top: 60px;
    transition: 1s;
  }
  .eduHub_block {
    height: 370px;
    margin: 0 0 0 0;
  }
  .eduHub_block_army{
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;
  }
}
.contents {
  font-family: "Roboto Mono", monospace;
  position: fixed;
  z-index: 99;
  width: 100%;
  background: #822C2B;
  border-top: 2px solid white;
  box-sizing: border-box;
  margin-left: -101%;
  top: 60px;
  left: 0px;
  height: 100vh;
  padding: 0 30px 0 0;
  transition: 0.3s;
}
.contents ol {
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  grid-column-gap: 20px;
  overflow-y: scroll;
  height: 70vh;
  padding: 20px 60px;
  margin: 0 auto;

  box-sizing: border-box;
}
.contents a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}
.contents a:hover {
  text-decoration: underline;
}
.contents h1 {
  color: white;
  text-align: center;
}
.contents img {
  width: 30px;
  position: absolute;
  top: 10px;
  right: 10px;
}/*# sourceMappingURL=edu_hub.css.map */		