html {
    margin: 0;
    padding: 0;
    font-family: 'lato', sans-serif;
}
body {

    margin: 0;
    padding: 0;
    background-image: url('../img/kontti.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

#main-container {
    width: 75%;
    height: 75%;
    margin: auto;
    margin-top: 6.25%;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    min-width: 950px;
    min-height: 550px;
}
h1 {
    text-align: center;
    text-decoration: underline;
    padding: 2rem;
    color: white;
}
h2 {
    text-align: center;
    padding: 2rem;
    color: white;
    font-size: xx-large;
    letter-spacing: 1px;
}
h3 {    text-align: center;
    text-decoration: underline;
    padding: 2rem;
    color: white;
    letter-spacing: 1px;
}
h4 {
    text-decoration: underline;
    letter-spacing: 2px;
}
#contacts {
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    color: white;
    width: 70%;
    height: 30%;
}
ul {
margin: 0;
padding: 0;

}
li {
    list-style-type: none;
    font-size: large;
}
#left {
    margin: auto;
    padding: 1rem;
    width: 45%;
    text-align: center;
}
#line {
    border-right: white solid 2px;
    margin: 0 auto 0 auto;
    }
#right {
    margin: auto;
    padding: 1rem;
    width: 45%;
    text-align: center;
}

a {
    background-color: rgba(222, 130, 9, 0.7);
    padding: 1rem;
    border-radius: 2px;
    color: white;


}
/* MEDIA QUERY */
@media only screen and (max-width: 950px) {
    #main-container{
height: fit-content;
        min-width: 450px;
        min-height: 700px;
    }
    #contacts {
        flex-direction: column;
        height: auto;
    }
    #left {
        width: 70%;
        
    }
    #right {
        width: 70%;
        
    }
    #line {
        border-right:none ;
        border-bottom:white solid 2px;
        margin: auto 0 auto 0;
    }
}