html, body {
    overflow-x: hidden;
    
}

body {
    background-image: url('Pictures/sulyok8.png');
    background-size: 100%;
    background-position: right top;
    width: 100%;
    padding: 0;
    margin: 0;
}

a {
    color: rgb(179, 107, 0); 
}

.page_container {
    margin-right: 20%;
    margin-left: 2%;
    overflow-y: scroll;
    overflow-x: hidden;
}

.seminar {
    background-color: rgba(234, 235, 225, 0.623);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 4px 2px 10px black;
    margin-bottom: 20px;
    margin-left: 1%;
    max-width: 78%; 
    font-family: Arial, Helvetica, sans-serif;

}

/* If viewport width < height  (We're on mobile)*/
@media (max-aspect-ratio: 1/1) {
    .page_container {
        margin-right: 12%;
        margin-left: 1%;
    }

    .seminar {
        max-width: 98%;
        box-shadow: 2px 1px 5px black;

    }
}

.seminar p {
    font-weight: bold;
}

.base_info {
    padding-bottom: 20px;
    width: fit-content ;
}

.base_info p {
    margin: 5px;
}

.day {
    background-color: rgba(200, 201, 187, 0.7);
    border-radius: 10px;
    padding: 3px;
    margin-top: 5px;
    box-shadow: 2px 1px 2px rgba(175, 174, 156, 0.993);
    color: rgb(179, 107, 0);
    min-width: 50vw;
    width: fit-content;
}

.day p {
    margin: 5px;
}

.time {
    color: rgb(0, 0, 0);
}

.date {
    color: rgb(0,0,0); 
    width: fit-content;
}

.talk {
    width: fit-content;
}

/* Add padding-top to first talk if there's a date before it */
.date + .talk {
    padding-top: 20px;
}

/* Add padding-top to talks that come after other talks */
.talk + .talk {
    padding-top: 20px;
}

.secondary_info {
    font-weight: normal;
    color: black;
}



.abstract-button {
        background-color: rgb(234, 235, 225);
        border: none;
        padding: 3px 8px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 0.9em;
      }

.abstract-button:hover {
    background-color: rgb(209, 195, 118);
}

.abstract-dropdown {
    margin-top: 10px;
    padding: 12px;
    background-color: rgb(234, 235, 225);
    border-left: 4px solid rgb(179, 107, 0);
    border-radius: 4px;
    animation: rollDown 0.2s ease-out forwards;

}

.abstract-content {
    line-height: 1.6;
    color: #333;
    white-space: pre-wrap;
    word-wrap: break-word;
    animation: rollDown 0.2s ease-out forwards;
}

@keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

@keyframes rollDown {
  from {
    clip-path: inset(0 0 100% 0); /* fully hidden */
  }
  to {
    clip-path: inset(0 0 0 0); /* fully visible */
  }
}

@keyframes rollUp {
  from {
    clip-path: inset(0 0 0 0); /* fully visible */
  }
  to {
    clip-path: inset(0 0 100% 0); /* fully hidden */
  }
}

