html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: white;
    display: flex;
    flex-direction: column;
}

header {
    width: 100%;
    max-height: 10%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px -3px 10px 4px rgb(107, 107, 107);
}

header h1 {
    width: 15%;
    text-align: center;
    font-family: 'Merienda', cursive;
    text-transform: uppercase;
    font-size: clamp(0.8rem, 2vw, 3rem);
    margin-left: 10%;
}

header nav {
    width: 40%;
    display: flex;
    justify-content: space-between;
    margin-right: 10%;
}

header nav a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0;
    border: none;
    background: none;
    text-decoration: none;
    color: black;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: clamp(0.5rem, 1.2vw, 4rem);
}

header nav a:hover {
    background-color: rgb(228, 228, 228);
    cursor: pointer;
}

main {
    background-image: url('../images/DSC06155_.jpg');
    background-size: 100% auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

main div {
    width: 80%;
    height: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(37, 39, 48, 0.7);
    color: white;
}

.head {
    font-size: clamp(0.8rem, 1.6vw, 20rem);
    font-family: 'Merienda', cursive;
    text-align: center;
    margin-top: 0;
    margin-bottom: 3vh;
}

.kapcsolat {
    font-size: clamp(0.8rem, 1.6vw, 20rem);
    font-family: 'Montserrat', sans-serif;
    color: white;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 1vh;
}

.mail {
    width: 35%;
    height: 15%;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: clamp(0.8rem, 1.6vw, 20rem);
    font-family: 'Montserrat', sans-serif;
    margin-top: 0;
    margin-bottom: 2vh;
}

.mail img {
    width: 11%;
    height: auto;
    margin-right: 1vw;
}

.phone {
    width: 35%;
    height: 15%;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: clamp(0.8rem, 1.6vw, 20rem);
    font-family: 'Montserrat', sans-serif;
    margin-top: 0;
    margin-bottom: 0;
}

.phone img {
    width: 9%;
    height: auto;
    margin-right: 1vw;
}

/* TABLET PORTRAIT*/

@media (hover: none) and (min-width: 599px) and (max-width: 1281px) and (orientation: portrait) {
    header {
        width: 100%;
        min-height: 10%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    header h1 {
        width: 30%;
        font-size: 2.4rem;
        margin-left: 0;
    }

    header nav {
        width: 65%;
        min-height: 100%;
        margin-right: 3%;
    }

    header nav a {
        width: 50%;
        display: flex;
        font-size: 1.4rem;
        -webkit-tap-highlight-color: transparent;
    }

    header nav a:active {
        background-color: rgb(228, 228, 228);
        cursor: none;
    }

    main {
        background-image: url('../images/IMG_20200421_162938_.jpg');
        background-size: 100% auto;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
    }

    main div {
        width: 85%;
        height: fit-content;
        padding: 0%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(37, 39, 48, 0.7);
    }

    .head {
        font-size: 1.7rem;
        font-family: 'Merienda', cursive;
        text-align: center;
        margin-bottom: 0;
    }
    
    .kapcsolat {
        font-size: 1.7rem;
        font-family: 'Montserrat', sans-serif;
        color: white;
        text-transform: uppercase;
        margin-top: 2vh;
        margin-bottom: 0;
    }
    
    .mail {
        width: 45%;
        height: 15%;
        display: flex;
        flex-direction: row;
        align-items: center;
        font-size: 1.7rem;
        font-family: 'Montserrat', sans-serif;
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .mail img {
        width: auto;
        height: 90%;
        margin-right: 1vw;
    }
    
    .phone {
        width: 45%;
        height: 15%;
        display: flex;
        flex-direction: row;
        align-items: center;
        font-size: 1.7rem;
        font-family: 'Montserrat', sans-serif;
        margin-top: 0;
    }
    
    .phone img {
        width: auto;
        height: 75%;
        margin-right: 1vw;
    }
}

/* PHONE PORTRAIT */

@media screen and (hover: none) and (max-width: 481px) and (orientation: portrait) {
    header {
        width: 100%;
        min-height: 10%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    header h1 {
        width: 30%;
        font-size: 1.2rem;
        margin-left: 0;
    }

    header nav {
        width: 65%;
        min-height: 100%;
        margin-right: 3%;
    }

    header nav a {
        width: 50%;
        display: flex;
        font-size: 0.72rem;
        -webkit-tap-highlight-color: transparent;
    }

    header nav a:active {
        background-color: rgb(228, 228, 228);
        cursor: none;
    }

    main {
        background-image: url('../images/IMG_20200421_162938_.jpg');
        background-size: 100% auto;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
    }

    main div {
        width: 85%;
        height: fit-content;
        padding: 0%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(37, 39, 48, 0.7);
    }

    .head {
        font-size: .96rem;
        font-family: 'Merienda', cursive;
        text-align: center;
        margin-bottom: 0;
    }
    
    .kapcsolat {
        font-size: .96rem;
        font-family: 'Montserrat', sans-serif;
        color: white;
        text-transform: uppercase;
        margin-top: 2vh;
        margin-bottom: 0;
    }
    
    .mail {
        width: 70%;
        height: 15%;
        display: flex;
        flex-direction: row;
        align-items: center;
        font-size: .96rem;
        font-family: 'Montserrat', sans-serif;
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .mail img {
        width: auto;
        height: 90%;
        margin-right: 1vw;
    }
    
    .phone {
        width: 70%;
        height: 15%;
        display: flex;
        flex-direction: row;
        align-items: center;
        font-size: .96rem;
        font-family: 'Montserrat', sans-serif;
        margin-top: 0;
    }
    
    .phone img {
        width: auto;
        height: 75%;
        margin-right: 1vw;
    }
}

/* PHONE LANDSCAPE */

@media screen and (hover: none) and (max-width: 900px) and (orientation: landscape) {
    header {
        width: 100%;
        min-height: 10%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    header h1 {
        width: 30%;
        font-size: 1.2rem;
        margin-left: 0;
    }

    header nav {
        width: 65%;
        min-height: 100%;
        margin-right: 3%;
    }

    header nav a {
        width: 50%;
        display: flex;
        font-size: 0.72rem;
        -webkit-tap-highlight-color: transparent;
    }

    header nav a:active {
        background-color: rgb(228, 228, 228);
        cursor: none;
    }

    main {
        background-image: url('../images/IMG_20200421_162938_.jpg');
        background-size: 100% auto;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
    }

    main div {
        width: 85%;
        height: fit-content;
        padding: 0%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(37, 39, 48, 0.7);
    }

    .head {
        font-size: .96rem;
        font-family: 'Merienda', cursive;
        text-align: center;
        margin-bottom: 0;
    }
    
    .kapcsolat {
        font-size: .96rem;
        font-family: 'Montserrat', sans-serif;
        color: white;
        text-transform: uppercase;
        margin-top: 2vh;
        margin-bottom: 0;
    }
    
    .mail {
        width: 45%;
        height: 15%;
        display: flex;
        flex-direction: row;
        align-items: center;
        font-size: .96rem;
        font-family: 'Montserrat', sans-serif;
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .mail img {
        width: auto;
        height: 90%;
        margin-right: 1vw;
    }
    
    .phone {
        width: 45%;
        height: 15%;
        display: flex;
        flex-direction: row;
        align-items: center;
        font-size: .96rem;
        font-family: 'Montserrat', sans-serif;
        margin-top: 0;
    }
    
    .phone img {
        width: auto;
        height: 75%;
        margin-right: 1vw;
    }
}