@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@500&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Ubuntu', sans-serif;
  margin: auto;
  background-color: #002349;
  color: #957C3D;
}

#main {
  width: 100%;
  display: flex;
  flex-direction: row nowrap;
  justify-content: center;
  align-items: center;
}

.mySlides {
  display: block;
  border-radius: 2%;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-direction: column wrap;
  justify-content: center;
  text-align: center;
}

#center-felso {
  margin: auto;
	width: 100%;
	text-align: center;
}

#jump {
  max-width: 1000px;
  margin: 10px auto;
  display: flex;
  flex-flow: row;
  justify-content: space-evenly;
  font-size: 22px;
}


#halan, #magy {
  display: flex;
  justify-content: center;
  width: 1000px;
  border: 2px solid purple;
}

#halan {
  max-height: 250px;
  align-items: center;
}

#magy {
  height: 320px;
  /* overflow-y: scroll; */
  font-size: 22px;
}

#adat {
  display: flex;
  flex-direction: row wrap;
  justify-content: space-evenly;
  text-align: center;
  width: 100%;
  border: 2px solid purple;
  font-size: 18px;
}

#adatsz1, #adatsz2 {
  display: flex;
  flex-direction: column;
}

#adatsz1 > div, #adatsz2 > div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 50px;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: relative;
  top: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 50px;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
  text-decoration: none;
  text-shadow: 5px 4px 5px #d2bdff; 
}

#footer {
  position: absolute;
  top: 690px;
  margin: 20px auto;
  width: 100%;
  text-align: center;
}

#lapoz {
  margin: auto;
  width: 100%;
}

#myHREF {
  position: absolute;
  top: 430px;
  left: 50%;
  transform: translate(-50%,-50%);
}

h1 {
	font-size: 42px;
	font-weight: bold;
	color: #d2bdff;
	text-shadow: 4px 4px 5px rgba(65, 1, 93, 1);
}


/*Hivatkozas vagy link szine*/
a {
	text-decoration: none;
	color: #f5f5f5; /*#0a2b00*/
	transition: text-shadow 0.3s ease;
}

a:visited {
	text-decoration: none;
	color: #f5f5f5; /*#0a2b00*/
}

a:hover {
	text-decoration: none;
  	text-shadow: 5px 4px 5px #d2bdff;
}

img {
  width: 500px;
  height: 400px;
  object-fit: contain;
}

@media all and (max-width: 1084px) {
  #halan, #magy {
    width: 800px;
  }
  #magy {
    height: 330px;
  }
}

@media all and (max-width: 984px) {
  #halan, #magy {
    width: 700px;
  }
  #magy {
    height: 330px;
  }
}

@media all and (max-width: 784px) {
  #halan, #magy {
    width: 600px;
  }
  #magy {
    height: 330px;
  }
  #adat {
    font-size: 22px;
  }
}

@media all and (max-width: 684px) {
  #halan, #magy {
    width: 500px;
  }
  #magy {
    height: 330px;
  }
  #adat {
    font-size: 22px;
  }
}

@media all and (max-width: 584px) {
  #halan, #magy {
    width: 350px;
  }
  #adat {
    font-size: 22px;
  }
  #jump {
    flex-flow: column;
    align-items: center;
  }
  #oldal {
    margin-left: 10px;
  }
}