*{
    margin: 0;
    padding: 0;

}

html{
    height:100%;
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 

}

@media (max-width: 768px) {
    .intro_text h2 {
        font-size: 36px;
    }
    .intro_text p,
    .conclusion_text p,
    .interact_container p {
        font-size: 18px;
    }
    #timeline button {
        font-size: 12px;
        padding-inline: 15px;
    }
}

body {
    height:100%;
}

/*background*/
.image1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(35px);
    z-index: -1;
}

#flashOverlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('1.png') center/cover no-repeat;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2000;
}


/*indents for paragraphs*/
.indent {
  text-indent: 40px; 
}

.main{
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* header/navigation bar*/
.navbar {
    position: fixed;          
    top: 0;                   
    left: 0;
    width: 100%;              
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px;
    background: #0e0449;
    z-index: 1000;            /* ensures it stays above content */
    box-shadow: 0px 4px 6px #0000004d;
}

/*header on the upper left*/
.logo h1 {
    margin: 0;
    margin-left: 50px;
    color: white;
    font-size: 30px;
    font-family: Arial, Helvetica, sans-serif;
}

/*Navigation bar buttons*/
nav {
    margin-left: 30px;  
    padding-top: 5px;
}

.navbut {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;       
    margin-left: 30px;
}

.navbut a {
    color: white;
    text-decoration: none;
    margin-left: 50px;
    font-weight: lighter;
    font-family: Arial, Helvetica, sans-serif;
}

.navbut a:hover {
    color: #e68405;
    cursor: pointer;
}

/*intro*/
.intro_container {
    width: 80%;
    height: auto;
    margin: auto;
    border-radius: 25px;
    display: flex;
    padding: 20px 5px;
    background-color: white;
    box-sizing: border-box;
    box-shadow: 0px 4px 6px #0000004d;
}

.anal_engine {
    float: right;       
    width: 400px;       
    height: auto;       
    margin-left: 50px;  
    margin-right: 40px;
    margin-bottom: 10px;
    margin-top: 30px;
    border-radius: 8px;
}

.intro{
    width: 100%;
    max-width: 1200px; 
    margin: auto;
}

.intro_text {
    align-items: center;
    text-align: justify;
    padding: 40px 30px; 
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
}

.intro_text h2 {
    font-size: 60px;
    margin-bottom: 20px;
}

.intro_text p {
    font-size: 25px;
}

/*interactive timeline*/
.interact_container {
    width: 80%;
    height: auto;
    margin: auto;
    margin-top: 50px;
    flex: 1;              
    display: flex;
    flex-direction: column;  /* stack children vertically */
    align-items: center;  
    background: white;
    border-radius: 25px;
    padding: 20px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: 0px 4px 6px #0000004d;
}

.interact_container h2 {
    font-size: 40px;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 10px;
}

.interact_container p {
    font-size: 25px;
}

.interact {
    background: #eef3ff;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin: 10px;
    cursor: pointer;
    box-shadow: 0px 4px 6px #0000004d;
}

.info_box {
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f0f0f0; 
    width: 100%;              
    box-sizing: border-box;    
    position: relative;  
    display: block;
}

.info_box div {
    font-size: 25px;
}

#timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 20px auto;
}

#timeline button {
    max-height: 80px;
    padding-inline: 30px;
    border-radius: 10px;
    border: none;
    font-size: 13px;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
}

#timeline button:hover {
    background-color: #45a049;
}

/*conclusion*/
.conclusion_container {
    width: 80%;
    margin: 0 auto;
    margin-top: 50px;
    border-radius: 25px;
    display: flex;
    padding: 20px 5px;
    background-color: white;
    box-sizing: border-box;
    box-shadow: 0px 4px 6px #0000004d;
    position: relative; 
    
}

.conclusion_text {
    align-items: center;
    text-align: justify;
    padding: 20px 30px; 
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    
}

.conclusion_text h2 {
    font-size: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.conclusion_text p {
    font-size: 25px;
}

.references_container {
    width: 80%;
    margin: 0 auto;
    margin-top: 50px;
    border-radius: 25px;
    display: flex;
    padding: 20px 5px;
    background-color: white;
    box-sizing: border-box;
    box-shadow: 0px 4px 6px #0000004d;
    position: relative; 
    font-family: Arial, Helvetica, sans-serif;
    padding: 30px;

}

.references_container h2 {
    font-size: 35px;
    margin-bottom: 20px;
}

.references_container ul {
    list-style: none; /* removes bullets */
    padding-left: 0;
}

.references_container li {
    font-size: 22px;      /* adjust font size */
    line-height: 1.6;     /* spacing between items */
    margin-bottom: 10px;
}

.references_container a {
    text-decoration: none;
    color: #0e0449;       /* link color */
    transition: color 0.3s;
}

.references_container a:hover {
    color: #e68405;       /* hover effect */
}