* { 
    color: white;
    line-height: 1.6; 
}

a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.boldText{
    font-weight: bold;
}

.boxTitle h3, .podcastList li{
    color: #000;
    padding-right:1vw;
}

.boxTitle h3{
    padding-left: 1vw;
}

ul.podcastList.noBulletLi{
    list-style-type: none;
}

p a{
    color: #aad3ff;
}

p a:hover{
    color: #a89bff;
}

/* Nav bar basic styling, just using flex and the fixing to the top of the page*/ 

.navbar {
    display: flex;
    position: fixed;
    width: 97%;
    top: 0;
    left: 0;
    z-index: 1000;
    text-decoration: none;
    overflow: hidden;
    border-bottom: 3px solid black;
    margin: 0px;
    padding: 0px;
    background-color: #555;
}
 
.navMenu{
    display:flex; 
    justify-content:space-around;
    gap: 3px;
    position: fixed;
    width: 100%; 
    top: 0;
    left: 0;
    z-index: 1000;
    text-decoration: none;
    border-bottom: 3px solid black;
    margin: 0px;
    padding: 0px;
    background-color: #555;
}

.nav-item { 
    flex-basis: 16.6%;
    list-style: none;
    font-size: 20px;
    text-align: center;
}

.nav-item a{
    text-decoration: none;
}

.nav-item a h2{
    font-family: "PT Sans", sans-serif;
    color:#999;
    font-size: 1.2em;
    margin-top: 0px;
    margin-bottom: 0px;
    line-height: 1.2 !important;
}

.nav-item.active a h2{
    color:white;
    margin-top: 0px;
    margin-bottom: 0px;
}

.nav-item a h2:hover {
    scale: 1.1; 
}


/* Navigation tabs */

.rounded-tab {
    --r: .8em; /* control the curvature */
  
    border-inline: var(--r) solid #0000;
    border-radius: calc(2*var(--r)) calc(2*var(--r)) 0 0/var(--r);
    mask: radial-gradient(var(--r) at var(--r) 0,#0000 98%,#000 101%) calc(-1*var(--r)) 100%/100% var(--r) repeat-x, conic-gradient(#000 0 0) padding-box;
}
.rounded-tab.left {
    border-left-width: 0;
    border-top-left-radius: var(--r);
}
.rounded-tab.right {
    border-right-width: 0;
    border-top-right-radius: var(--r);
}

.rounded-tab { 
    padding-inline: .5em;
    background: #000 border-box; /* border-box is mandatory */
}

.rounded-tab.active{
    background: #000 border-box; /* border-box is mandatory */
}

/* end of navigation section*/

.box {
    width: 25vw;
    height: 65vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin:0; 
    color: black;
    font-size: 1rem; 
    border-radius: 6px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 
    padding-bottom: 30px;
}

.IntroClap {
    color:white; 
    font-size: 1.3rem; 
    border-bottom: white 3px solid; 
    padding-bottom: 3vw; 
    margin:8vh;
}

.boxTitle { 
    display: flex; 
    flex-direction: row; 
    align-items: center;
    gap: 5px;  
}

.microphone { 
    height: 20px; 
    width:20px; 
}

.box.podcasttwo audio { 
    padding-top: 15vh;
}

body {
    background-color: black !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Added for vertical centering */
    min-height: 100vh; /* Ensures body takes the full viewport height */

    font-family: "PT Sans", sans-serif;
    padding: 0; /* Ensures no unintended padding */
    line-height: 2;
    color: black;
}

.container {
    margin-top: 0; /* Remove or minimize to center vertically */
    display: grid;
    grid-template-columns: repeat(3, 30vw); 
    row-gap: 30px;
    justify-content: center; /* Center grid horizontally */
    align-items: center; /* Align grid items within their cells */
}

.participants{
        width: 80vw;
    }

.italicText{
    font-style: italic;
}

@media (max-width: 1440px){

    .nav-item a h2{
        font-size: 1.2em;
        line-height: 1.2;
    }

    .rounded-tab {
        --r: .3em;
    }

    .container{
        grid-template-columns: 1fr;
    }

    .box{
        width: 50vw;
        padding: 2vw;
        height: auto;
    }

}

@media (max-width: 1440px) and (max-height: 720px){

    .nav-item a h2{
        font-size: 0.8em !important;
        line-height: 1 !important;
    }

}

@media (max-width: 1140px){
    .nav-item a h2{
        font-size: 1em;
        line-height: 1;
    }
}

/*@media (max-width: 1020px){

}*/

@media (max-width: 600px){

    h1{
        margin-top: 22vh;
    }

    .box{
        width: 80vw;
        padding: 2vw;
    }

    .box.podcasttwo audio{
        padding-top: 8vh;
        padding-left:2vw;
        padding-right:2vw;
    }

    .container{
        grid-template-columns: 1fr;
    }

    .IntroClap {
        margin: 4vh 6vw;
    }

    .participants, .participants p{
        width: 76;
    }

    .participants p a{
        word-break:break-all;
    }

    /* navigation styling for mobile on home page */


    .navMenu{
        gap:2px;
        width: 97.2vw;
        flex-direction: column;
        text-align: center;
    }

    .nav-item a h2 {
        font-size: 1em !important;
        line-height: 1.2 !important;
    }

    .rounded-tab, .rounded-tab.right{
        border-left-width: 0;
        border-top-left-radius: 0;
        border-right-width: 0;
        border-top-right-radius: 0;
    }

    .rounded-tab.left{
        border-right-width: 0;
        border-top-right-radius: var(--r);
    }

    .rounded-tab.right{
        border-bottom: 2px solid #555;
    }

    /* end of navigation */

}