body {
    line-height: 1.5em;
    color: #2D3038;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

.main {
    background-color: #ffffff;
    max-width: 1100px;
    margin: auto;
}

h1 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    line-height: 1.2em;
    font-size: 2em;
    letter-spacing: -0.01em;
    color: #1448C9;
    margin: 20px 0px 20px 0px;
    animation: none;
    white-space: normal;
    text-align: center;
}

h2, h3 {
    color: #1448C9;
    font-weight: 500;
}

.intro-text {
    margin: 12px auto;
    color: #2D3038;
    text-align: justify;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.profile-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.image-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-janosver img {
    object-position: 0px -25px;
}

.img-zsuzsannaver img {
    object-position: 0px -70px;
}


.profile-info {
    margin-bottom: 15px;
}

.profile-info h2 {
    color: #1448C9;
    margin-bottom: 5px;
}

.job-title {
    font-weight: bold;
    color: #00247D;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: block;
}

.profile-info ul {
    text-align: justify;
}

.bio-text {
    margin-bottom: 20px;
    text-align: justify;
}


/* Certifications List */
.certs {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.certs li {
    background: #f3f3f3;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    margin-right: 8px;
    margin-bottom: 8px;
    font-weight: 600;
}

.linkedin {
    -webkit-appearance: none;
    font-family: inherit;
    font-weight: 400;
    margin: 15px 0px 15px 0px;
    cursor: pointer;
    color: #ffffff;
    background-color: #007bb6;
    font-size: 20px;
    padding: 10px 15px 10px 15px;
    border-style: solid;
    border-width: 0px;
    text-decoration: none;
    transition: 0.3s;
    border-radius: 3px;
}

.linkedin:hover {
    color: #007bb6;
    background-color: #f3f3f3;
}

.learnmore {
    margin: 20px;
}

/* Responsive Design */

@media only screen and (max-width: 1050px) {
    .img-zsuzsannaver img {
        object-position: 0px -50px;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .image-container {
        height: 350px;
    }

    .hero-section {
        padding: 0px 0 20px;
    }
    
}

@media only screen and (max-width: 500px) {
    .img-janosver img {
        object-position: 0px 0px;
    }

    .img-zsuzsannaver img {
        object-position: 0px -50px;
    }
}

@media only screen and (max-width: 400px) {
    .img-zsuzsannaver img {
        object-position: 0px -20px;
    }
}