html, 
body {
  display: flex;
  color: #fff;
  background-color: #121214;
  font-family: "Gill Sans", sans-serif;
  justify-content: center;
  background: url("../img/bg1.png") fixed;
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: scroll;
}

footer {
  position: fixed;
  z-index: 10;
  left: 0;
  bottom: 0;
  width: 100%;
  font-family: "Gill Sans", sans-serif;
  text-align: center;
  padding: 5px;
  background: url("../img/bg1.png") fixed;
}

footer a {
  padding: 0;
}

a {
  color: #fff;
  text-decoration: none;
  padding: 5px 20px;
}

a:hover {
  color: #188754;
}

.tart {
  text-align: center;
  padding-top: 65px;
  padding-bottom: 80px;
  width: 100vw;
}

.akt {
  color: #188754;
}

.cim {
  font-size: 2rem;
  text-align: center;
}

.alcim {
  width: 80vw;
  display: grid;
  grid-template-columns: 20% 80%;
  margin: auto;
}

.szoveg {
  text-align: justify;
  width: 80%;
  margin: auto;
}

.flex {
  display: flex;
}

.rol {
  width: 30vw;
}

.szoveg div {
  margin-bottom: 30px;
  font-size: 1.2rem;
  text-align: justify;
  padding: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 10px 10px 50px #6b9f74;
  border: 2px solid #6b9f74;
  padding: 10px;
  margin: 10px;
  border-radius: 50px 20px;
}

.felirat {
  background-image: url("../img/felirat-bg.jpg");
}

.szinkron {
  background-image: url("../img/szinkron-bg.jpg");
}

.utom {
  background-image: url("../img/uto-bg.jpg");
}

.r1 {
  background-image: url("../img/r1-bg.jpg");
}

.r2 {
  background-image: url("../img/r3-bg.jpg");
}

.r3 {
  background-image: url("../img/r2-bg.jpg");
}

.rol2 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  width: 80%;
}

.rol h4 {
  margin-top: 0;
  text-align: center;
}

.rol img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 10px;
  width: 100px;
}

h5 {
  text-align: left;
  font-size: 1.2rem;
  margin-top: 0;
}

.ikon {
  display: block;
  width: 100px;
  padding: 5px;
  justify-self: end;
}
h4 {
  text-align: right;
  font-size: 1.2rem;
}

h3 {
  font-size: 1.6rem;
}

.nav {
  z-index: 10;
  display: flex;
  justify-content: space-around;
  border-bottom: 2px solid #909092;
  margin: 0;
  padding: 0;
  position: fixed;
  text-align: center;
  width: 100vw;
  background: url("../img/bg1.png") fixed
}

.szlogen {
  padding-top: 15px;
  text-align: center;
}

.udv {
  margin-top: 30vh;
  font-size: 4rem;
  text-align: center;
}

.flags {
  padding: 5px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lfpad10 {
  padding: 5px 40px;
  vertical-align: top;
}

.menu1 {
  padding-top: 5px;
}

.menu2 {
  display: flex;
  flex-direction: column;
  align-items: right;
  align-content: right;
}

img.icon-char {
  height: 2rem;
  padding: 5px;
}

img.logo {
  height: 55px;
  padding: 0;
  margin: 0;
}

.mail {
  text-align: center;
}

.l1 {
  align-content: right;
  text-align: right;
  background-color: #188754;
  color: #fff;
  padding: 2px;
}

.l1:hover {
  background-color: #115f3b;
  color: #fff;
}

video {
  z-index: -1;
  margin-left: 0px;
  max-width: 100%;
  height: auto;
  display: block;
}

.plogo img {
  background-color: #fff;
}

.ul1 {
  align-items: center;
}

.ul1 ul {
  text-align: center;
}

form {
  width: 40vw;
  height: 60vh;
  margin: auto;
  padding: 20px;
  text-align: left;
}

input[type="text"], textarea {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
}

textarea {
  height: 30%;
}

.alert {
  width: 100vw;
  height: 100vh;
  padding-top: 30dvh;
  position: fixed;
  top: 0dvh;
  margin: auto;
  box-sizing: border-box;
  background-color: #115f3bf0;
  color: white;
  border: none;
  align-self: center;
  text-align: center;
  z-index: -5;
}

iframe {
  border: 0;
}

.map {
  height: 60vh;
  width: 40vw;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  justify-content: center;
}

.gallery-img {
  width: 25%;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery-img:hover {
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
}

.modal-content {
  margin: auto;
  display: block;
  justify-self: center;
  max-width: 80%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #ccc;
}

@media (max-width: 1000px) {
  .ikon, .rol img {
    width: 60px;
  }
  .nav {
    display: grid;
  }
  table {
    justify-self: center;
  }
  .flex {
    flex-direction: column;
  }
  .rol {
    width: 88vw;
    font-size: 1rem;
  }
  .szoveg {
    width: 100%;
  }
  .szoveg div {
    font-size: 1rem;
  }
  .menu1 {
    display: flexbox;
    justify-content: center;
    margin: 3;
    width: 100vw;
  }
  .ml{
    width: 25%;
  }
  .tart {
    margin-top: 100px;
    margin-bottom: 80px;
  }
  .szlogen {
    display: none;
  }
  .lfpad10 {
    padding: 5px 10px;
  }
  h3 {
    font-size: 1rem;
  }
  h4 {
    font-size: 0.8rem;
  }
  .modal {
    max-width: 100%;
    max-height: 100%;
    padding-top: 180px;
  }
  .modal-content {
    max-width: 100%;
    max-height: 100%;
  }
}

