* {box-sizing: border-box;}

body { 
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #d7fe9c;
  background-image: url("../media/background.png");;
}

.footer {
  background-color: #1b1b1b;
  position: relative;
  padding: 10px;
  color: white;
  font-size: 16px;
}

.footer div.container {
  width: 60%;
  margin: auto;
  font-weight: bold;
} 

.footer div.container a {
  color: white;
  text-decoration: none;
}

.footer div.container a:hover {
  color: #d7fe9c;
}

.footer div.container p.title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 24px;
} 

.footer div.container div.inline {
  display: inline-block; 
  padding-right: 20%;
  word-break: break-word;
  vertical-align: top;
}

.footer div.container div.inline p:first-of-type {
  margin-top: 0;
}

.footer div.container div.end {
  padding-right: 0;
}

.header {
  background-color: #1b1b1b;
  padding: 0px;
  margin-top: 0px;
  position: relative;
  padding-bottom: 12px;
}

.header p {
  font-size: 36px;
  color: white;
  font-weight: bold;
  margin: 0px;
  margin-left: 162px;
  padding-top: 30px;
  padding-bottom: 10px;
  padding-left: 0px;
}


.header a.menu-item {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px; 
}

.header a.logo {
  padding: 0px 12px;
  padding-top: 7px;
  float: left;
}

.header a:hover {
  font-weight: bold;
}

.header a.active, .dropbtn.active {
  color: rgb(200, 255, 137);
}

div.header a.elerhetoseg {
  background-color: rgb(136 71 208);
}

.background {
  overflow: hidden;
  padding: 0px;
  margin: 0px;
  width: 100%;
  position: relative;
  top: 0px;
  height: 200px;
}

img#background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 0%;
  margin: 0px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  top: 45px;
  left: 0px;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: inline-grid;}

.dropdown:hover .dropbtn {
  font-weight: bold;
}

div.main {
  background-color: white;
  width: 60%;
  padding: 20px;
  margin: auto;
  position: relative;
  min-height: 500px;
}

h1, h2 {
  text-align: center;
}

a#drop-button {
    font-size: 32px;
    text-align: center;
    color: white;
    margin: 0px 20px;
}

a#drop-button, div#drop-menu {
    display: none;
}

div#drop-menu a {
    display: block;
    padding: 12px;
    font-size: 18px;
    color: white;
    text-decoration: none;
}

div#drop-menu a.active {
  color: rgb(200, 255, 137);
}

div#drop-menu span.dropbutton {
    background-color: white;
    padding: 5px;
    border-radius: 7px;
    color: black;
    display: inline-block;
    cursor: pointer;
}

div#drop-menu a.dropbtn {
    display: inline-block;
}

.footer div.container div.inline hr.gap2 {
  display: none;
  margin-bottom: 20px;
}

div.bejelent h2 img.insta {
  height: 25px; 
  top: 5px; 
  position: relative;
}

@media screen and (max-width: 1060px) {
  div.main {
    width: 80%;
  }

  .footer div.container {
      width: 80%;
  }
}

@media screen and (max-width: 978px) {
    div#normal-menu {
        margin-top: 60px;
    }
}

@media screen and (max-width: 820px) {
  .header a.menu-item {
      padding: 12px 5px;
  }
}

@media screen and (max-width: 815px) {
    div#normal-menu {
        margin-top: 30px;
    }

    .footer div.container {
        width: 90%;
    }
    
    div.main {
        width: 100%;
    }
}

@media screen and (max-width: 727px) {
  .footer div.container {
      width: 98%;
  }
}

@media screen and (max-width: 710px) {
  .header a.menu-item {
      font-size: 16px;
  }
}

@media screen and (max-width: 667px) {
  .footer div.container div.inline {
    padding-right: 10%;
  }
  .footer div.container div.inline.end {
    padding-right: 0px;
  }
}

@media screen and (max-width: 597px) {
  .footer div.container div.inline hr.gap {
    display: none;
  }

  .footer div.container div.inline hr.gap2 {
    display: block;
  }
}

@media screen and (max-width: 545px) {
    .header a.logo {
        text-align: center;
        float: none;
        display: block;
        width: 100%;
    }
    
    .header p {
        text-align: center;
        font-size: 24px;
        margin-left: 12px;
        padding-top: 10px;
    }

    a#drop-button {
        display: block;
    }

    div#normal-menu {
        display: none;
    }

    .dropdown-content {
        position: relative;
        background-color: #f1f1f1;
        top: 0px;
        left: 0px;
        min-width: 0;
        box-shadow: none;
        z-index: 0;
    }

    div#drop-menu div.dropdown-content a {
        color: #1b1b1b;
    }
}

@media screen and (max-width: 450px) {
    .header p {
      margin-left: 0px;
      text-align: center;
    }
  
    div.background {
      height: 150px;
    }
}