*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background-color: black;
}

.top-img{
    height: 100vh;
    width: 100vw;
    background: url(../img/kontakt.jpeg);
    min-height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.container{
    position: absolute;
    width: 80vw;
    height: 40vh;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

#left-col{
    width: 50%;
    height: 100%;
    background: white;
    border-radius: 8px;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: black;
}

#left-col p{
    line-height: 25px;
    padding: 10px;
}

#right-col{
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#top-row, #bottom-row{
    width: 100%;
    margin: 5px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#top-row{
    height: 30%;
}

#bottom-row{
    height: 70%;
    flex-direction: column;
}

#top-row img{
    height: 80%;
    width: auto;
    margin: 10px;
}

#location-icon{
    height: 200px;
    width: auto;
}

#top-row a{
    height: 100%;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#bottom-row a{
    text-decoration: none;
    color: black;
}

#mail{
    height: 18px;
    margin: 10px;
}

@media screen and (max-width:770px) and (orientation:portrait){
    .container{
        width: 95%;
    }

    #location-icon{
        display: none;
    }

    .container{
        top: 40%;
        flex-direction: column;
        justify-content: flex-start;
    }

    .container p{
        line-height: normal;
    }

    #top-row a{
        height: 100%;
        width: 30%;
    }

    #left-col, #right-col{
        width: 100%;
    }
    #bottom-row{
        margin: 0px;
        height: 40%;
    }

    #right-col{
        justify-content: flex-start;
    }

    #left-col{
        margin: 0px;
    }
    
}

@media screen and (max-height:600px){
    #left-col, #right-col{
        margin: 0px;
        font-size: 13px;
    }

    #mail{
        height: 14px;
    }

    #bottom-row{
        margin: 0px;
        height: 40%;
    }

    #right-col{
        justify-content: flex-start;
    }

    .container{
        justify-content: flex-start;
    }
}

@media screen and (max-width:850px) and (orientation:landscape){
    a,p{
        font-size: 10px;
    }

    #mail{
        height: 11px;
    }

    #left-row p{
        line-height: normal;
    }

    #location-icon{
        display: none;
    }

    .container{
        justify-content: space-between;
        width: 95%;
    }

    #left-col, #right-col{
        width: 30%;
    }

    #bottom-row{
        margin: 0px;
        height: 60%;
    }
}
