.grid-container, .grid-container-projects{
    margin: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    /* grid-auto-rows: 20px; */
    text-align: center;
    justify-items: center;
    /* gap: 50px; */
    width: 83vw;
    padding-left: 180px;
    overflow: hidden;
}
.grid-container-projects{
    row-gap: 30px;
    column-gap: 80px;
}
.card{
    display: flex;
    flex-flow: column nowrap;
    max-width: 270px;
    max-height: 700px;
    align-items: center;
    justify-content: center;
}
.cardWithCaption{
    display: flex;
    flex-flow: column nowrap;
    max-width: 400px;
    max-height: 700px;
    align-items: center;
    justify-items: center;
    margin: 0px 40px;
}
.card img, .cardWithCaption img{
    max-width: 260px;
    max-height: 325px;
    border-radius: 4px;
    justify-self: center;
    align-self: center;
    margin: 20px 0px;
    padding: auto;
    box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.123);
    transition: transform 500ms;
    opacity: 80%;  
}
.cardWithCaption img{
    max-width: 300px;
}
.card img:hover, .cardWithCaption img:hover{
    opacity: 100%;
    transform: scale(1.1);
}
.scrolling-wrapper2 .card{
    background-color: rgb(68, 54, 134);
}

/* Dropdown Button */
.dropbtn {
    background-color: rgba(0,0,0,0);
    color: rgb(0, 0, 0);
    font-size: 15px;
    margin: 12px 0px;
    border: none;
    cursor: pointer;
    text-align: center;
    align-content: center;
    font-family: 'Times New Roman';
}
/* Dropdown button on hover & focus */
.dropbtn:hover {
color: rgb(133, 160, 170)
}
  
/* The container <div> - needed to position the dropdown content */
.dropdown {
position: relative;
display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
display: none;
min-width: 8px;
z-index: 1;
text-align: center;
padding-left: 10px;
}
/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 8px 16px;
    text-decoration: none;
    display: block;  
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {color: rgb(192, 149, 188)}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;
    text-align: left;
}
#sidebar{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 180px;
    text-align: left;
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-content: center;
    box-shadow: 3px 0px 10px rgba(0, 0, 0, 0.507);
    background-color: white;
}
#icon img{
    max-width: 139px;
    padding: 20px 20px 0px 20px;
}
#sidebar h1{
    padding-left: 20px;
    font-size: 20px;
}
#menuItems{
    display: flex;
    flex-flow: column nowrap;
    padding-left: 20px;
    justify-content: space-between;
    text-align: left;
    font-size: 14px;
}
#bottom{
    top: 92vh;
    position: fixed;
    left: 20px;
    color: rgb(104, 104, 104);
}
#bottom-icons{
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    width: 50px;
    font-size: 12px;
}
#bottom h6{
    margin-top: 8px;
    font-size: 10px;
}
.about-container{
    font-size: 17px;
    margin: 0 auto;
    padding-left: 209px;
    display: flex;
    flex-flow: row nowrap;
    text-align: center;
    max-width: 60vw;
    justify-content: space-around;
    height: 100%;
    overflow: hidden;
}
.about-container p{
    max-width: 500px;
    margin: auto;
    display: block;
    font-size: 23px;
}
h3{
    margin: 12px;
}
.terms-container{
    font-size: 17px;
    margin: 30px auto;
    display: flex;
    flex-flow: column nowrap;
    text-align: justify;
    justify-items: center;
    max-width: 75vw;
    height: 100%;
    padding-left: 230px;
    overflow: hidden;
}
.terms-container p{
    max-width: 600px;
    margin: 15px auto;
    padding: 0 50px;

}
.terms-container h3, h2{
    margin: 12px;
    text-align: center;
}
#fullbody-about img{
    max-height: 90vh;
}
#bottom-icons, #bottom a:link, #bottom a:focus, #bottom a:visited, #bottom a:hover, #bottom a:active{
    color: rgb(104, 104, 104);
}
h1{
    font-family: 'Abril Fatface', cursive;
}
@media (max-width: 700px) {
    #sidebar{
        width: 100%;
        height: 20%;
        position: fixed;
        top: 0px;
        left: 0px;
        text-align: center;
        display: flex;
        flex-flow: row nowrap;
        align-content: center;
        box-shadow: 3px 0px 10px rgba(0, 0, 0, 0.507);
        background-color: white;
        z-index: 100;
    }
    #sidebar h1{
        max-width: 0%;
        max-height: 0%;
        color: white;
    }
    #menuItems{
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        text-align: left;
        font-size: 14px;
        padding: 0px;
    }
    .dropdown-content {
        min-width: 8px;
        z-index: 1;
        text-align: left;
    }
    .show{
        padding-top: 5px;
        padding-left: 0px;
        max-width: 100px;
        padding-right: 5px;
    }
    .dropdown-content a{
        padding: 1px;
    }
    #bottom{
        left: 80vw;
        top: 10%;
        position: fixed;
        color: rgb(104, 104, 104);
        padding-right: 1vw;
        text-align: right;
    }
    #bottom-icons{
        width: auto;
        justify-content: space-evenly;
    }
    #sidebar button{
        margin: 0;
        padding-top: 10px
    }
    #icon img{
        width: 90px;
        margin: 0 auto;
    }
    #sidebar h1{
        font-size: 17px;
        padding: 0;
    }
    .grid-container, .about-container, .terms-container, .grid-container-projects{
        padding-left: 0px;
        padding-top: 20%;
    }
    .terms-container{
        text-align: center;
    }
    .cardWithCaption{
        max-width: 200px;
    }
    .cardWithCaption img{
        max-width: 250px;
    }
    .about-container{
        left: 0px;
        margin: 0 auto;
        position: relative;
        display: flex;
        font-size: 10px;
    }

}

