body{
    margin: 0;
    padding: 0;
    font-family: "Courier";
    scroll-padding-top: 80px;
    background-color: #F7FFDD;
    color: #001011;
}
html {
    scroll-behavior: smooth;
}

section{
    padding-top: 80px;
}

/*nav*/
nav{
    width: 100%;
    height: 80px;
    background-color: #DAD4EF;
    color: #001011;
    padding: 20px;
}
nav .logo{
    padding: 20px;
    height: 80px;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}
nav .collapse{
    margin: 20px;
    background-color: #DAD4EF;
    display: flex;
}
nav .navbar-nav{
    list-style: none;
    display: flex;
}
nav .navbutton{
    margin: 20px;
}
nav a{
    color: #fff;
    text-decoration: none;
    padding: 20px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}
nav a:hover{
    background: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}
nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
nav ul li a{
    color: #fff;
    text-decoration: none;
    padding: 20px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}
nav ul li a:hover{
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
}

#demo {
  font-size: 2rem;
  color: #333;
  white-space: nowrap;
  display: inline-block;
  overflow: hidden;
  width: 500px;
  height: 2rem;
  line-height: 20px;
  padding-right: 20px; 
}

/*about me*/
#aboutme h1{
    margin-top: 100px;
    text-transform: uppercase;
}
#aboutme button{
    width: 120px;
    height: 30px;
    font-size: 12px;
    border-radius: 5px;
    margin: 30px;
    color: #001011;
    box-shadow: none;
    border: 1px solid #001011;
    background: transparent;
    text-transform: uppercase;
    z-index: 1;
}
#aboutme button:hover{
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

/*skills*/
#skills {
    background-color: #DAD4EF;
}

/*projects*/
#projects{
    margin: 40px;
}
#projects h2 {
    text-align: center;
    color:#FD7AB5;
    padding-bottom: 10px;
}

#projects img {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

#projects button {
    background: #DAD4EF;
    color: #fff;
    border-radius: 5px;
    border: none;
    text-decoration: none;
    width: 100%;
    height: 40px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cards__item {
  display: flex;
  padding: 1rem;
}

.card {
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1rem;
}

.card__image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 180px;
  overflow: hidden;
  position: relative;
  
}

.card__title {
  color: #001011;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
}

.card__text {
  color: #001011;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
    .card__image {
        background-position: center;
        background-size: cover;
        justify-content: center;
        align-items: center;
        max-height: 200px;
    }
    .card__content {
        display: flex;
            flex: 1 1 auto;
            flex-direction: column;
            padding: 1rem;
    }
}

@media(min-width: 896px) {
    .cards__item{
        width: 33%;
    }
  }

@media(min-width: 640px) {
    .cards__item{
        width: 50%;
    }
}

@media screen and (max-width: 768px) {
    #aboutme {
        padding: 20px;
        width: 100%;
    }
    
}