a {
    text-decoration: none;
}

body {
    background-color: #fafafa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    margin: 0;
}

.container {
    max-width: 1000px;
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-bottom: 0px; 
    flex: 1;
}

.header {
    margin-bottom: 2rem;
    border-bottom: solid 1px black;
}

p {
    font-size: 1.1rem;
}

.header-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    margin-bottom: -2rem;
    border-radius: 8px;
    box-shadow: 0;
}

content {
    display: flex;
    gap: 1rem;
}

.left-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 50%;
}

article {
    position: relative;
    margin: 0;
}

article .image {
    position: relative;
    display: block;
    border-radius: 4px;
    overflow: hidden;
}

article .image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

article.style1 .image:before {
    background-color: #f2849e;
    opacity: 0.8;
}

article.style2 .image:before {
    background-color: #7ecaf6;
    opacity: 0.8;
}

article.style3 {
    width: 50%;
    display: flex;
    flex-direction: column;
}

article.style3 .image {
    flex-grow: 1;
}

article.style3 .image img {
    height: 100%;
    object-fit: cover;
}

article.style3 .image:before {
    background-color: #7bd0c1;
    opacity: 0.8;
}

article .image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: opacity 0.5s ease, background-color 0.5s ease;
}

article .image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cstyle%3Eline %7B stroke-width: 0.25px%3B stroke: %23ffffff%3B %7D%3C/style%3E%3Cline x1='0' y1='0' x2='100' y2='100' /%3E%3Cline x1='100' y1='0' x2='0' y2='100' /%3E%3C/svg%3E");
    opacity: 0.25;
    z-index: 2;
    transition: opacity 0.5s ease;
}

article:hover .image img {
    transform: scale(1.05);
}

article:hover .image:before {
    opacity: 0.35;
    background-color: #333;
}

article:hover .image:after {
    opacity: 0;
}

article a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 3;
    width: 100%;
    padding: 1em;
}

article .content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}

article:hover .content {
    max-height: 100px;
    opacity: 1;
}

.current {
    border-bottom: solid 4px #FFFFFF;
}

.name {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 1.8rem;
    margin-top: 0.8rem;
}

.title {
    color: #666;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 0.3rem;
    position: relative;
    color: #908c8c;
}

.email-link {
    margin-right: auto;
    font-size: 1.1rem !important;
    margin-bottom: -1rem;
    text-decoration: underline;
}

.email-link:hover {
    text-decoration: underline;
}

.center-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    margin-bottom: 0.7rem;
}

.social-icons {
    margin-left: auto;
    display: flex;
    gap: 1rem;
    width: 80px;
    height: 80px;
    opacity: 0.8;
    transition: all 0.3s ease;
    margin-bottom: -1.8rem;
}

.social-icon img {
    width: 100%;
    max-width: 50px;
    height: 100%;
    max-height: 50px;
    object-fit: contain;
}

.social-icon:hover {
    opacity: 1;
    transform: translateY(-2px) scale(1.1);
    transition: all 0.3s ease;
}

@media (max-width: 600px) {
    .center-text {
        position: static;
        transform: none;
        order: -1;
        width: 100%;
        text-align: center;
    }

    .contact {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .social-icons {
        margin-left: 0;
    }

    content {
        flex-direction: column;
    }

    .left-articles {
        width: 100%;
    }

    article.style3 {
        width: 100%;
    }
}

@media (max-width: 600px) {
    article {
        width: 100%;
        margin: 1em 0;
    }
}

.contact a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.95rem;
}

.contact a,
.contact span {
    white-space: nowrap;
}

@media (min-width: 992px) {
    .col-lg-6 {
        float: left;
        width: 50%;
    }
}


#contact .form-control {
    padding: 12px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    display: block;
    width: 100%;
}

#contact button[type="submit"] {
    padding: 12px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact button[type="submit"]:hover {
    background-color: #218838;
}


#contact .container.mt-3.contactContent {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}


#contact .row.mt-4 {
    display: flex;
    gap: 1rem;
}

#contact .col-lg-6 {
    width: calc(50% - 0.5rem);
    box-sizing: border-box;
}

#contact .col-lg-6 iframe {
    height: 100%;
}


#footer {
    font-size: 14px; 
    color: #fff; 
    background-color: #939090; 
    padding: 15px 0; 
    width: 100%;
    text-align: center; 
    margin-top: 30px; 
    border-top: none; 
}

#footer a {
    color: #f2d584; 
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline; 
}    