#contact{
    box-sizing: border-box;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

#contact h1{
    background: linear-gradient(transparent, transparent 50%, #005587 50%, #005587);
    background-size: 100% 200%;
    border-bottom: 0.15rem solid #005587;
    margin: 0.5rem 0 1.5rem 0;
    width: fit-content;
    transition: 0.3s ease-in-out;
}

#contact h1:hover{
    background-position: 100% 100%;
    color: white;
    cursor: default;
}

#contact-left{
    flex-basis: 50%;
    width: 30rem;
    height: 35rem;
    min-height: 20rem;
}

#contact-left iframe{
    min-height: 20rem;
}

#contact-right{
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

#contact-right-info{
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: end;
    gap: 1rem;
}


#contact-right-info p{
    text-align: left;
    margin:0;
}

#contact-right-info p strong{
    font-size: large;
}

#contact-right-form{
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100%;
}

#contact-right-form form{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

#contact-right-form form input{
    background-color: rgb(215, 215, 215);
    box-sizing: border-box;
    border: 0;
    flex-basis: 48%;
    height: 3rem;
    font-size: larger;
    padding-left: 1rem;
}

#contact-right-form form input::placeholder{
    color: rgb(147, 147, 147);
}

#contact-right-form form textarea{
    background-color: rgb(215, 215, 215);
    box-sizing: border-box;
    resize: none;
    height: 7rem;
    width: 100%;
    border: 0;
    padding: 1rem;
    font-size: larger;
}

#contact-right-form form button {
    background-color: var(--blue);
    border: 0.1rem solid var(--blue);
    font-size: large;
    color: white;
    height: 3rem;
    width: 6rem;
    transition: 0.2s ease-in-out;
}

#contact-right-form form button:hover {
    background-color: white;
    color: var(--blue);
    cursor: pointer;
}

@media only screen and (max-width: 500px) {
    #contact-right-form form input{
        flex-basis: 100%;
    } 
}

@media only screen and (max-width: 570px) {
    #contact{
        padding: 1rem;
    } 
}

@media only screen and (max-width: 600px) {
    #contact-right-info{
        align-items: start;
        flex-direction: column;
    }
}

@media only screen and (max-width: 1000px) {
    #contact{
        flex-direction: column;
    }
    
    #contact-left{
        width: 100%;
    }

    #contact h1{
        text-align: left;
    }
}

@media only screen and (max-width: 1112px) and (min-width: 1001px){
    #contact-right-info{
        align-items: start;
        flex-direction: column;
    }
}

/*
    This site was made by Jakub Golias & Erik Zelinsky from school SPSTBJ.
             We created this site as Erasmus+ participants.
                            ©2023 Vienna
*/