body{
    margin-left: 5%;
    margin-right: 5%;
    font-family: Helvetica, sans-serif;
    //max-width: 1500px;
}

a{
    text-decoration: none;
}

#Overview{
    box-shadow:none;
    width: 100%;
    padding-top: 40px;
    padding-left: 0;
}

#VisitedTalks{
    box-shadow:none;
    width: 100%;
    padding-top: 40px;
    padding-left: 0;
}

#VisitedTalks .Conferences{
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    margin-top: 5%;
    padding-top:20px;
    padding-bottom: 20px;
    padding-left: 20px;
}
.NavBar{
    background-color:  rgb(25, 59, 95);
    position: fixed;
    width:100%;
    top: -20px;
    left:0px;
    padding-top: 20px;
    font-size: 2em;
    z-index: 4;
}

.NavBar a{
    color: rgb(255, 255, 255);
    padding: 20px;

}
.NavBar a:hover{
    background-color:  rgb(23, 106, 158);
}

#Overview .IntroBox{
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    display:flex;
    flex-wrap:wrap;
    margin-top: 5%;
    padding-top:20px;
    padding-bottom: 20px
}

body > div{
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    margin-top: 20px;
    padding: 5px 20px 20px;    
}



.Namebox{
    /*border:5px solid red;*/
    min-width:150px;
    text-align: center;
    margin:auto;
    /*width: 40%;*/
    /*margin-right:5%;*/
}

.Namebox>img{
    width: 190px;
    height: 190px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover; 
    object-position: bottom;
}

.Namebox >h1{
    color: black;
    width:100%;
}
.Namebox >h2{
    color: rgb(23, 106, 158);
    width:100%;
}
.Namebox >h3>a{
    color: rgb(23, 106, 158);
}

.Icons {
    width:100%
}

.Icons > li{
    float:left;
    margin-right: 20px;
    list-style-type: none;
    padding-left: 10%;
}

.Icons > li > a> img{
    width : 200%;
}

.CVIcon{
    background-color: gray;
    border-radius : 20%;
    font-size:1.5em;
    color: white;
    
}

.Biography{
    /*border:5px solid red;*/
    width:50%;
    min-width: 500px;
    text-align: left;
    overflow-wrap: break-word;
    margin-left: 5%;
    margin-right:5%;

}

.Interests{
    float:left;
}


div.Interests{
    color: rgb(35, 30, 25);
}


.PublicationList > li{
    font-size: 1.5em;
}

.PublicationList > li > a{
    color: rgb(25, 59, 95);
}
.PublicationList > li > .Authors{
    font-size:0.7em;
    color: rgb(0, 0, 0);
}
.PublicationList > li > .Cite{
    font-size:0.5em;
    color: rgb(0, 0, 0);
}


.citeBackground{
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 150px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(200, 200, 200); /* Fallback color */
    background-color: rgba(144, 218, 243, 0.5); /* Fallback color */
}

.citeField{
    background-color:white;
    position: relative; /* Stay in place */
    z-index: 2; /* Sit on top */
    padding: 5%;
    left: 30%;
    min-width: 250px;
    width: 30%; /* Full width */
    height: 250px; /* Full height */
}

.citeButton{
    border-radius:5px;
}
.citeButton:hover{
    background-color: black;
    color:white;
    cursor:pointer;
}

.citeText{
    background-color:rgb(246, 246, 246);
    display: none; /* Hidden by default */
    position: relative; /* Stay in place */
    overflow: auto; /* Enable scroll if needed */
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.6em;
}

.copyButton{
    position: absolute;
    bottom:5%;
    background-color: rgb(23, 106, 158);
    color:white;
    margin-top:auto;
    border-radius:5px;
}

.Timeline{
    border:20px;
}

.Timeline{
    list-style-type: none;
    font-size: 1.5em;
    margin-left: 30px;
    border-left: 3px solid rgb(23, 106, 158)
}


.Timeline>li{
    margin-bottom: 1em;
    position: relative;

}
.Timeline>li::before {
      content: '';
      background: rgb(23, 106, 158);
      position: absolute;
      left: -49px;
      width: 15px;
      height: 15px;
      border-radius: 12px;
      top: 9px;

}

.Timeline>li>.eventTitle{
    color:black;
}
.Timeline>li>.EventInfo{
    color:gray;
    font-size:0.9em;
}
.Timeline>li>.EventResources{
    font-size:0.5em;
}
/* Footer */
footer {
    width: 100%;
    margin: 0;
    padding: 20px 0;
    background-color: rgb(25, 59, 95);
    color: white;
    text-align: center;
    position: relative;
    left: 0;
}
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .navbar a {
        font-size: 1em;
    }
}