* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background-image: url(images/edis_dacha.jpg);
  background-size: cover;
  background-position: center center;
}

header {
  width: 100%;
  text-align: center;
  padding-top: 200px;
  padding-bottom: 150px;
}

header h1 {
  color: white;
  font-size: 4em;
  font-style: italic;
}

.main-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.cont {
  width: 50%;
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  transition: box-shadow 0.5s;
}

.cont a {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.cont a img {
  width: 50px;
  border-radius: 50%;
}

.cont a h2 {
  color: black;
  font-size: 30px;
}

.cont:hover {
  box-shadow: 0px 0px 10px 5px #3f3e3e;
}

@media screen and (max-height: 840px) {
  header {
    padding-top: 150px;
    padding-bottom: 100px;
  }
}

@media screen and (max-height: 740px) {
  header {
    padding-top: 100px;
    padding-bottom: 50px;
  }
}

@media screen and (max-width: 834px) {
  .cont {
    width: 380px;
  }
  .cont a h2 {
    font-size: 25px;
  }
}
