body {
  margin: 0;
  padding: 0;
  background-image: url("https://mytimefitnessveszprem.hu/media/pictures/myTime_background.jpg");
  background-repeat: repeat-y;
  background-position: center top;
  background-color: #504a3f;
}

.container {
  max-width: 1065px;
  padding: 10px;
  margin: auto;
}

.flexbox-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #849daa;
  text-shadow: 1px 1px 1px black;
}

.flexbox-item {
  width: 100%;
  align-items: center;
}

.flexbox-header {
  background-image: url("https://mytimefitnessveszprem.hu/media/pictures/myTime_logo.png");
  background-repeat: no-repeat;
  background-position: left;
  background-size: 40%;
  box-shadow: 1px solid black;
  height: 100px;
}

.leir {
  max-width: 70%;
  margin: auto;
  margin-top: 20px;
  text-align: justify;
}

.leir a {
  text-decoration: none;
  color: red;
}

.idezet {
  max-width: 70%;
  margin: auto;
  margin-top: 10%;
  text-align: justify;
  font-size: small;
}

.navbar a {
  display: block;
  color: #d2ab67;
  text-shadow: 1px 1px 1px black;
  padding: 14px 20px;
  text-decoration: none;
  text-align: center;
}

.navbar a:hover {
  color: #849daa;
  text-shadow: 1px 1px 1px black;
}

.flexbox-item-2,
.flexbox-item-2-2 {
  display: none;
}

.flexbox-item-4 {
  display: flex;
  flex-wrap: wrap;
  width: 70%;
  min-height: 300px;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}

.flexbox-item-4 img {
  max-width: 250px;
  margin: auto;
  margin-top: 20px;
  box-shadow: 1px 1px 3px black;
}

.flexbox-item .flexbox-footer {
  display: flex;
  max-width: 70%;
  align-items: center;
}


@media screen and (min-width: 768px) {
  .flexbox-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #849daa;
    text-shadow: 1px 1px 1px black;
  }

  .flexbox-item {
    width: 100%;
    align-items: center;
  }

  .leir {
    max-width: 70%;
    margin: auto;
    margin-top: 20px;
    text-align: justify;
    font-size: large;
  }

  .idezet {
    max-width: 70%;
    margin: auto;
    margin-top: 10%;
    text-align: justify;
    font-size: small;
  }

  .flexbox-header {
    background-image: url("https://mytimefitnessveszprem.hu/media/pictures/myTime_logo.png");
    background-repeat: no-repeat;
    background-position: left;
    background-size: 40%;
    box-shadow: 1px solid black;
    max-height: 110px;
  }

  .flexbox-item-1 {
    background-image: url("https://mytimefitnessveszprem.hu/media/pictures/myTime_background_1.png");
    background-repeat: no-repeat;
    background-position: center, top;
    margin-top: 20px;
    min-height: 680px;
    justify-content: center;
  }

  .flexbox-item-2 {
    display: flex;
    flex-wrap: nowrap;
    background-repeat: no-repeat;
    background-position: center, top;
    min-height: 175px;
    justify-content: space-between;
    align-items: center;
  }

  .flexbox-item-2 img {
    display: flexbox;
    margin: auto;
    border: 1px solid rgb(212, 114, 114);
    border-radius: 50%;
    box-shadow: 1px 1px 1px black;
    max-height: 150px;
  }

  .flexbox-item-2 img:hover {
    display: flex;
    margin: auto;
    max-height: 170px;
    box-shadow: 15px 10px 10px rgb(82, 71, 44);
  }

  .flexbox-item-2-2 {
    display: flex;
    flex-wrap: nowrap;
    background-repeat: no-repeat;
    background-position: center, top;
    min-height: 175px;
    max-width: 70%;
    justify-content: space-between;
    align-items: center;
  }

  .flexbox-item-2-2 img {
    display: flexbox;
    margin: auto;
    border: 1px solid rgb(212, 114, 114);
    border-radius: 50%;
    box-shadow: 1px 1px 1px black;
    max-height: 150px;
  }

  .flexbox-item-2-2 img:hover {
    display: flex;
    margin: auto;
    max-height: 170px;
    box-shadow: 15px 10px 10px rgb(82, 71, 44);
  }

  .flexbox-item-3 {
    margin-top: 20px;
    background-image: url("https://mytimefitnessveszprem.hu/media/pictures/myTime_background_3.png");
    background-repeat: no-repeat;
    background-position: center;
    min-height: 680px;
    justify-content: center;
  }

  .flexbox-item-4 {
    display: flex;
    min-height: 300px;
    justify-content: space-between;
    align-items: center;
  }

  .flexbox-item-4 img {
    max-width: 200px;
    box-shadow: 1px 1px 3px black;
  }

  .flexbox-item-4 img:hover {
    max-width: 300px;
    box-shadow: 15px 10px 10px rgb(82, 71, 44);
  }

  .flexbox-footer {
    display: flex;
    max-width: 60%;
    padding: 10px;
    align-items: center;
    justify-content: space-between;
  }

  .flexbox-footer .face {
    border-radius: 100%;

  }

  .flexbox-footer .insta {
    border-radius: 25%;
  }
}

@media screen and (max-width: 1099px) {
  .navbar a:not(:first-child) {
    display: none;
  }

  .navbar a.icon {
    float: right;
    display: flex;
    position: absolute;
    right: 0;
    top: 35px;
  }

  .navbar .spining {
    display: none;
  }

  .navbar.responsive .icon {
    float: right;
    position: fixed;
    right: 0;
    top: 35px;
  }

  .navbar.responsive {
    position: absolute;
    float: right;
    top: 120px;
    right: 30%;
    width: 40%;
    background-color: rgb(95, 88, 88);
    opacity: 1;
    box-shadow: 15px 10px 10px rgb(43, 37, 23);
  }

  .navbar.responsive a {
    float: none;
    display: flex;
    flex-wrap: wrap;
    text-align: left;
  }
}

@media screen and (min-width: 1100px) {
  .navbar {
    display: flex;
    float: right;
    margin-top: 25px;
    overflow: hidden;
  }

  .navbar a {
    color: #d2ab67;
    text-shadow: 1px 1px 1px black;
    padding: 15px 5px;
    text-decoration: none;
    text-align: center;
  }

  .navbar a:hover {
    color: #849daa;
    text-shadow: 1px 1px 1px black;
  }

  .navbar a.active {
    display: none;
  }

  .navbar .spining {
    display: block;
  }

  .navbar .icon {
    display: none;
  }

}