@font-face {
    font-weight: 100;
    font-family: 'Roboto';
    src:url('/fonts/Roboto-Thin.ttf')  format('truetype');
  }

  @font-face {
    font-weight: 300;
    font-family: 'Roboto';
    src:url('/fonts/Roboto-Light.ttf')  format('truetype');
  }

  @font-face {
    font-weight: 400;
    font-family: 'Roboto';
    src:url('/fonts/Roboto-Regular.ttf')  format('truetype');
  }

  @font-face {
    font-weight: 500;
    font-family: 'Roboto';
    src:url('/fonts/Roboto-Medium.ttf')  format('truetype');
  }


:root {
    --bg-primary:#457b9d;
    --bg-secondary: #7e7e7e;
    --text-primary: #f4f4f4;
    --text-secondary: #333;
    --dark-color: #375BA9;
    --light-color: #FED086;

}

html {
    scroll-behavior: smooth;
  }

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Roboto', cursive;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f4f4f4;

}

body::-webkit-scrollbar {
    width: 0.5em;
}
 
body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
 
body::-webkit-scrollbar-thumb {
  background-color: var(--dark-color);
  outline: 1px solid slategrey;
}

h1, h2 {
    font-weight: 300;
    line-height: 1.2;
    margin: 10px 0;
}

p {
    margin: 10px 0;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--text-secondary);
}

img {
    width: 100%;
}

/*UTILITIES*/

.btn {
    display: inline-block;
    border-radius: 5px;
    padding: 10px 30px ;
    cursor: pointer; /* ez csinál kis kezet a kurzorból*/
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 0 ;
    transition: transform 0.2s ease-in
}

.btn-outline {
    background-color: transparent;
    border: 1px white solid;
}

.btn:hover {
    transform: scale(0.95);
}

/* backgrounds & colored buttons*/
.bg-primary, .btn-primary {
    background-color: var(--dark-color);
    color: #f4f4f4;    
}

.bg-secondary, .btn-secondary {
    color: var(--dark-color);
    background-color: transparent;
    border: 1px var(--dark-color) solid;
}

.container {
    max-width: 1200px;
    margin: 0 auto;  
}

.checkmark {
    height: 30px !important;
    width: auto !important;
    justify-self: end !important;
    order: 0 !important;
}

.flex {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.grid-2 {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.my-2 {
    margin-bottom: 2rem;
}

.my-3 {
    margin-top: 1rem;
    margin-bottom: 5rem;
}

.grid-baseline {
    align-items: baseline;
}

.my-5 {
    margin-top: 3rem;
    margin-bottom: 5rem;
}

.py-3 {
    padding: 3rem 0;
}

.py-5 {
    padding: 5rem 0;
}
.py-10 {
    padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.bg-dark, .btn-dark {
    background-color: var(--dark-color);
    color: #f4f4f4;  
}

.border {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    padding: 2rem 5rem;
    margin-top: 5rem;
}

.offset {
    position: absolute;
    top: -100px;
    height: 100px;
    width: 20px;
}
/*----------------------------*/

/*LANGUAGE*/
.language {
    position: absolute;
    right: 5%;
    top: 35%;
    z-index: 200;
}
.language img {
    height: 30px;
    border-radius: 10px;
    transform: scale(0.5);
    filter: grayscale(100%);
    transition: transform 0.2s ease-in
}

.language img:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.selected {
    filter: grayscale(0%) !important;
    transform: scale(1.1) !important;
}

/*NAVBAR*/
.navbar {
    width: 100vw;
    top: 0;
    position: fixed;
    overflow: visible;
    z-index: 103;
    border-bottom: 1px solid rgba(244,244,244,0.9);
    transition: all 1s;
    padding: 1rem;
    text-transform: uppercase;
}

#nav-title {
    transition: visibility 0s, opacity 0.5s linear;
    position: absolute;
    left: 15%;
    top: 20px;
    padding-left: 0.8rem;
}

.navbar .flex{
    justify-content: space-between;
}
.navbar a {
    color: #333;
    font-size: 1rem;
}
.navbar i {
    position: absolute;
    right: 20px;
    top: 30px
}
.navbar li {
    margin: 0 2rem;
    padding: 5px;
    transition: all 500ms ;
}
.navbar li:hover {
    transform: scale(1.1);
}
.navbar img {
    max-height: 3rem;
    width: auto;
}
.nav-colored { background-color:#f4f4f4; }
.nav-transparent { background-color:transparent;}

.nav-menu {
    display: none;
}

.visible {
    display: flex;
}

.nav-menu {
    position: fixed;
    top: 0;
    height: 100vh;
    z-index: 102;
    background: #d6d6d6;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #f4f4f4, #d6d6d6);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #f4f4f4, #d6d6d6); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #FED086;
    width: 100vw;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.nav-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-menu li {
    padding: 2rem 0;
    font-size: 2rem;
    justify-content: center;
}

.dropdown {
    float: left;
    overflow: visible;
  }
  
  .dropdown .dropbtn {
    cursor: pointer;
    font-size: 1rem;  
    border: none;
    outline: none;
    color: #333;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    
  }

  .nav-menu .dropdown .dropbtn {
    font-size: 2rem; 
  }

  .dropbtn img {
    width: auto;
    height: 15px;
    margin-left: 2px;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }

  .dropdown-content a {
    float: none;
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover {
    background-color: #ddd;
  }

  .dropdown-content-mobile {
    display: none;
    align-items: center;
    flex-direction: column;
    background-color: #f9f9f9;
    min-width: 160px;
    width: 100vw;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }

  .dropdown-content-mobile a {
    float: none;
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content-mobile a:hover {
    background-color: #ddd;
  }
  
  .show {
    display: block;
  }

/*FOOTER*/

.footer {
    position: relative;
    z-index: 99;
    height: auto;
    width: 100%;
    padding: 1rem 2rem;
    background: #375ba9;

}

.footer a {
    color: var(--text-primary);
    padding: 1rem 2rem;
}

.footer li {
    display: block;
    margin-left: -30px;
}

.footer .social a {
    margin: 0 5px;
    padding: 10px;
    color: #f4f4f4;
}

.footer p {
    color: #f4f4f4;
}

.footer .social img{
    transition: all 0.2s ease-in;
    height: 40px;
    filter: grayscale(100%);
}

.footer .social img:hover {
    color:var(--light-color);
    transform: scale(1.1);
    filter: grayscale(0%);
}

.pages {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-around;
    flex-direction: row;
    padding-bottom: 1rem;
    margin-bottom: 0;
    border-bottom: 1px solid #f4f4f4;
}

.pages .footer-text {
    padding-right: 60px;
    max-width: 40vw;
}

.pages h6 {
    font-size: 1.4rem;
    font-weight: 500;
    color:var(--light-color);
}

.pages .text-justify {
    text-align: justify;
}

.pages a:hover {
    color:var(--light-color);
}

.bottom {
    justify-content: space-between;
}

/* MEDIA QUERIES */
/*Desktop*/
@media(min-width:916px) {
    .mobile {
        display: none;
    }
}

@media(max-width:1500px){
    .navbar .flex {
        justify-content: center;
    }

    .language {
        right: 3%;
    }

}
/* Tablets and under*/
@media(max-width:915px){
    .grid,
    .header .grid,
    .about-us .grid,
    .products .grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .desktop {
        display: none;
    }

    .navbar .flex {
        justify-content: space-between;
    }

    .language {
        position: static;
        top: 0;
    }

    .language img {
        width: auto;
    }

    .pages .footer-text {
        max-width: 100%;
    }

    .pages {
        gap: 2rem;
        justify-content: start;
    }
}

@media(max-width:395px){
    
}