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;
    font-family: 'Oswald', sans-serif;
}
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;
}

a {
    color: white;
    text-decoration: none;
}


/* END OF CSS RESTE ---------------------------
-----------------------------------------------
----------------------------------------------- */

:root {
    --narancs : rgb(253, 98, 98);
    --kek: rgb(136,156,231);
    --szurke : #555;
    --vilagosszurke: #999;
    --fekete: #1b2b4b;
    --textszurke: #66717f;
    --backgroundszurke: #f7f7f7;
    --vilagosfekete:#232323;
}

.narancs {
    color: var(--narancs);
}

.circle {
    height: 24px;
    width: 24px;
    border-radius: 24px;
    background-color: black;
    position: fixed; 
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999999; /* so that it stays on top of all other elements */
  }

  .block {
    display: none;
  }

  @media (max-width:970px) {
    .circle {
        display: none;
    }
  }

  /* START OF HEADER  ---------------------------
-----------------------------------------------
----------------------------------------------- */

.toggle_btn {
    display: none;
  }

  
  .dropdown_menu {
    max-height: 0px;
    overflow: hidden;
    width: 86%;
    border-radius: 30px;
    margin: 0 auto;
    grid-template-rows: 0.6fr 1fr 1fr 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;
    z-index: 1000;
    position: absolute;
    background-color: white;
  }
  
  .grid-home::marker{
    display: none;
  }
  
.grid-home,
.grid-munka,
.grid-kapcsolat,
.grid-referencia,
.grid-blog {
  grid-column: 2;
  line-height: 40px;
  border-bottom: #EEE 1px solid;
  padding: 10px 0 0 0;
}

.grid-kapcsolat {
  grid-row: 6;
}

.grid-blog {
    grid-row: 5;
}
  
  .grid-referencia {
    grid-row: 4;
  }
  
  .grid-home {
    grid-row: 2;
  }
  .grid-munka {
    grid-row: 3;
  }
  
  .dropdown_menu a {
    color: var(--narancs);
    font-size: 27px;
    font-weight: 600;
    text-decoration: none
  }
  

header {
    background-color: var(--fekete);
    width: 100%;
}

.header-wrapper {
    height: 100px;
    font-family: "Poppins", sans-serif;
}

.header-container {
  height: inherit;
  width: 90vw;
  display: flex;
  justify-content: space-between;
  margin: 0 auto; /* módosított: eltávolítva a két oldalról */
  box-sizing: border-box;
  flex-wrap: nowrap;
}

.header-logo {
    height: 90px;
}

.header-pagesul, .header-jobb, .main-a {
    display: flex;
}

.header-pagesul,
.header-jobb,
.main-a {
  display: flex;
  white-space: nowrap;
}

.header-pagesul li {
  line-height: 100px;
  font-size: 18px; /* módosított: 20px → 18px */
  padding: 0 10px; /* módosított: 15px → 10px */
  white-space: nowrap;
}

.header-jobb-contact {
  box-sizing: border-box;
  height: 100px;
  padding: 30px 0 0 40px; /* módosított: padding-top kisebb */
}

.header-contact-container {
    height: 20px;
    width: 200px;
    margin: auto;
}

.contact-button,
.miért-button button {
  padding: 8px 12px; /* módosított: 10px 15px */
  background-color: var(--narancs);
  border-color: var(--narancs);
  font-size: 15px; /* módosított: 17px → 15px */
  color: white;
}

@media (max-width: 1290px) {
  .main-btn {
    margin-left: -16vw;
  }
}

@media (max-width: 1130px) {
    .header-container {
        width: 98vw;
    }
}
@media (max-width: 1060px) {
  .header-jobb-contact {
    display: none; /* módosított: gomb elrejtése */
  }
}


@media (max-width:970px) {
    .header-container {
        width: 100%;
    }
}

@media (max-width: 970px) {
  .tegla {
    margin-top: 60px;
  }

  .header-container {
    width: 100%;
  }

  .tegla-button {
    top: 100px !important;
  }

  .main-shadow {
    padding-top: 170px !important;
  }

  .header-container {
    width: 100%;
  }


}

@media (max-width: 825px) {
  .tegla {
    margin-top: 0;
  }
    .header-jobb {
    display: none;
  }
    .open {
    display: grid;
    overflow: auto;
    max-height: 1000px;
    transition: max-height 0.2s linear;
  }

  .fa-solid,
  .fas {
    font-weight: 900;
  }

  .fa-classic,
  .fa-regular,
  .fa-solid,
  .far,
  .fas {
    font-family: "Font Awesome 6 Free";
  }

  .toggle_btn {
    display: block; /* módosított: 768px helyett itt jelenik meg */
    position: relative;
    height: 20px;
    top: 20px;
    right: 25px;
  }

  
  .header-container {
    font-size: 40px;
    color: white;
  }

}

@media (max-width: 768px) {
  .main-btn {
    margin-left: 0;
  }

  .narancs768 {
    color: var(--narancs);
  }

  .tegla {
    display: none;
  }

  .tegla-button {
    width: 50vw !important;
    height: 500px !important;
  }

  .main-shadow {
    padding-left: 0px !important;
    width: 90vw;
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .header-logo {
    height: 80px;
    padding-top: 20px;
  }
  .toggle_btn {
    right: 5px;
  }
}

@media (max-width: 438px) {
  .header-logo {
    height: 70px;
  }
}

@media (max-width: 362px) {
  .header-logo {
    height: 50px;
  }
}
