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: 70px;
}

.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 backround with image section -----------
-------------------------------------------------------
_------------------------------------------------------ */
.top__background {
  width: 40vw;
  height: 100%;
  font-family: 'Oswald', sans-serif;
  padding-top: 200px;
  box-sizing: border-box;
}

.top__wrapper {
  border-radius: 10px;
  padding: 30px;
}

.top__background p {
  text-align: left;
  padding: 20px 40px;
}

.top__background-bot {
  display: flex;
  justify-content: space-around;
}

.top__background-bot button {
  padding: 5px 40px;
  font-size: 18px;
  border-radius: 20px;
}

.top__background-bot a {
  color: #fff;
}


.top__kapcsolat {
  background-color: var(--color3);
  border: var(--color3);
}

.hívjon-b {
  background-color: transparent;
  border: var(--color3) solid;

}

.cover {
	background: url(Assets/konrad-koller-HDfQ1uXmFh0-unsplash.jpg) no-repeat center;
	background-size: cover;
	height: 70vh;
	color: #fff;
	font-family: 'Bevan', serif;
	text-align: center;
	display: table;

  }

  .cover h1 {
    font-size: 40px;
    text-shadow: 2px 2px 5px #000;
    font-weight: 600;
  }

  .cover p {
    font-size: 25px;
    text-shadow: 2px 2px 5px #000;
  }

  .wrapper {
  width: 100vw;
	display: table-cell;
	vertical-align: middle;
  }

  .byline h2 {
	font-size: 1.125rem;
	line-height: 1.5rem;
	letter-spacing: .1rem;
	margin-bottom: .5rem;
	text-transform: uppercase;
  }
  
  .byline h3 {
	font-size: 1.125rem;
	line-height: 1.5rem;
  }


/* css for the contect with image section -----------
-------------------------------------------------------
_------------------------------------------------------ */

.top-section {
    background-color: var(--color3);
    color: #fff;
}

.top-wrapper {
    max-width: 1100px;
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
    height: fit-content;
}

.top-container h2 {
    padding-top: 30px;
    padding-bottom: 20px;
    font-size: 25px;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
}

.drbubo {
    color: var(--color5);
}

.top-container p {
    padding-bottom: 30px;
    
}



.referenciak {
  padding: 40px 20px;
  text-align: center;
  background-color: #f8f9fa;
}

.referenciak h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #222;
}

.referencia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  justify-items: center;
}

.referencia-grid img {
  width: 100%;
  height: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.referencia-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Mobilbarát elrendezés */
@media (max-width: 768px) {
  .referencia-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

/*footer sectuon css on -------------------------
  -------------------------------------------------------
  -------------------------------------------------------*/

  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-logo img {
      height: 60px;
    }

    .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: 414px) {
    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;
    }
    header {
      height: 60px;
  }

  .elérhetőségek {
      display: none;
  }

  .template {
      height: 60px;
  }

  .template-sections{
      display: none;
  }

  .template-tel {
      display: none;
  }

  .template img, .template-logo {
    height: 60px;
  }
  }



  .referencia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
