:root {
    --blue: #69adde;
    --red: #e71d36;
    --green: #65ca75;
    --white: #ffffff;
    --topbarGray: #434445;
    --dropdownHover: #d3d3d3;
    --topbarBack: #f1f1f1;
    --dropBackground: #f9f9f9;
    --topbarText: #3f4b57;
}
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.agenda_piece {
    text-align: center;
}
#text {
    color: var(--blue);
    font-size: 1.7vw;
}
#time {
    color: var(--red);
    font-size: 1.7vw;
}
#rows {
    border: 3px dotted var(--green);
    width: 75%;
}
#smallText {
    font-size: 1vw;
    color: var(--blue);
}
.logo {
    aspect-ratio: 676 / 301;
    width: 60%;
}
.randomColor {
    background-color: var(--blue);
    height: 1vh;
}
#logoText {
    font-family: Helvetica, Arial, sans-serif;
}
.topbarText {
    text-align: right;
    float: right;
    color: var(--topbarGray);
    padding-right: 2vw;
    font-size: .65vw;
    line-height: 4vh;
}
.topBar {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    
}
#breakoutSetup {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    margin-left: 30vw;
    margin-right: 30vw;
    margin-top: 10vh;
}
.topbar-menu {
    display: flex;
    justify-content: space-between;
    background-color: var(--topbarBack);
    font-family: Sans-serif;
    font-weight: bold;
    color: var(--topbarText);
    position: sticky;
    top: 0;
    z-index: 3;
    max-width: 100vw !important;
    flex-direction: row-reverse; /*  NECESSARY DO NOT CHANGE NOR ASK*/
}
.menuitem{
    max-width: 20px;
}
.topbar-menu .menu-item, .topbar-menu .dropbtn {
    min-width: 20vw; 
    text-align: center;
    padding-top: 3vh;
    padding-bottom: 3vh;
    cursor: pointer;
    font-size: 1em;
    position: relative;
    overflow: hidden; 
    z-index: 1; 
}

.topbar-menu .menu-item:hover, .topbar-menu .dropbtn:hover {
    background-color: transparent !important; 
}

.topbar-menu .menu-item::before, .topbar-menu .dropbtn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--green); 
    z-index: -1; 
    pointer-events: none; 
}

.topbar-menu .menu-item:hover::before, .topbar-menu .dropbtn:hover::before {
    animation: highlightGarageDoor 0.4s forwards ease-in-out;
}
@keyframes highlightGarageDoor {
    from {
        height: 0;
    }
    to {
        height: 100%;
    }
}
.topbar-menu .dropdown:hover .dropbtn {
    background-color: transparent !important; 
}
.dropdown-content a {
    color: black; 
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: color 0.05s ; 
    font-family: sans-serif; 
}
.topbar-menu .dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content {
    display: none;
    font-weight: normal;
    position: absolute;
    background-color: var(--dropBackground);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.dropdown-content a:hover {
    background-color: var(--dropdownHover); 
    color: var(--blue); 
}
.wrapper {
    display:flex;
    margin-left: 5vw;
    margin-right: 5vw;
    justify-content: center;
}
.collapsible {
    max-width: 500px;
    overflow: hidden;
}
.collapsible label {
    position: relative;
    display: block;
    cursor: pointer;
    color: #e71d36;
    font-size: 1.5vw;
    font-weight: bold;
    font-style: italic;
    padding-left: 5vh;
    padding-right: 5vh;
}
.collapsible label:after {
    content: "";
    position: absolute;
    right: 1vh;
    top: 1vh;
    height: 1vh;
}
.col-text {
    max-height: 3vh;
    overflow: hidden;
    line-height: 2.5vh;
    font-size: 1vw;
    color: #6c7175;
    font-family: Helvetica, Arial, sans-serif;
    position: relative;
    top: -40vh;
    opacity: 0.3;
    transition: all 0.3s ease;
}
.collapsible input:checked ~ .col-text {
    max-height: 35vh;
    opacity: 1;
    top: 0;
}
.collapsible input {
    display: none;
}
.menu_toggle {
    display: none;
}

@media (max-width: 675px) {
    .menu_toggle input:checked ~ .topbar-menu {
        display: grid;
        position: relative;
        width: 100%;
        margin-left: 0; /* Adjusted to center */
        margin-top: 3vh;
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
        text-align: center; /* Ensure text is centered */
    }
    .agenda_piece {
        margin-top: 7vh;
    }
    .menu_toggle {
        display: block;
        position: relative;
        top: 10vh;
        bottom: 10vh;
        left: 46.5%;
        top: 2vh;
        z-index: 1;
    }
    .menu_toggle input[type="checkbox"] {
        display: block;
        width: 40px;
        height: 32px;
        position: absolute;
        top: -7%;
        cursor: pointer;
        z-index: 2;
        opacity: 0;
    }
    .menu_toggle .m-piece {
        display: block;
        width: 3vh;
        height: .5vh;
        background-color: var(--green);
        margin-bottom: 0.35vh;
        position: relative;
        z-index: 1;
        transform-origin: 0.25vh 0.25vh;
        transition: transform 0.5s cubic-bezier(0.75, 1.82, 0.165, 1)
    }
    .menu_toggle input:checked ~ .m-piece {
        opacity: 1;
        transform: rotate(45deg);


    }
    .menu_toggle input:checked ~ .m-piece:nth-last-child(2){
        
        transform: rotate(-45deg);


    }
    .menu_toggle input:checked ~ .m-piece:nth-last-child(3) {
        opacity: 0;
        transform: rotate(45deg);

    }
    .topbar-menu {
        margin-bottom: 4vh;
        width: 100%;
        text-align: center;
        padding: 0.5em; 
        display:none;
    }
    .dropdown-content {
        z-index: 5;
        width: 100%; /* Make it span the full width of the parent */
        left: 0; /* Align it to the left edge */
        right: 0; /* Ensure it covers the right edge */
        position: absolute; /* Ensure it stays within the topbar-menu */
        box-shadow: none; /* Optional: Remove shadow for a cleaner look */
        z-index: 5; 

    }
    .menu_toggle input:checked ~ .topbar-menu {
        display: grid;
        position: relative;
        width: 100%;
        margin-left: -50%;
        margin-top: 3vh;
    }
    .moreInfoTinyText {
        font-size: 2vh;
    }
    .logo{
        display: block;
        margin: auto;
    }
    .topBarText {
        float: none;
        text-align:center;
        padding: 0;
        margin: 0;
        
    }
    #logoText {
        float: none;
        text-align:center;
        padding: 0;
        margin: 2vh;
        line-height: 1em;
        font-size: 4vw;
        line-height: 2em;
    }
    .topBar{
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: center;
    }
    #text, #time {
        font-size: 4vw;
    }
    #smallText, .col-text {
        font-size: 2.5vw;
    }
    .col-text {
        margin-left: 10vw;
        margin-right: 10vw;
    }
    .collapsible label {
        font-size: 4vw;
    }
    .dropdown-content a {
        font-size: 1.4vh;
    }
    .topbar-menu .menu-item, .topbar-menu .dropbtn {
        font-size: 0.65em;
    }
    
    .breakout_title {
        margin-left: 10vh;
        margin-right: 10vh;
    }
    
    #breakoutSetup {
        flex-direction: column;
        margin-left: 19vh;
    }
    #breakoutGroup {
        margin-left: 10.5vh;
        margin-top: -7vh;
    }
    #breakoutGroup #breakoutText {
        margin-left: -10vh;
        margin-right: -10vh;
    }
    #breakoutSetup .breakoutLogo {
        max-width: 175px;
        width: 25vh;
        margin-right: 70vw;
        margin-left: 62.5vw;
    }
    #speakers {
        margin-top: 10%;
        position: relative;
        flex-direction: column;
        display: block;
        align-items: center;
        justify-content: center;
    }
    #speakers #breakoutGroup, #speakers #breakoutGroup #text {
        margin-top: 20%;
        margin-bottom: 20%;
    }
    #speakers #breakoutGroup {
        margin-top: 0;
        margin-bottom: 30%;
        align-items: center;
        position: relative;
        justify-content: center;
        margin-left: 22%;
        margin-right: auto;
        display: block;
    }
    #speakers #breakoutText {
        margin-left: -17.5vh;
        font-size: 2vh;
        margin-right: 2vh;
    }
    #speakers #breakoutGroup #text {
        margin-left: 100%;
        text-align: center;
    }
    
    #speakers #breakoutGroup #headshot {
        margin-right: 50vw;
        margin-left: 8vw;
        max-width: 20vh;
    }
    #speakers #breakoutGroup #nameOfPresenter {
        margin-left: 3vh;
        margin-right: -15vh;
        text-align:center;
        font-size: 4vw;
    }
    .agenda_piece { 
        display: block;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .lowerBreakout {
       margin-left: -4vh;
       margin-top: -45vh;
    }
    .agenda_piece #speakers .pgDif #nameOfPresenter {
      
     margin-top: 0;
     margin-bottom: 130vh;
    }
    .agenda_piece #speakers .pgDif1_4 #nameOfPresenter {
            
            margin-top: 0;
            margin-bottom: 65vh;
    }
    .agenda_piece #speakers .pgDif2 #nameOfPresenter {
        margin-bottom: 60vh;
        margin-top: 5vh;
    }
    .agenda_piece #speakers .bTextExtra {
        margin-top: 40vh;
    }
    .lower2 {
        margin-top: 10vh;
        margin-bottom: 15vh;
    }
    .t_Cooper {
        margin-left: 13.5vh;
        margin-bottom: 1vh;
    }
     #breakoutTextTC {
        margin-right: 10vh;
        margin-left: -30vh;
        margin-bottom: 5vw; 
    }
    .t_CooperC {
        margin-left: 5vw;
    }
    .t_Cooper3{
        margin-top: -25vh;
    }
    .vBottom {
        margin-left: 10vw;
        margin-right: 5vw;
    }
    #sponsorsImage{
        min-width: 90%;
        height: auto;
        margin-left: 3vh;
        margin-top: 5vh;
        margin-bottom: 5vh;
    }
}
@media (min-width: 675px) {
    #breakoutSetup {
        flex-direction: row;
        margin-left: 10vw;
        margin-right: 10vw;
        margin-top: 5vh;
    }

    #breakoutGroup {
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        
        width: 40vw !important;
    }

    #breakoutGroup #breakoutText {
        margin-left: 0;
        margin-right: 0;
        font-size: 1.2vw;
        line-height: 1.8em;
    }

    .breakout_title {
        font-size: 2.5vw;
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }

    .breakoutLogo {
        max-width: 15vw;
        margin-left: 2vw;
        margin-right: 2vw;
        display: block;
    }

    #speakers {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        margin-top: 5vh;
    }

    #speakers #breakoutGroup {
        margin-top: 0;
        margin-bottom: 0;
        width: 45%;
    }

    #speakers #breakoutGroup #nameOfPresenter {
        font-size: 1.5vw;
        margin-top: 2vh;
        margin-bottom: 2vh;
    }

    #speakers #breakoutText {
        font-size: 1vw;
        margin-left: 0;
        margin-right: 0;
    }

    .agenda_piece {
        margin-top: 5vh;
        padding: 2vw;
        background-color: #f9f9f9;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .lowerBreakout {
        margin-left: 0;
        margin-top: 0;
        text-align: center;
    }

    .t_Cooper {
        margin-left: 0;
        margin-bottom: 2vh;
    }

    .t_CooperC {
        margin-left: 0;
    }

    .vBottom {
        margin-left: 0;
        margin-right: 0;
    }
    #speakers{
        margin-left: 10vw;
        margin-right: 10vw;
    }
    .bLogoExtra{
        min-width: 40vh;
    }
}
 .lowerBreakout {
    align-items: center;
    justify-content: center;
 }
a{
    color: var(--red);
    font-size: 1rem;
    font-weight: italic;
    font-family: 'Times New Roman', Times, serif;
}
#breakoutGroup{
    margin-right:15vh;
    width: 20vw;
}
#speakers{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
#linksList{
    list-style-position: inside;
}
.breakoutLogo{
    max-width: 10vw;
}
.agendaSelf{
    background-color: var(--blue);
}
.agendaSelf::before, .agendaSelf:hover::after, .agendaSelf:hover::before {
    animation: none !important;
    background-color: var(--blue);
    content: ""; 
    display: block; 
    width: 100%; 
    height: 100%; 
    position: absolute; 
    z-index: -1; 
    top: 0;
    left: 0;
}
#sponsorsImage{
    max-width: 30%;
    height: auto;
    margin-top: 5vh;
    margin-bottom: 5vh;
}