@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.fade-in-visible {
    opacity: 1;
}

.contact {
    background-color: #1E1E1E;
    color: silver;
    padding: 20px;
    margin: 20px;
   
}
.contact-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    border: 2px solid gray;
    overflow: hidden; 
   
}
.contact-image {
    width: 50%;
  
}
.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info h2 {
    font-size: 3em;
    margin-bottom: 10px;
}

.contact-info p {
    margin: 5px;
    font-size: 1.5em;
}
.additional-features {
    display: flex;
    justify-content: space-around;
    align-items: center; 
    
}

.feature {
    flex: 1;
    text-align: center;
    height: 400px;
    border: 2px solid grey; 
    display: flex;
    flex-direction: column;
    overflow: hidden; 
    text-align: center; 
    justify-content: center; 
    align-items: center; 
    
}

.logo-container {
    background-color: silver;
    padding: 20px; 
    display: flex;
    justify-content: center; 
    align-items: center; 
    width: 100%; 
}


.contact-info {
    background-color: #1E1E1E; 
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: silver;
    text-align: center; 
}

.feature .logo {
    width: 20vh;
    height: 5vh;
    object-fit: contain;
    display: inline-block;
    padding: 10px;
    border-radius: 8px;
}

.feature a {
    color: silver;
    text-decoration: none;
}

.feature p {
    font-size: 1.1em;
    color: silver;
}

.maps-logo {
    width: 50px; 
    height: auto;
    vertical-align: middle; 
    margin-top: 5px;
}
.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #1E1E1E;
    color: silver;
    border-bottom: 1px solid silver;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: silver;
}

.form-row textarea {
    resize: vertical;
    font-family: BAHNSCHRIFT;
    font-size: 1em;
    line-height: 1.5;
}

button {
    padding: 10px;
    background-color: silver;
    color: #1E1E1E;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s;
    width: 100%;
}

button:hover {
    background-color: #B0B0B0;
}

.contact-form p {
    margin-top: 10px;
    color: silver;
    font-size: 1.1em;
}
.contact-form {
    max-width: 600px; 
    margin: 0 auto; 
    padding: 20px;
}

@media (max-width: 768px) {
    
    .contact-container {
        flex-direction: column;
        align-items: center; 
        text-align: center; 
    }

    .contact-image, .contact-info {
        width: 100%;
    }

    .additional-features {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        width: 100%;
        height: auto;
        
    }

    .feature:last-child {
        margin-bottom: 0;
    }
    .feature .logo {
        width: 20vh;
        height: 4vh;
    }
    .contact-form {
        width: 90%; 
        padding: 15px;
    }

    .form-row input,
    .form-row textarea {
        font-size: 0.9em; 
    }

    button {
        font-size: 0.9em; 
        padding: 8px;
    }
}
@media (max-width: 480px) {
    .contact-info h2 {
        font-size: 1.5em;
    }

    .contact-info p {
        font-size: 1em;
    }

    .feature {
        height: auto;
    }


    button {
        font-size: 0.9em;
    }
    .contact-form {
        width: 95%; 
        padding: 10px;
    }

    .form-row input,
    .form-row textarea {
        font-size: 0.8em; 
        padding: 8px; 
    }

    button {
        font-size: 0.8em; 
        padding: 8px;
    }
}