BODY {
    background-image: url('back.jpg');
    font-family: 'cwTeXYen', sans-serif;
    background-color: #E8E7D2;
    color: #333;
    margin: 0;
    padding: 0;
    text-align: center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-attachment: fixed;
    background-position: center;
}
@font-face {
    font-family: 'cwTeXYen';
    font-style: normal;
    font-weight: 500;
    src: url(//fonts.gstatic.com/ea/cwtexyen/v3/cwTeXYen-zhonly.woff2) format('woff2');
}

.wrapper-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.header-content {
    background-color: #D2D5B8;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.header-nav a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s, transform 0.3s;
}

    .header-nav a:hover {
        color: #FFB500;
        transform: scale(1.1);
    }

.section-primary {
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    padding: 50px 30px;
    gap: 20px;
}

.primary__main-img {
    width: 450px;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

    .primary__main-img:hover {
        transform: scale(1.05); 
    }


.section__title {
    font-family: 'Comic Sans MS', sans-serif;
    font-weight: bold;
    color: #d3a127;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.primary__title {
    font-size: 60px;
    color: #d3a127;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.7), -4px -4px 8px rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}
.primary__text {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.primary__social {
    display: flex;
    flex-direction: row; 
    justify-content: center; 
    align-items: center; 
    gap: 20px; 
    margin-top: 20px;
}

.img-1 {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease-in-out;
}

    .img-1:hover {
        transform: scale(1.2);
    }

.logo-img {
    width: 280px;
    height: 90px;
    margin-right: 10px;
    display: inline-block;
    
}


.timeline {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8); 
    z-index: 1000; 
    overflow-y: auto;
    transition: opacity 0.3s ease-in-out;
}


.timeline-content {
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    max-width: 800px;
    margin: 80px auto; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out;
}


@keyframes fadeInUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.timeline h3 {
    text-align: center;
    color: #f1c40f; 
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.timeline ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    padding-left: 40px; 
}

.timeline li {
    padding: 15px;
    font-size: 18px;
    color: white;
    border-left: 3px solid #f1c40f;
    position: relative;
    transition: background-color 0.3s ease;
}

    .timeline li:hover {
        background-color: #34495e;
    }

    .timeline li:last-child {
        border-bottom: none;
    }

    .timeline li strong {
        color: white;
        font-weight: bold;
        font-size: 1.1rem;
    }

  
    .timeline li::before {
        content: "";
        position: absolute;
        left: -12px; 
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid #f1c40f;
    }

    .timeline li a {
        text-decoration: none;
        color: #f1c40f;
        font-weight: bold;
    }

        .timeline li a:hover {
            color: #2c3e50;
            text-decoration: underline;
        }

#toggle-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    cursor: pointer;
}

#toggle-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%; 
    background-color: #C9BA9B;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

    #toggle-icon:hover {
        transform: scale(1.1); 
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        background-color:#f1c40f;
    }


#social-icons {
    display: none; 
    position: absolute;
    bottom: 70px; 
    right: 0;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);*/
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .social-icon:hover {
        transform: scale(1.2);
       /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);*/
    }

.link-button {
    display: inline-block;
    background-color: #4A4E69;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.3s;
}

.link-button:hover {
    background-color: #FFB500;
    transform: scale(1.1);
}

#like-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

#like-button {
    background-color: #C9BA9B;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

    #like-button:hover {
        background-color: #ffcc00;
        transform: translateY(-3px);
    }

    #like-button img {
        width: 24px;
        height: 24px;
        vertical-align: middle;
        transition: transform 0.2s, filter 0.2s;
    }

        #like-button img.clicked {
            transform: scale(1.3);
            filter: brightness(1.5);
        }

#like-count {
    font-size: 18px;
    font-weight: bold;
    color: white;
}

    #like-count.incremented {
        animation: bounce 0.3s ease-out;
    }

@keyframes bounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }

    100% {
        transform: scale(1);
    }
}

.floating-image {
    position: absolute;
    bottom: 30px;
    left: 50px;
    width: 24px;
    height: 24px;
    animation: float-up 2s ease-out forwards;
}

@keyframes float-up {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-150px);
    }
}



@media (max-width: 768px) {
    BODY {
        background-size: cover;
    }

}