/* styles.css */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: white;
}

nav {
    color: white;
    padding: 15px;
    text-align: center;
}

nav h1 {
    margin: 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav a {
    color: white;
    text-decoration: none;
}

header {
    margin-top: 20px;
    margin-left: 80px;
    margin-right: 60px;
}

h2 {
    font-size: 2.5em;
    margin: 0;
}

.project-center-title{
    padding-top: 20px;
}

main {
    padding: 20px;
    margin-left: 60px;
    margin-right: 60px;
}

.snapshot{
    max-width: 90%;
    border: 3px solid rgb(167, 166, 166);
    margin-bottom: 20px;
}

.caption{
    font-style: italic;
    color: black;
    font-size: 18px;
    padding-bottom: 10px;
}

 /* ///////////////////////////////////////////// */

 

#toc {
    position: fixed;
    top: 20px;
    right: -250px; 
    width: 120px;
    background-color: #f9f9f9;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    transition: right 0.3s ease;
  }
  
  #toc.open {
    right: 10px; 
  }
  
  #toc ul {
    list-style: none;
    padding: 0;
  }
  
  #toc li {
    margin-bottom: 10px;
  }
  
  #toc a {
    text-decoration: none;
  }
  
  #toc-button {
    font-size: 18px;
    font-weight: 700;
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: transparent;
    border-radius: 10px;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1000;
  }
  

 /* ///////////////////////////////////////////// */

.desc-box{
    padding-left: 10px;
    font-style: italic;
    font-size: 17px;
    margin-bottom: 25px;
}

h3 {
    font-size: 28px;
    margin-bottom: 0px;
    scroll-margin-top: 28px;
}

ul{
    margin-top: 10px;
    margin-left: 0px;
    padding-left: 20px;
    line-height: 30px;
}

.sneak-desc{
    margin-bottom: 25px;
    max-width: 90%;
    padding-left: 10px;
}

.bookmark {
    margin-top: 12px;
    display: inline-block;
    text-decoration: none;
    padding: 10px;
    font-size: 24px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
}

.bookmark-container {
    display: flex;
    align-items: center;
    padding-right: 10px;
}

.bookmark img {
    width: 70px;
    height: 70px;
    margin-right: 10px;
}

iframe {
    padding-bottom: 16px;
}

.canva {
    position: relative;
    width: 90%; 
    height: 0;
    padding-top: 50.625%; 
    padding-bottom: 0;
    box-shadow: 0 2px 8px 0 rgba(63,69,81,0.16);
    margin-top: 1.6em;
    margin-bottom: 0.9em;
    overflow: hidden;
    border-radius: 8px;
    will-change: transform;
}

.canva-iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: none;
    padding: 0;
    margin: 0;
}

.prototype {
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 800px;
    height: 450px;
    margin-top: 10px;
}


footer {
    text-align: center;
    padding: 20px;
    color: white;
}

@media (max-width: 768px) {
    header{
        padding-left: 20px;
        margin-left: 10px;
        margin-right: 10px;
        text-align: left;
    }

    main{
        margin-left: 10px;
        margin-right: 10px;
    }
    #toc-button{
        top: 16px;
        right: 16px;
    }
    .bookmark{
        font-size: 18px;
        line-height: 24px;
    }
    .bookmark img{
        width: 60px;
        height: 60px;
    }
}