html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
  position: relative;
}
ol, ul, li {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* END OF CSS RESTE ---------------------------
-----------------------------------------------
----------------------------------------------- */
/*color codes*/

:root {
  --color1: #BBE1FA;
  --color2: #3282B8;
  --color3: #0F4C75;
  --color4: #0F4C75;
  --color5: #1B262C;
}


.str {
  color: var(--color3);
  font-weight: 600;
}

.str2 {
  color: var(--color2);
  font-weight: 600;
}
/* CSS FOR THE HEADER DIV----------------------
-----------------------------------------------
-----------------------------------------------*/

.toggle_btn {
  display: none;
}

.dropdown_menu {
  max-height: 0px;
  overflow: hidden;
  width: 100%;
  grid-template-rows: 0.6fr 1fr 1fr 1fr 0.3fr;
  grid-template-columns: 1fr 5fr 1fr;
  align-items: center;
  font-family: 'Oswald', sans-serif;
  display: grid;
  transition: max-height 0.2s linear;
}

.grid-home::marker{
  display: none;
}

.grid-home, .grid-munka, .grid-kapcsolat {
  grid-column: 2;
  line-height: 40px;
  border-bottom: #EEE 1px solid;
  padding: 10px 0 0 0 ;

}

.grid-home {
  grid-row: 2;
}
.grid-munka {
  grid-row: 3;
}

.grid-kapcsolat {
  grid-row: 4;
}

.dropdown_menu a {
  color: #00adb5;
  font-size: 23px;
  font-weight: 600;
  text-decoration: none
}

strong {
    font-weight: 600;
}

a {
    text-decoration: none;
    color: black;
}

header {
  z-index: 100;
  height: fit-content;
  display: block;
  font-size: 25px;
}

a {
  text-decoration: none;
}

.elérhetőségek a {
  color: #fff;
}

.template a {
  color: var(--color2);
}

.container {
  margin-left: auto;
  margin-right: auto;
}

.elérhetőségek {
  background-color: #303841;
  color: #00adb5;
}

.header-fent {
  height: 40px;
  max-width: 80vw;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between; 
  text-align: center;
  vertical-align: middle;
}

.elérhetőségek-bal {
  margin-top: auto;
  margin-bottom: auto;
}

.elérhetőségek-bal__szöveg {
  height: 20px;
}

.elérhetőségek-jobb {
  margin-top: auto;
  margin-bottom: auto;
}

.elérhetőségek-jobb__szöveg {
  display: flex;
  width: 600px;
  justify-content: space-between;
}

.template {
  background-color: #fff;
  height: 80px;
}

.header-butt {
  font-size: 20px;
  border-radius: 20px;
  border-color: var(--color2);
  background-color: var(--color2);
}

.header-butt a {
  color: #fff;
  font-size: 25px;
}

.header-lent {
  height: inherit;
  display: flex;
  align-items: center;
  max-width: 80%;
  justify-content: space-between;
  margin: auto;
  
}

.template-logo img{
  height: 60px;
}

.template-sections {
  width: 500px;
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  margin-bottom: auto;   
}

.template-tel {
  margin-top: auto;
  margin-bottom: auto;
}

.template-sections a::after {
  content: "";
  width: 0%;
  height: 3px;
  background-color: #00adb5;
  display: block;
  margin: auto;
}

.template-sections a:hover::after {
  width: 100%;
  transition: 0.5s;
}

@media (max-width: 768px) {
  .header__logo {
    font-size: 40px;
  }

  header nav {
    display: none;
  }

  #hamburger-icon {
    display: block;
  }
}

/* css for the kapcsolat.html-----------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------- */

.center__box-center {
    padding-top: 4rem;
    font-family: 'Work Sans', sans-serif;
    background-color: #f7f9f8;
    line-height: 1.4rem;
    font-size: 1.1rem;
    font-weight: 300;
}

.center__box {
    text-align: center;
    margin: auto;
    max-width: 1000px;
    padding: 30px;
}

.Impresszum__h2 {
    color: #14AAA5;
    font-size: 1.4rem;
    font-weight: 600;
}

.Elérhetőségek__felsorolás, .Demeter__home-kft {
    color: #0a7d83;
    font-weight: 600;
    font-size: 20px;
}

.Demeter__home-kft {
    margin-bottom: 0.3rem;
}

strong {
    font-weight: 600;
}

button {
    background-color: #87AA14;
    border: solid 1px #647d10;
    padding: 9px 7px;
    border-radius: 7px;
}
.contact-card {
  background: #ffffff;
  border: 1px solid #e8eded;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.contact-card__title {
  font-size: 26px;
  color: #0f4c75;
  margin-bottom: 8px;
}

.contact-card__lead {
  color: #4b5965;
  line-height: 1.6rem;
  margin-bottom: 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-weight: 600;
  color: #0a7d83;
  font-size: 15px;
}

.input-group input,
.input-group textarea {
  border: 1px solid #d5e2e8;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: 'Work Sans', sans-serif;
  background: #f9fbfc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input-group textarea {
  resize: vertical;
  min-height: 140px;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: #0f4c75;
  box-shadow: 0 0 0 3px rgba(15, 76, 117, 0.12);
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.submit-btn {
  background: linear-gradient(120deg, #0f4c75 0%, #00adb5 100%);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 173, 181, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 173, 181, 0.42);
  opacity: 0.95;
}

.form-hint {
  font-size: 14px;
  color: #5d6d77;
}

@media (max-width: 820px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 24px;
  }
}

/* css for the footer-----------------------------------------
--------------------------------------------------------------
--------------------------------------------------------------*/

footer {
    height: fit-content;
    background-color: #303841;
    color: #fff;
    align-items: center;
    font-family:'Open Sans', sans-ser;

  }

  .footer__wrapper {
    width: 80vw;
    margin: 0 auto;
    padding: 30px 0 17px;
    display: flex;
    justify-content: space-between;
  }

  footer a {
    color: #fff;
  }

  footer a:hover {
    color: #00adb5;
  }

  .footer__left {
    font-size: 20px;
  }

  .footer__left h4 {
    font-weight: 600;
    font-size: 25px;
    padding: 3px;
  }

  .footer__right li{
    display: inline-block;
    padding: 15px 30px 0;
    font-size: 20px;
  }

  @media (max-width: 1250px){
    .elérhetőségek {
        display: none;
    }
    header {
        height: 70px;
    }

    .template a {
        font-size: 19px;
    }

    .template-sections {
        width: 300px;
    }
  }


  @media (max-width: 768px) {

    .template-sections {
      display: none;
    }


    .footer__left {
      font-size: 15px;
    }

    .footer__right {
      text-align: center;
    }

    .footer__right li {
      padding: 11px 20px;
      font: 15px  ;
    }

    .footer__wrapper {
      padding: 10px 0 0;
    }

    .open {
      display: grid;
      overflow: auto;
      max-height: 1000px;
      transition: max-height 0.2s linear;
    }

    .toggle_btn {
      display: block;
      position: relative;
      height: 20px;
      top: 5px;
    }

    .template-tel {
      display: none;
  }
  }

  @media (max-width: 430px) {
    footer {
      height: 305px;

    }
    
    .footer__wrapper {
      display: block;
      text-align: center;
    }

    .footer__right {
      margin-top: 30px;
    }

    .footer__right ul li{
      display: block;
      margin: 15px 0;
      font-size: 20px;
      border-top: 1px solid #666;
    }
  }

