* {
  box-sizing: border-box;
  /*border: solid thin red;*/
  margin: 0;
  padding: 0;
}

body {
  background-color: #f2f2f2;
  margin: auto;
  width: 100%;
}

body,
header,
main {
  position: relative;
}

#beginner {
  padding: 0;
  margin: 0;
  width: 100%;
  height: auto;
}

header {
  display: flex;
  flex-direction: column;
  margin: 0;
  background-color: lightgray;
  padding-bottom: 10px;
}

main {
  width: 100%;
  align-items: center;
  margin: auto;
  padding-left: 7%;
  padding-right: 7%;
}

#maps {
  width: 100%;
}

.text {
  margin-bottom: 30px;
}

.logo {
  height: 150px;
  width: auto;
  margin: 5px;
}

#logo-content,
#logo-content2,
#ajanlat-link {
  display: flex;
  justify-content: center;
}

#aid-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#aid-logo a {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#aid-logo a img {
  height: auto;
  width: auto;
}

ul li {
  list-style-type: none;
  display: flex;
  justify-content: center;
}


.bold {
  font-weight: bold;
}

table tr td {
  padding: 15px 15px 15px 15px;
}

table {
  display: flex;
  justify-content: center;
  margin: 30px 0px 30px 0px;
}

td {
  border: solid thin lightgrey;
}

tr:nth-child(odd) {
  background-color: #D9D8D7;
}

@media screen and (min-width: 1024px) {

  #nav {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }

  ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 60vw;
  }

  h2 {
    text-align: center;
  }

  #aid {
    display: flex;
    justify-content: center;
    margin: 0;
    background-color: lightgray;
  }

  #aid-logo {
    width: 60vw;
  }

}

#hasznos,
#form {
  background-color: #D9D8D7;
  padding: 10px;
}

fieldset {
  border: none;
}

input,
textarea {
  border: none;
}

input,
textarea {
  width: 300px;
}

#nev,
#phone,
#email,
#fo,
#arrival,
#getaway,
#info {
  background-color: #f2f2f2;
}

nav li {
  margin: 20px;
}

.link {
  text-decoration: none;
  color: #0D0D0D;
}

#adat {
  color: #D9D8D7;
}

.link:hover {
  transform: scale(1.5);
  color: green;
  transition: 0.3s ease;
}

footer {
  background-color: #0D0D0D;
  color: #D9D8D7;
  margin-top: 150px;
}


h1 {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 2rem;
}

h2 {
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 1.75rem;
}

p,
tr,
a,
label,
input,
textarea {
  font-size: 1.3rem;
}

h1,
h2,
h3 {
  font-family: "Lemonada";
}

p,
a,
td,
label,
input,
textarea {
  font-family: "Truculenta";
}

#form-link {
  font-style: italic;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 30px;
}

.btn {
  border: 2px solid #04AA6D;
  background-color: #D9D8D7;
  color: green;
  padding: 4px 8px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 50px;
}

.success:hover {
  background-color: #04AA6D;
  color: white;
}

#contact {
  display: block;
  justify-content: center;
}

.center {
  display: flex;
  justify-content: center;
  text-align: center;
}

#title,
#form {
  text-align: center;
}

/* Scroll button */
#myBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Fixed/sticky position */
  bottom: 20px;
  /* Place the button at the bottom of the page */
  right: 30px;
  /* Place the button 30px from the right */
  z-index: 99;
  /* Make sure it does not overlap */
  border: none;
  /* Remove borders */
  outline: none;
  /* Remove outline */
  background-color: green;
  /* Set a background color */
  color: white;
  /* Text color */
  cursor: pointer;
  /* Add a mouse pointer on hover */
  padding: 15px;
  /*Some padding */
  border-radius: 50%;
  /* Rounded corners */
  font-size: 18px;
  /* Increase font size */
  width: 60px;
  height: 60px;
  transition: 0.3s ease;
}

#myBtn:hover {
  background-color: #555;
  /* Add a dark-grey background on hover */
}

.arrow {
  border: solid white;
  border-width: 0 7px 7px 0;
  display: inline-block;
  padding: 10px;
  margin-top: 7px;

}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}


.row>.column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.row {
  display: grid;
  grid-template-columns: auto auto auto auto;
  grid-template-rows: auto auto;
  text-align: center;
  justify-content: space-evenly;
  row-gap: 20px;
}

.column {
  float: left;
  width: 20vw;
  height: auto;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

.modal-content .column {
  float: center;
  width: 10vw;
  height: auto;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* 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);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.mySlides img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/*                    tamogatas page             */

#aid-logo2 img {
  width: 60vw;
}
#aid-logo2 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 50px;
}

#text p {
  margin: 15px;
  font-size: 1.2rem;
  font-style: italic;
}


@media screen and (min-width: 1024px) {
  #text {
    display: flex;
    flex-direction: column;
    width: 50%;
  }

  #torzs {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }

  #aid-logo2 img {
    width: 25vw;
  }
  #aid-logo2 {
    margin-top: 0px;
  }

  #text p {
    margin: 15px;
    font-size: 1.4rem;
    font-style: italic;
  }
}