
/*.contacts-main {*/
/*    max-width: 100%;*/
/*    height: auto;*/
/*    text-align: center;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 2rem;*/
/*    margin: 2rem 2rem 6rem;*/
/*}*/

/*.contacts-main h1 {*/
/*    margin-top: 1rem;*/
/*    font-size: 3vw;*/
/*    font-family: "Bebas Neue", sans-serif;*/
/*    color: var(--text-color);*/
/*    margin-bottom: 1rem;*/
/*    display: inline-block; !* Shrinks width to only fit content *!*/
/*    white-space: nowrap;*/
/*    padding-bottom: .5rem;*/
/*}*/

/*.contacts-people {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    gap: 4rem;*/
/*    justify-content: space-evenly;*/
/*    align-items: center;*/
/*    word-wrap: break-word;*/
/*    height: 75%;*/
/*}*/

/*@media (max-width: 850px) {*/
/*    .contacts-people {*/
/*        flex-direction: column;*/
/*    }*/
/*}*/

/*.contacts-people a {*/
/*    text-decoration: none;*/
/*    color: var(--text-color);*/
/*    margin-bottom: 10px;*/
/*    font-size: 1.2vw;*/
/*}*/

/*.contacts-people a:hover {*/
/*    text-decoration: underline;*/
/*}*/

/*.contacts-people p, .contacts-people strong {*/
/*    color: var(--text-color);*/
/*    max-width: 100%;*/
/*    font-size: 1.2vw;*/
/*}*/

/*.contacts-people strong {*/
/*    font-size: 1.3vw;*/
/*}*/

/*.contacts-people img {*/
/*    max-height: 100%;*/
/*    max-width: 100%;*/
/*    border-radius: 2rem;*/
/*}*/

/*.tonu, .silja, .tanel {*/
/*    width: 100%;*/
/*    line-height: 1.5vw;*/
/*    border-radius: 2rem;*/
/*    height: 100%;*/
/*    padding: 2rem;*/
/*    background: rgba(246, 246, 246, 0.75);*/
/*    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);*/
/*}*/

/*.tonu h1, .silja h1, .tanel h1 {*/
/*    font-size: 2.2vw;*/
/*}*/

/*@media (max-width: 850px) {*/
/*    .contacts-people a {*/
/*        text-decoration: underline;*/
/*        font-size: 6vw;*/
/*    }*/

/*    .contacts-main h1 {*/
/*        font-size: 6vw;*/
/*    }*/

/*    .contacts-people p, .contacts-people strong {*/
/*        font-size: 6vw;*/
/*    }*/

/*    .tonu, .silja, .tanel {*/
/*        line-height: 8vw;*/
/*    }*/
/*}*/

/* General Styles */


/* Main Contacts Section */
.content-contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
}

/* Contacts Container */
.contacts-main {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 1300px;
    width: 100%;
    text-align: center;
}

/* Section Title */
.contacts-main h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

/* Contacts Grid */
.contacts-people {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Individual Contact Cards */
.tonu, .silja, .tanel {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 25%;
    transition: transform 0.3s ease-in-out;
}

.tonu:hover, .silja:hover, .tanel:hover {
    transform: translateY(-5px);
}

/* Profile Images */
.tonu img, .silja img, .tanel img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

/* Name Styling */
.tonu h1, .silja h1, .tanel h1 {
    font-size: 1.3rem;
    color: #222;
    margin: 5px 0;
}

/* Role Styling */
.tonu strong, .silja strong, .tanel strong {
    font-size: 1rem;
    color: #777;
    display: block;
    margin-bottom: 8px;
}

/* Contact Info */
.tonu p, .silja p, .tanel p {
    font-size: 0.9rem;
    color: #444;
    margin: 5px 0;
}

/* Email Styling */
.tonu span, .silja span, .tanel span {
    display: block;
    font-size: 0.85rem;
    color: var(--main-color);
    margin-top: 5px;
}

.tonu span a, .silja span a, .tanel span a {
    text-decoration: none;
    color: var(--main-color);
    font-weight: bold;
}

.tonu span a:hover, .silja span a:hover, .tanel span a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 850px) {
    .contacts-people {
        flex-direction: column;
        align-items: center;
    }

    .tonu, .silja, .tanel {
        width: 100%;
        max-width: 350px;
    }
}


