body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f9f0;
    color: #333;
    display: flex;
    flex-direction: column;
}

#main-content p {
    text-align: justify;
}

.expansion{
    height:90px;
    width:100%;
}
.hero-section {
    background: url('https://static.igem.wiki/teams/5233/hp-integrated/hpt7.png') no-repeat center center/cover;
    color: white;
    padding: 50px 20px;
    text-align: center;
    height:200px;
}

.hero-section h1 {
    color: white;
    font-size: 2.5em;
    margin: 0;
}

.hero-section p {
    color:white ;
    font-size: 1.2em;
    margin-top: 10px;
}


.sidebar {
    width: 40px;
    height: 280px;
    background-color: #2f855a;
    position: fixed;
    top: 30%;
    left: 0;
    transform: translateY(-50%);
    transition: width 0.3s;
    z-index: 1000;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.sidebar:hover {
    width: 200px;
    height: 350px;
}

.sidebar .toggle-btn {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.3s;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    width: 100%;
    text-align: left;
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar:hover .sidebar-links {
    opacity: 1;
}

.sidebar-links li {
    margin: 10px 0;
}

.sidebar-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    display: block;
    transition: background 0.3s;
}

.sidebar-links a:hover {
    background-color: #38a169;
}

#main-content {
    margin-left: 60px;
    padding: 20px;
    flex: 1;
}

#main-content p{
    line-height: 20px;
}
.content-section {
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    color: #2f855a;
    margin-bottom: 15px;
}

.content-section h4{
    text-align: center;
}
.images {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.images figure {
    flex: 1;
    text-align: center;
}

.images img {
    width: 768px ;
    /* Set the desired width */
    height: auto;
    /* Set the desired height */
    object-fit: cover;
    /* Ensures the image covers the box without distortion */
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.images figcaption {
    margin-top: 8px;
    font-size: 0.9em;
    color: #555;
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: #2f855a;
    color: white;
}

.footer p {
    margin: 0;
}

@media (max-width: 600px) {
    .sidebar {
        width: 30px;
    }

    .hero-section h1 {
        font-size: 1.8em;
    }

    .hero-section p {
        font-size: 1em;
    }

    .images {
        flex-direction: column;
    }
}

/*Button style*/
.btn1 {
    width: 120px;
    height: 40px;
    background: linear-gradient(to top, #c7d9cf, #51cf68, #51f131);
    border-radius: 50px;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    left: 50%;top: 50%;
    transform: translate(-50%,-50%);
  }
  .btn1 a{

    color:#111010;
    text-decoration: none;
    font-weight: bolder;
  }
  .btn1 span {
    font-weight: bolder;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: top 0.5s;
  }
  
  .btn1-text-one {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color:#111010;
  }
  
  .btn1-text-two {
    position: absolute;
    width: 100%;
    top: 150%;
    left: 0;
    transform: translateY(-50%);
    color:#fff;
  }
  
  .btn1:hover .btn1-text-one {
    top: -100%;
  }
  
  .btn1:hover .btn1-text-two {
    top: 50%;
  }
  