.ImgTextContainer{
    position:absolute;
    top:40%;
    left:33%;
    font-family: "Kanit";
    font-size: 3vw;
}

.rowkontaktboxen{
    margin-left: 300px;
    margin-right: 300px;
}

.kontaktbox{
    align-items: center;
    text-align: center;
    justify-content: center;
    border: 2px solid #005FA8;
    width: 300px;
    height: 300px;
    border-radius: 15px;
}

#icon{
    font-size: 5em;
    color: #005FA8;
    margin-top: 5%;
    margin-bottom: 10%;
}

h2{
    font-family: "Kanit";
    font-size: 2em;
    color: #005FA8;
}

.kontaktboxtext{
    font-size: 1.5em;
    font-family: "Kanit";
    color: #005FA8;
}

.kontaktbox:hover{
    background: #005FA8 ;
}

.kontaktbox:hover #icon{
    color: rgb(231, 231, 231);
}

.kontaktbox:hover h2{
    color: rgb(231, 231, 231);
    font-weight: bold;
}

.kontaktbox:hover .kontaktboxtext{
    color: rgb(231, 231, 231);
}

.kontaktcontainer{
    left: auto;
    right: auto;
    padding-bottom: 50px;
    background-color: #2D2D2D;
}

.telefon{
    width: 90%;
    height: 260px;
    background-color: rgb(210, 210, 210);
    align-items: center;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
}

.adresse{
    width: 90%;
    height:260px;
    background-color: rgb(210, 210, 210);
    text-align: center;
    border-radius: 15px;
    margin-bottom: 20px;
}

.socialmedia{
    width: 50%;
    height: 260px;
    background-color: rgb(210, 210, 210);
    text-align: center;
    border-radius: 15px;
    margin-bottom: 20px;
}

.socialmedia2{
    width: 50%;
    height: 260px;
    background-color: rgb(210, 210, 210);
    text-align: center;
    border-radius: 15px;
    margin-bottom: 20px;
}

body{
    background-color: #005FA8;
}

@media all and (min-width : 300px) and (max-width : 600px) {

    .ImgTextContainer{

        top:55%;
    }

}

@media all and (min-width : 600px) and (max-width : 900px) {

    .ImgTextContainer{

        top:50%;
    }

}

@media all and (min-width : 900px) and (max-width : 2000px) {



}

@media all and (max-width : 991px) {

    .socialmedia{
        width: 90%;
    }

}

.hoverclass:hover #icon{
    color: rgb(231, 231, 231);
}

.hoverclass:hover h2{
    color: rgb(231, 231, 231);
    font-weight: bolder;
}

.hoverclass:hover .kontaktboxtext{
    color: rgb(231, 231, 231);
}

.hoverclass:hover{
    background-color: #005FA8;
    box-shadow: 0px 1px 89px 1px rgba(255,255,255,0.38);
-webkit-box-shadow: 0px 1px 89px 1px rgba(255,255,255,0.38);
-moz-box-shadow: 0px 1px 89px 1px rgba(255,255,255,0.38);
cursor: pointer;
}
