body {
    background-color: #f8fcff !important;
    font-family: Georgia, 'Times New Roman', Times, serif;
}




/* Timeline */

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    background: #fffaf3;
    border-radius: 8px;
    margin: 0; 
    padding: 0; 
    box-shadow: 0 0 10px rgba(230, 144, 227, 0.5);
}

.timeline-cont {
    border-top: 3px solid;
    border-image: linear-gradient(to right, #743ad5 0%, #d53a9d 100%);
    border-image-slice: 1;
    border-width: 3px;
    margin: 0; 
    padding: 20px; 
    border-radius: 25px;
    position: relative;
}

.timeline-cont:nth-child(odd) {
    border-right: 3px solid;
    padding-left: 0;
}

.timeline-cont:nth-child(even) {
    border-left: 3px solid;
    padding-right: 0;
}

.timeline-cont:first-child {
    border-top: 0;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.timeline-cont:last-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

/* Content cards */

.content {
    position: relative;
    padding: 20px;
}

.toggle-content {
    display: block; 
    margin-top: 10px; 
    padding: 10px 20px; 
    background-color: #743ad5; 
    color: #fffaf3; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
}

.toggle-content:hover {
    background-color: #d53a9d;
}

.hidden-content {
    display: none;
    padding-top: 10px;
}

@media (max-width: 768px) {
    .sidebar {
        display: block; 
        order: -1; 
    }

    .content {
        margin-top: 20px; 
    }

    .timeline-item img {
        height: auto; 
        max-width: 100%; 
    }
}

.des-con{
    border-radius: 25px;
    border: 1px solid black;
    background-color: #fffaf3;
    
}

.des-con p{
    text-align: justify;
}

.des-con h2{color: darkblue;}
.des-con h3{ color: purple;}

.sub-categories {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 60px;
    margin-top: 60px;
}

.row {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 50px;
}

.subtitle-unselected {
    height: 50px; 
    width: 150px; 
    border: 2px solid rgb(48, 42, 199); 
    border-radius: 25px; 
    background-color: rgb(111, 118, 211); 
    box-shadow: 0 0 10px rgba(230, 144, 227, 0.5); 
    cursor: pointer; 
    transition: background-color 0.3s ease, transform 0.3s ease; 
    text-align: center; 
    line-height: 50px; 
    font-size: 24px; 
}

.subtitle-unselected:hover {
    background-color: #e0e0e0; 
    transform: scale(1.05); 
}
