html {
    background-color: rgb(239, 239, 239);
    font-family: 'comfortaa'
}

body{
    padding-top: 150px;
}

/* * {
    border: 1px black solid;
} */

#headline{
    font-size: 23px;
    text-align: center;
    font-weight: normal;
}
h3{
    font-weight: normal;
}

a:link,
a:visited,
a:active {
    text-decoration: none;
    color: rgb(54, 54, 54);
}
p a:link, p a:visited{
    text-decoration: underline;
    color: #7c7c7c;
}

a:hover, p a:hover {
    color: black;
    transition: 1.0s ease;
}


.grid-container {
    max-width: 1200px;
    margin: 20px auto;
    column-count: 4;
    column-gap: 40px;
    
}

.grid-container-projects {
    max-width: 1300px;
    margin: 20px auto;
    column-count: 3;
    column-gap: 30px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    row-gap: 10px;
    position: relative;
    animation: loadUp 0.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
.grid-container-projects h3{
    width: 100%;
    text-align: center;
    font-size: 25px;
    color: #414141;
}

.grid-container .card {
    width: 100%;
    break-inside: avoid;
    padding-bottom: 6px;
}

.grid-container .card .img {
    max-width: 100%;
}

.card {
    display: flex;
    flex-flow: column nowrap;
    max-height: 700px;
    align-items: center;
    justify-content: center;
}

.cardWithCaption {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    min-width: 100px;
    align-items: center;
    justify-items: center;
    overflow: hidden;
    max-width: 350px;
}

.cardWithCaption span {
    opacity: 0;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-end;
    position: absolute;
    bottom: 1px;
    left: 0px;
    background: rgb(2, 0, 42);
    background: linear-gradient(0deg, rgb(9, 7, 19) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 2;
    transition: 0.5s ease;
    height: 100%;
    width: 100%;
    color: white;
}

.cardWithCaption span h4, .cardWithCaption span p, .cardWithCaption span h6 {
    padding-left: 10px;
    margin: 0px;

}
.cardWithCaption span h4{
    font-size: 25px;
    padding-bottom: 5px;
}

.cardWithCaption span h6{
    padding-bottom: 5px;
    font-size: 11px;
    opacity: 70%;
    font-style: italic;
}
.cardWithCaption span p{
    padding-bottom: 15px;
}

p{
    padding: 0px;
}

.cardWithCaption:hover span {
    opacity: 1;
    /* transition: 0.5s ease; */
    animation: loadUp 0.3s;
    animation-iteration-count: 1;
    /* animation-delay: 1s; */
    animation-fill-mode: forwards;
}

#landing{
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    padding-bottom: 32px;
    line-height: 45px;
    color:#414141;
    height: 390px;
    position: relative;
    animation: loadUp 0.6s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    
}
#landing img{
    /* -webkit-filter: drop-shadow(5px 5px 2px #414141);
    filter: drop-shadow(5px 5px 2px #414141); */
}

#landing img:hover{
    scale: 1.025;
    -webkit-filter: drop-shadow(5px 5px 2px #414141);
    filter: drop-shadow(5px 5px 2px #414141);
    transition: 0.4s ease;
}

#self-portrait{
    width: 315px;
}

#self-portrait img {
    width: 90%;
    margin: auto;
}


.card img,
.cardWithCaption img {
    /* max-width: 260px;
    max-height: 325px; */
    border-radius: 2px;
    justify-self: center;
    align-self: center;
    box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.123);
}
.card img{
    opacity: 85%;
    transition: opacity 0.2s;
}

a img {
    max-width: 300px;
}

.cardWithCaption img {
    max-width: 350px;
}

.card img:hover{
    opacity: 100%;

}

.page-content {
    margin: 0 auto;
}

/* 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;
    width: 100%;
    padding: 10px 0px;
    text-align: left;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    background-color: rgba(239, 239, 239, 1);
    z-index: 200;
}

#icon img {
    max-width: 139px;
    padding: 20px 20px 0px 20px;
}

#sidebar h1,
#sidebar h1 a {
    font-size: 57px;
    letter-spacing: 3px;
    max-width: 84%;
    margin: 10px;
    padding: 0px;
    text-align: center;
}

.navbar {
    overflow: hidden;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    max-width: 90%;
}

.navbar a {
    font-size: 15px;
    display: block;
    color: rgb(90, 90, 90);
    text-align: center;
    padding: 16px 30px;
    text-decoration: none;
}

.navbar a:hover,
.dropdown:hover .dropbtn {
    color: rgb(205, 73, 161);
    transition: 0.2s ease;
}

#bottom .navbar a{
    font-size: 14px;
    display: block;
    color: rgb(158, 158, 158);
    padding: 2px 10px;
    text-decoration: underline;
}


.dropdown {
    overflow: hidden;
}

.dropdown .dropbtn {
    display: block;
    font-size: 16px;
    padding: 16px 30px;
    border: none;
    outline: none;
    color: rgb(90, 90, 90);
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}



.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgb(239, 239, 239);
    width: 190px;
    z-index: 201;
}

.dropdown-content a {
    color: black;
    padding: 12px;
    padding-left: 20px;
    text-decoration: none;
    display: block;
    text-align: left;
    min-width: 160px;
}

.dropdown-content a:hover {
    text-decoration: underline;
}

.dropdown:hover .dropdown-content {
    display: block;
}

#bottom {
    width: 100%;
    text-align: center;
    color: rgb(104, 104, 104);
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    background-color: rgba(239, 239, 239, 1);
    padding-top: 10px;
}

#bottom-icons {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    width: 50px;
    font-size: 12px;
}

#bottom h4 {
    font-size: 10px;
    font-size: 12px;
}

.project-name {
    font-size: 50px;
    text-align: center;
    text-decoration: solid underline;
    margin-bottom: 20px;
    font-family: radio;
    text-shadow: #4d4d4d9e 0px 1px 3px;
}

.about-container, .project-container {
    display: flex;
    flex-flow: row nowrap;
    text-align: left;
    align-items: center;
    align-self: center;
    justify-content: center;
    overflow: hidden;
    max-height: 500px;
}
.about-container{
    line-height: 25px;
    gap: 30px;
    height: 420px;
}
.project-container{
    height: 65vh;
    line-height: 25px;
    margin: auto;
}
.about-container img{
    width: 230px;
    display: flex;
    justify-content: center;
    z-index: 2;
    position: relative;
    animation: goLeft 0.6s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    -webkit-filter: drop-shadow(5px 5px 2px #707070);
    filter: drop-shadow(5px 5px 2px #707070);
    transition: 0.4s ease;
}
.project-container .left{
    width: 50vw;
    display: flex;
    justify-content: center;
    z-index: 2;
    position: relative;
    animation: goLeft 0.6s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    transition: 0.4s ease;
    /* overflow: hidden; */
    height: 60vh;

    
}
.project-container .left .left-images{
    display: flex;
    gap: 30px;
    flex-flow: column;
    align-items: center;
    /* justify-content: center; */
    min-height: 0;
    flex-grow: 1;
    overflow-y: auto;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}
.project-container .left .left-images::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}
.project-container .left img{
    max-width: 650px;
}

.about-container img:hover {
    scale: 1.025;
    /* -webkit-filter: drop-shadow(5px 5px 2px #414141);
    filter: drop-shadow(5px 5px 2px #414141); */
    transition: 0.4s ease;
}

.about-container p, .project-container .right {
    max-width: 50vw;
    font-size: 18px;
    z-index: 1;
    position: relative;
    animation: goRight 0.6s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
.project-container .right{
    max-width: 45vw;
    font-size: 16px;
}
.skills{
    display: flex;
    flex-flow: row wrap;
    text-align: center;
}
.skill-item{
    color: white;
    background-color: #b65e93;
    padding: 4px;
    margin: 3px;
    border-radius: 3px;
    font-size: 15px;
}

.about-container a, .project-container a {
    color: rgb(90, 90, 90);
    text-decoration: underline;
}

.about-container a:hover, .project-container a:hover {
    color: black;
    transition: 1.0s ease;
}
iframe {
    aspect-ratio: 16 / 9;
    height: auto;
    width: 95%;
    -webkit-filter: drop-shadow(5px 5px 2px #707070);
    filter: drop-shadow(5px 5px 2px #707070);
}

h3 {
    margin: 12px;
}

.terms-container {
    font-size: 17px;
    margin: 30px auto;
    display: flex;
    flex-flow: column nowrap;
    justify-items: center;
    max-width: 90vw;
    height: 100%;
    overflow: hidden;
    animation: loadUp 0.6s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    position: relative;
}

.terms-container p {
    max-width: 700px;
    margin: 15px auto;
    padding: 0 50px;
    line-height: 23px;

}

.terms-container h3,
h2 {
    margin: 12px;
    text-align: center;
    text-decoration: underline;
}

#fullbody-about img {
    max-height: 90vh;
}

#bottom-icons,
#bottom a:link,
#bottom a:focus,
#bottom a:visited,
#bottom a:hover,
#bottom a:active {
    text-decoration: underline;
    color: #7c7c7c;
}

h1,
h1 a {
    font-family: 'radio'

}

@font-face {
    font-family: "precious";
    src: url('media/fonts/Precious.ttf');
}

@font-face {
    font-family: jost;
    src: url('media/fonts/jost.book.ttf');
}

@font-face {
    font-family: comfortaa;
    src: url('media/fonts/Comfortaa-Regular.ttf');
}

@font-face {
    font-family: radio;
    src: url(media/fonts/radioranch.regular.ttf);
}

@keyframes goLeft {
    from {
        left: 200px;
    }

    to {
        left: 0px;
    }
}

@keyframes goRight {
    from {
        opacity: 0;
        right: 200px;
    }

    to {
        opacity: 1;
        right: 0px;
    }
}
@keyframes loadUp{
    from {opacity: 0;
        bottom: -20px;}
        to {opacity: 1;
        bottom: 0px;}
}

@media (width <= 1200px) {
    .grid-container {
        max-width: 1100px;
        margin: 20px auto;
        column-count: 3;
        column-gap: 20px;
        
    }
    .about-container, .project-container {
        overflow: scroll;
        padding-top: 50px;
    }
    
  }

  @media (width <= 900px) {
    .grid-container {
        margin: 20px auto;
        column-count: 2;
        column-gap: 20px;
        
    }
    .navbar a{
        padding: 5px;
    }
    
  }

@media (width <= 680px) {
    #sidebar h1, #sidebar h1 a{
        font-size: 30px;
        letter-spacing: 3px;
        max-width: 84%;
        margin: 10px;
        padding: 0px;
        text-align: center;
    }
    .about-container, .project-container {
        display: flex;
        flex-flow: column nowrap;
        text-align: left;
        align-items: center;
        align-self: center;
        justify-content: center;
    }
    .about-container p, .project-container .right {
        max-width: 75vw;
        font-size: 14px;
        z-index: 1;
        position: relative;
        animation: goRight 0.6s;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
        overflow: scroll;
    }
    .grid-container {
        max-width: 680px;
        margin: 20px auto;
        column-count: 1;
        column-gap: 40px;
    }
    .project-container .left, .project-container img{
        display: none;
    }
    .about-container img {
        display: none;
    }
    body{
        padding-top: 50px;
    }
    .about-container{
        line-height: 20px;
        padding-top: 75px;
    }
    .project-name{
        padding-top: 65px;
    }
    #landing{
        padding-top: 30px;
    }
    #landing #self-portrait{
        display: none;
    }
    
  }
  