
/* BODY */

* {
    padding: 0px;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-decoration: none;
    font-family: arial, tahoma;
    list-style: none;
}

body {
    background-color: rgb(254, 254, 254);
    position: relative;
    padding-bottom: 75px;
    min-height: 100vh;
}

/* FEJLÉC */

header {
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    background-color:rgb(56, 56, 73);
    display: flex;
    position: absolute;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

header::before {
    content: '';
    top: 0;
    left: 0;
    height: 100%;
    background-color:rgb(56, 56, 73);
    display: flex;
    position: absolute;
    width: 100%;
    z-index: -1;
}

/* NAV BAR*/

nav {
    background-color: rgb(56, 56, 73);
}

.navbar {
font-variant: small-caps;
}

.navbar a {
  padding: 13px 13px;
  border-radius: 3px;
  transition: all .3s ease-in-out;
  color: #EEE;
}

.logo p {
  color: rgb(216, 158, 58);
  font-size: 24px;
  padding-left: 30px;
  top: 0;
  font-variant: small-caps;
}

nav a:hover {
  color: rgb(255, 89, 0);
}

nav:hover a{
  filter:blur(1px);
  opacity: 0.5;
  transform: scale(1);
}

nav:hover .nav-link:hover{
  transform: scale(1);
  filter: blur(0px);
  opacity: 1;
}

.container {
    padding-top: 150px;
    margin-left: 50px;
    margin-right: 50px;
    color: #171717;
}

p {
    text-align: justify;
}

  .icon {
    display: none;
  }

  .toggle {
    float: right;
    margin: 20px;
    color: #EEE;
    font-size: 30px;
    border: 1px solid #EEE;
    padding: 0px 5px;
    border-radius: 4px;
    cursor: pointer;
  }

  #check {
    display: none;
  }

  .icons {
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color: #EEE;
    cursor: pointer;
    display: none;
  }

  /* RESPONSIVE NAVBAR */

  @media (max-width: 1050px) {
    .header {
      padding: 1.3rem 5%;
    }
    .icons {
      display: inline-flex;
    }

    #check:checked~.icons #menu-icon {
      display: none;
    }

    .icons #close-icon {
      display: none;
    }

    #check:checked~.icons #close-icon {
      display: block;
    }

    .navbar {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      height: 0;
      transition: .3s ease;
      overflow: hidden;
    }

    #check:checked~.navbar {
      height: 19rem;
    }

    .navbar a {
      display: block;
      font-size: 1.1rem;
      margin: 1.5rem 0;
      text-align: center;
      transform: translateY(-50px);
      transition: .3 ease;
    }

    #check:checked~.navbar a {
      transform: translateY(0px);
      opacity: 1;
      transition-delay: calc(.15s * var(--i));
    }
  }


/* AKTUÁLIS HÍREK*/

.news {
  padding-bottom: 10%;
}
.news p {
  display: flex;
  margin-bottom: 1.2rem;
  margin-left: 50px;
  margin-right: 50px;
  flex-wrap: wrap;
}
.news p a {
  display: flex;
}

.newslink {
  color: rgb(17, 17, 17);
}

.newslink:hover {
  color: rgb(255, 89, 0);
}

/* ELÉRHETŐSÉG */

  
  .kapcsflex {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  align-items: stretch;
  margin-bottom: 3.125rem;
  margin-left: 3.125rem;
  margin-right: 3.125rem;
  
}

.kapcsflextext {
  text-align: center;
  margin: auto;
  margin-top: 25px;
  font-variant: small-caps;
  color: #171717;
  flex-shrink: 2;
  flex-basis: 25%;
}

  .kapcsflextext a {
      text-decoration: none;
      color: #171717;
  }
  
  .kapcsflextext a:hover{
      color: rgb(255, 89, 0);
  }
  
  .imgkapcsflex {
    margin-top: 0;
  }

  @media (max-width: 550px) {
    #googlemap {
      width: 222.12px;
      height: auto;
    }
  }
  /* INTRO KÉPPEL*/

  .imgflex {
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
    flex-wrap: wrap; 
  }

  .mainimg {
    width: 100%;
    height: auto;
  }

.info {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: stretch;
  margin-bottom: 3.125rem;
  margin-left: 3.125rem;
  margin-right: 3.125rem;
  flex-wrap: wrap;
  
}

.infotext {
  text-align: center;
  margin: auto;
  margin-top: 25px;
  font-variant: small-caps;
  color: #171717;
  flex-shrink: 2;
  flex-basis: 25%;
}

.infotext:hover {
  color: #a28080;
}

/* BEMUTATKOZÁS*/

.intro {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  row-gap: 10px; 
  padding-bottom: 2%;
}

.introitem {
  flex-basis: 25%;
  justify-content: center;
  text-align: center;
  
}

.introitem p {
  font-variant: small-caps;
  font-weight: bold;
  padding-bottom: 5px;
  text-align: center;
}

.introimg {
  max-width: 150px;
  max-height: 150px;
  border-radius: 50%;
}

/* FOOTER */

  .footer {
    background-color:rgb(56, 56, 73);
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    text-align: center;
    
  }

.footer div {
    color: rgb(216, 158, 58);
    
}
.f-name {
  margin-top: 7.5px;
  font-variant: small-caps;
}

.email {
  margin-bottom: 7.5px;
  font-variant: small-caps;
  
}

.footer a {
    text-decoration: none;
    color: #EEE;
}

.footer a:hover{
    color: rgb(255, 89, 0);
}

.footer p {
  color: #EEE;
  font-size: x-small;
  padding-top: 7px;
  width: 70%;
}

.footer hr {
  color: #EEE;
  width: 70%;
  margin: auto;
}

hr {
  width: 95%;
  margin: auto;
}
