/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #272727;
    background-color: #FAF8E7;
}

header {
    text-align: center;
    padding: 20px;
    background-color: #41A39D;
    color: #272727;
}

header h1 {
    font-size: 2em;
}

header p {
    font-size: 1em;
    margin-top: 5px;
}

main {
    max-width: 800px;
    margin: 20px auto;
    padding: 10px;
    background-image; url("taust.jpg")
    background-color; #ffffff;
}

.search {
    text-align: center;
    margin-bottom: 20px;
}

#search-form input[type="text"] {
    padding: 10px;
    width: 70%;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#search-form button {
    padding: 10px 20px;
    background-color: #C8F7F4;
    color: #272727;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#search-form button:hover {
    background-color: #afdad7;
}
.results {
    margin-top: 20px;
}

.result-item {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #f7f7f7;
}

.result-item h3 {
    color: #272727;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #41A39D;
    color: #272727;
    font-size: 1em;
}
.result-cards {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    padding: 20px;
}

.card {
    background-color: #41A39D;
    color: #272727;
    width: 200px;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card .quote-icon {
    font-size: 2em;
    color: #272727;
}

.card p {
    font-size: 1em;
    margin-top: 10px;
    color: #272727;
}
.partners {
    text-align: center;
    padding: 20px;
    background-color: #41A39D;
}

.partner-logos {
    display: flex;
    flex-direction: column; /* Seadistab logod vertikaalselt üksteise alla */
    align-items: center; /* Tsentreerib logod keskele */
    gap: 20px; /* Vahe iga logo vahel */
}

.partner img {
    width: 200px; /* Suurem logo laius */
    height: auto;
    border-radius: 10px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.contact-container {
    background-color: #41A39D;
    border-radius: 10px;
    width: 770px; /* Adjust the width to match the partner section */
    padding: 20px;
}

.contact-form h2 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

.contact-form label {
    font-size: 0.9em;
    margin-bottom: 5px;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #FAF8E7;
    border-radius: 5px;
    font-size: 0.9em;
}

.contact-form button {
    width: 100%;
    padding: 8px;
    background-color: #C8F7F4;
    color: #272727;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #afdad7;
}
/* Styling for the video background */
#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; 
}

/* Ensure content appears on top of the video */
header, main, footer {
    position: relative;
    z-index: 1;
}


/* Määrab taustavärvi keskmisele sektsioonile */
.results,
.partners,
.contact-form {
    background-color: #FAF8E7;
    padding: 50px;
}

/* Parandab kesksektsioonide joondust */
.main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

