.contact{
    width: 50%;
    height: auto;
    background-color: white;
    margin-left: 25%;
    padding: 10px;
    border-radius: 10px;
    opacity: 0.9;
}

.contact h1{
    text-align: center;
}

.contact form{
    text-align: center;
}

form input{
    width: 40%;
    height: 38px;
}

.contact .location iframe{
    text-align: center;
}

.contact input:focus{
    border: 2px solid black;
    border-radius: 5px;
    box-shadow: 1px 5px 20px 6px black;
}

.footer{
    width: 100%;
    height: auto;
    display: flex;
    background-color: #277bbf;
    opacity: 0.9;
}

.footer h3{
    padding: 2%;
}

.footer div a i{
    font-size: 30px;
    padding-top: 20%;
    transition: 0.5s;
    
}

.footer div a i:hover{
    color: white;
    font-size: 25px;
}

/* Mobile tweaks */
@media (max-width: 900px){
    .contact{ width: 70%; margin-left: 15%; }
    form input{ width: 60%; }
}

@media (max-width: 600px){
    .contact{ width: 92%; margin-left: 4%; padding: 16px; }
    .contact h1{ font-size: 22px; }
    form input{ width: 100%; }
    .contact .location iframe{ width: 100% !important; height: 320px; }
    .footer{ flex-direction: column; gap: 8px; text-align: center; padding: 12px 0; }
}

/* Responsive */
@media (max-width: 992px) {
    .contact{
        width: 70%;
        margin-left: 15%;
    }
    form input{
        width: 60%;
    }
}

@media (max-width: 768px) {
    .contact{
        width: 90%;
        margin-left: 5%;
        padding: 16px;
    }
    form input{
        width: 100%;
    }
    .contact .location iframe{
        width: 100% !important;
        height: 320px;
    }
}

@media (max-width: 480px) {
    .contact{
        width: 95%;
        margin-left: 2.5%;
    }
    .contact h1{
        font-size: 22px;
    }
}