html {
    scroll-behavior: smooth;
  }

body {
    overflow-x: hidden;
}

:root {
    --brick-red: #902f2f;
    --white: #ffffff;
    --dark: #1F2836;
    --light: #ced6e3;
}

@font-face {
    font-family: MontserratRegular;
    src: url(fonts/Montserrat-Regular.ttf);
}

@font-face {
    font-family: MontserratMedium;
    src: url(fonts/Montserrat-Medium.ttf);
}

@font-face {
    font-family: MontserratBold;
    src: url(fonts/Montserrat-Bold.ttf);
}

@font-face {
    font-family: MontserratBlack;
    src: url(fonts/Montserrat-Black.ttf);
}

* {
    font-family: MontserratRegular;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



.header {
    height: 40px;
}

.header-sub {
    height: 40px;
}

.header #brand, .header ul a {
    color: var(--white);
    text-decoration: none;
}

.header-sub #brand-sub, .header-sub ul a {
    color: var(--brick-red);
    text-decoration: none;
}

.header #brand {
    float: left;
    padding: 10px;
    font-family: 'MontserratMedium';
    font-size: 18px;
}

.header-sub #brand-sub {
    float: left;
    padding: 10px;
    font-family: 'MontserratMedium';
    font-size: 18px;
}

.header ul a {
    float: right;
}

.header-sub ul a {
    float: right;
}

.menu, .submenu {
    list-style-type: none;
}

.menu-sub, .submenu-sub {
    list-style-type: none;
}

.menu-item{
    padding: 10px;
    display: inline;
}

.menu-item-sub{
    padding: 10px;
    display: inline;
}

/* NAVBAR BEGIN */
    nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        min-height: 8vh;
        background-color: #fff;
    }
    .logo {
        color: var(--brick-red);
        font-size: 20px;
    }
    .nav-links {
        display: flex;
        justify-content: space-around;
        width: 70%;
        list-style-type: none;
    }
    .nav-links a {
        color: var(--brick-red);
        text-decoration: none;
        font-size: 14px;
        font-weight: bold;
    }
    .nav-links a:hover {
        color: var(--dark);
    }
    .burger div {
        width: 25px;
        height: 3px;
        background-color: var(--brick-red);
        margin: 5px;
    }
    .burger {
        display: none;
        cursor: pointer;
    }
/* NAVBAR END */

.imgcontainer {
    height: 640px;
    width: 100%;
    background-color: var(--brick-red);  
    background-image: url('../img/mailbox-1819966_1920_red.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
}

.imgcontainer-text {
    color: var(--white);
    font-size: 60px;
    text-align: center;
    vertical-align: middle;
    padding-top: 140px;
    text-shadow: 0px 0px 10px rgba(0,0,0,0.3);
    font-family: MontserratBold;
}

.nyil {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 70px;
    margin-top: 30px;
}

.nyil:hover {
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg); /* IE 9 */
    -o-transform: rotate(-90deg);
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
     transition-duration: 1s;
}

.szolgaltatasok-container{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.flexbox-szolgaltatasok {
    display: flex;
}

.flexbox-szolgaltatas {
    text-align: center;
    margin: 10px;
    color: var(--dark);
}

.flexbox-szolgaltatas h3 {
    margin-bottom: 10px;
}

.flexbox-szolgaltatas .flexbox-szolgaltatas-ikon {
    width: 70px;
    margin-bottom: 10px;
}

h2 {
    text-align: center;
    margin-top: 50px;
    font-family: 'MontserratMedium';
    font-size: 30px;
    color: var(--dark);
    margin-bottom: 30px;
}

.tovabb {
    background-color: var(--brick-red);
    border: none;
    padding: 10px;
    text-transform: uppercase;
    border-radius: 25px;
    width: 120px;
    margin-top: 20px;
}

.tovabb a {
    color: var(--white);
    text-decoration: none;
    font-family: 'MontserratMedium';
    display: block;
}

.tovabb:hover {
    background-color: var(--dark);
}

.elvalaszto{
    width:80%;
    height: 2px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--dark);
    margin-top: 55px;
}

.referenciak-container {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 30px;
}

.referenciak-elso-sor, .referenciak-masodik-sor {
    display: flex;
    justify-content: center;
}

.referencia-elso, .referencia-masodik {
    width:18%;
}

.referencia-elso {
    margin-top: 20px;  
}

.referencia-masodik {
    margin-top: 40px;  
}

.footer {
    text-align: center;
    background-color: var(--dark);
    color: var(--white);
    padding-top:15px;
    padding-bottom: 15px;
    font-size: 14px;
}

.footer a {
    text-decoration: none;
    color: var(--white);
}

.image-icon {
    font-size: 12px;
    line-height: 14px;
    padding: 0 10px;
}

.footer-elvalaszto {
    width:20%;
    height:1px;
    background-color: var(--white);
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* SZOROLAPTERJESZTES BEGIN */
.szorolapterjesztes-outer-container{
    width: 100%;
    background-color: #f9ecec;
    padding-top:60px;
    padding-bottom: 60px;
}

.szorolapterjesztes-inner-container{
    width: 80%;
    background-color: var(--white);
    margin-left:auto;
    margin-right: auto;
    padding: 5.34em 6.67em;
}

.alcimek {
    font-size: 28px;
    font-family: 'MontserratRegular';
    margin-top: 0;
    text-transform: uppercase;
    text-align: left;
}

.felsorolas {
    margin-left: 60px;
    list-style-image: url('../img/14-envelope.png');
}

.bekezdes {
    margin-top: 15px;
    margin-bottom: 15px;
}

.felkover {
    font-weight: bold;
}

/* SZOROLAPTERJESZTES END*/

/* SZOROLAPKESZITES BEGIN*/

    .row {
        display: flex;
    }

    .col {
        flex: 1 0 0%;
        margin:15px;
    }

    .card {
        text-align: center;
    }

    .card-title {
        margin-bottom: 20px;
        font-size: 15px;
    }

    .table {
        width: 100%;
        border-collapse: collapse;
    }

    .table tr th {
        color: var(--white);
        background-color: var(--dark);
        font-family: 'MontserratMedium';
    }

    .table tr th, .table tr td {
        padding: 10px;
    }

    .table tr td {
        border: 1px solid var(--light);
    }

    .bd-fh {
        border-left: 1px solid var(--white);
    }

    th {
        font-family: 'MontserratBold';
    }

    .list-group {
        list-style-type: none;
    }

/* SZOROLAPKESZITES END*/

/* ELLENORZES BEGIN */

    .nagyobb-betu {
        font-size: 20px;
        font-family: 'MontserratMedium';
    }

/* ELLENORZES END */

/* ARAK BEGIN */

    .pirossav {
        background-color: var(--brick-red);
        color: var(--white);
        text-align: center;
        padding: 15px;
        font-family: MontserratBold;
        text-transform: uppercase;
    }

    .elvalaszto2{
        width:100%;
        height: 2px;
        margin-left: auto;
        margin-right: auto;
        background-color: var(--dark);
        margin-top: 30px;
        margin-bottom: 30px;
    }

    

/* ARAK END */

/* MEDIA QUERIES BEGIN */

    @media all and (max-width:1200px){
            .szorolapterjesztes-inner-container{
                padding: 4.34em 5.67em;
        }
    }

    @media all and (max-width:1020px){
        .row {
            flex-direction: column;
        }
        .card {
            width: 70%;
            margin-left: auto;
            margin-right: auto;
        }
    }

    @media all and (max-width:1000px){
        .imgcontainer {
            height: 500px;
        }
        .imgcontainer-text {
            font-size: 50px;
            padding-top: 100px;
        }
        .nyil {
            width: 50px;
        }
        h2 {
            font-size: 25px;
        }
        .flexbox-szolgaltatas .flexbox-szolgaltatas-ikon{
            width: 60px;
        }
        .flexbox-szolgaltatas h3 {
            font-size: 18px;
        }
        .flexbox-szolgaltatas p {
            font-size: 14px;
        }
        .referenciak-container img {
            width: 120px;
        }
        .footer {
            font-size: 12px;
        }
        .image-icon {
            font-size: 10px;
        }
        .pirossav {
            padding: 10px;
        }
        .szorolapterjesztes-inner-container{
            padding: 3.34em 4.67em;
        }
    }

    @media all and (max-width:890px){
        .nav-links {
            width: 100%;
            position: absolute;
            right: 0;
            top: 8vh;
            background-color: var(--white);
            display: flex;
            flex-direction: column;
            align-items: center;
            opacity: 0;
            display: none;
        }
        .nav-links a {
            display: block;
            text-align: center;
            margin-top: 15px;
            margin-bottom: 30px;
        }
        .nav-links li {
            opacity: 0;
        }
        .burger {
            display: block;
        }
        .nav-active {
            transform: translateY(0%);
            opacity: 1;
            display: block;
        }
    }

    @keyframes navLinkFade{
        from {
            opacity: 0;
            transform: translateY(50%);
            display: none;
        }
        to {
            opacity: 1;
            display: block;
            transform: translateY(0px);
        }
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    @media all and (max-width:875px){
        .referenciak-container img {
            width: 100px;
        }
    }

    @media all and (max-width:800px) {
        .szorolapterjesztes-inner-container{
            padding: 2.34em 3.18em;
        }
    }

    @media all and (max-width:775px){
        .referenciak-container {
            width: 100%;
        }
    }

    @media all and (max-width:740px){
        .flexbox-szolgaltatas h3 {
            font-size: 14px;
        }
        .flexbox-szolgaltatas p {
            font-size: 12px;
        }
        .tovabb {
            width: 100px;
            padding: 5px;
        }
        .tovabb a {
            font-size: 11px;
        }
        .pirossav {
            font-size: 12px;
        }
        h3 {
            font-size: 0.9em;
        }
        .alcimek{
            font-size: 20px;
        }
        .felsorolas {
            margin-left: 60px;
            list-style-image: url(../img/10-envelope.png);
            font-size: 12px;
            margin-left: 40px;
        }
        .bekezdes {
            font-size: 12px;
        }
        .table tr th, .table tr td {
            font-size: 12px;
        }
    }

    @media all and (max-width:680px){
        .card {
            width: 80%;
        }
    }

    @media all and (max-width:550px){
        .header #brand {
            font-size: 14px;
        }
        .imgcontainer {
            height: 400px;
        }
        .imgcontainer-text {
            font-size: 34px;
        }
        .nyil {
            width: 34px;
            margin-top: 10px;
        }
        .flexbox-szolgaltatasok {
            flex-direction: column;
        }
        .flexbox-szolgaltatas .flexbox-szolgaltatas-ikon {
            width: 70px;
        }
        .flexbox-szolgaltatas h3 {
            font-size: 18px;
        }
        .flexbox-szolgaltatas p {
            font-size: 14px;
        }
        .tovabb {
            width: 120px;
            margin-bottom: 20px;
        }
        .tovabb a {
            font-size: 14px;
        }
        .elvalaszto {
            margin-top: 34px;
        }
        .referenciak-container img {
            width: 120px;
        }
        .referenciak-elso-sor, .referenciak-masodik-sor {
            flex-direction: column;  
        }
        .referencia-elso, .referencia-masodik {
            margin-left: auto;
            margin-right: auto;
            width: 100%;
        }
        .referencia-masodik {
            margin-top: 20px;  
        }
        .szorolapterjesztes-outer-container {
            padding-top: 30px;
            padding-bottom: 30px;
        }
        .szorolapterjesztes-inner-container {
            width: 90%;
            padding: 1.6em 2.16em;
        }
    }

    @media all and (max-width:500px){
        .imgcontainer {
            height: 360px;
        }
        .imgcontainer-text {
            font-size: 30px;
            padding-top: 80px;
        }
        .card {
            width: 100%;
        }
    }

    @media all and (max-width:430px){
        .szorolapterjesztes-outer-container{
            width: 100%;
            padding-top: 2px;
            padding-bottom: 2px;
        }
        .szorolapterjesztes-inner-container {
            width: 100%;
            padding: 1em 1.5em;
        }
    }

    @media all and (max-width:400px){
        .imgcontainer-text {
            padding-top: 90px;
        }
    }

    @media all and (max-width:380px){
        .imgcontainer {
            height: 320px;
        }
        .imgcontainer-text {
            font-size: 26px;
            padding-top: 80px;
        }
        h2 {
            font-size: 20px;
        }
        .flexbox-szolgaltatas .flexbox-szolgaltatas-ikon {
            width: 60px;
        }
        .flexbox-szolgaltatas h3 {
            font-size: 15px;
        }
        .flexbox-szolgaltatas p {
            font-size: 12px;
        }
        .tovabb a {
            font-size: 11px;
        }
    }

    @media all and (max-width:350px){
        .table tr th, .table tr td {
            font-size: 10px;
        }
    }

    @media all and (max-width:340px){
        .image-icon{
            padding-left: 10px;
            padding-right: 10px;
        }
    }

/* MEDIA QUERIES END */

