html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Abel', sans-serif;
}

.part{
    height: 100%;
    width: 100%;
}

#top{
    background-color: #00adb5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#second{
    width: 100%;
    background-color: #eeeeee;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#main-title{
    color: white;
    font-size: 3.5rem;
    text-align: center;
}

.subtitle{
    color: white;
    font-size: 2rem;
    text-align: center;
}

#card-wrapper{
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 1rem;

}

.card{
    height: 370px;
    width: 550px;
    margin: 25px;
    background-repeat:no-repeat;
    background-position: center top;
    border-radius: 7px;
    position: relative;
    overflow: hidden;
    color: #eeeeee;
}

.card-preview{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-content{
    opacity: 0;
    transition: opacity 0.5s;
    background-color: rgba(57, 62, 70, 0.75);
    height: 100%;
    width: 100%;    
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 1rem;
    box-sizing: border-box;
}

.card:hover > .card-content {
    opacity: 1;
}

.card:hover > .card-preview { display: none; }

.card-title{
    text-align: center;
    font-size: 3rem;
    display: none;
}

.card-content-title{
    font-size: 2.5rem;
    color: #eeeeee;
    text-decoration: none;
}

.card-content-description{
    font-size: 1.1rem;
}

#tv-chart{
    background-image: url(images/tv_chart_preview.png);
}

#lynk{
    background-image: url(images/lynk_preview.png);
}

#moodify{
    background-image: url(images/moodify_preview.png);
}

#taxipool{
    background-image: url(images/taxipool_preview.png);
    background-size: auto 370px;
    background-color: #d0cdb6;
}

#projects-title{
 color: #393e46;
 font-size: 2rem;
 text-align: center;
 margin-top: 30px;
}

#icons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon{
    height: 2rem;
    width: 2rem;
    margin: 10px;   
}

.small-icon{
    height: 1.5rem;
    width: 1.5rem;
    margin-right: 5px; 
}

#mail-icon {
    height: 2.1rem;
    width: 2.1rem;
}

#down-arrow{
    height: 3rem;
    width: 3rem;
    position: relative;
    margin-top: auto;
    animation-name: example;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    cursor: pointer;
}

.invisible{
    visibility: hidden;
    margin-bottom: auto;
}

@keyframes example {
    0% {top: 0px;}
    100% {top: -10px;}
}

.tech-icons{
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.dark{
    color: #393e46;
}

.light{
    color: #eeeeee;
}

.buttons{
    display: table;
    margin: 0 auto;
    position: absolute;
    bottom: 1rem;
}

.button{
    color: #eeeeee;
    text-decoration: none;
    border: solid 1px #eeeeee;
    border-radius: 10px;
    padding: 5px;
    font-size: bold;
    cursor: pointer;
    font-size: 1.2rem;
    box-sizing: border-box;
    display: inline-block;
    margin: 7px;
}

.very-small-icon{
    height: 1.2rem;
    width: 1.2rem;
}

.button:hover{
    background-color: #eeeeee;  
    color: #393e46;
}

#mongo-icon{
    margin-right: 0px;
}

#moodify-preview-title{
    position: absolute;
    top: 5px;
    left: 5px;
}

#footer{
    height: 3rem;
    background-color: #222831;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#footnote{
    color: #eeeeee;
    font-size: .75rem;
    margin-left: 1rem;
}

@media (max-width: 400px) {
    .card {
      height: 450px;
    }
    .button{
        font-size: 1rem;
    }
    #tv-chart{
        background-image: url(images/tv_chart_portrait.png);
    }
    #lynk{
        background-image: url(images/lynk_portrait.png);
    }
    #moodify{
        background-image: url(images/moodify_portrait.png);
    }
    #taxipool{
        background-size: cover;
    }
  }

  #about{
      background-color: #393e46;
      color: #eeeeee;
      padding: 1rem;
  }

  #about-title{
      font-size: 2rem;
      margin-bottom: 1rem;
  }

  #about-text{
      font-size: 1.1rem;
  }