html, body {
    font-family: "Courier", sans-serif;
    line-height: 1.6em;
}

* {
    font-family: "Courier";
    scroll-padding-top: 80px;
}
html {
    scroll-behavior: smooth;
}

button.close {
    position: absolute;
    right: 0;
    z-index: 2;
    padding-right: 10px;
    padding-top: 10px;
}

@media screen and (max-width: 768px) {
    #about {
        padding: 20px 20px;
    }

    #skills {
        margin: 20px 0;
    }

    #projects {
        padding: 20px 0;
    }

    #footer {
        padding: 40px 0;
    }

    #navbar .container {
        width: 100%;
    }
    
    #navbar .container {
        width: 100%;
        text-align: center;
    }

    #skills .progress {
        height: 1rem;
    }

    #footer {
        padding: 20px 0;
    }
}
  
a:link, a:visited, a:active, a:hover {
    color: #fff;
    text-decoration: none;
}

/* .TEXT */
.text-1 {
    color: #F2B5D4;
}

.text-2 {
    color: #F2B5D4;
    text-align: center;
}

p {
    font-size: 16px;
    color: #F2B5D4;
}

/* .BG */
.bg-primary {
    background: #fff;
    color: #F7D6E0;
}

/* .BTN*/
.btn {
    background: #F7D6E0;
    color: #fff;
    border-radius: 5px;
    border: none;
    text-decoration: none;
    width: 100%;
    display: inline-block;
}

.btn-footer {
    background: #F7D6E0;
    color: #fff;
    border-radius: 5px;
    border: none;
    text-decoration: none;
    margin-top: 5px;
}

.btn-green {
    width: 140px;
    height: 50px;
    background: #F7D6E0;
    color: #fff;
    border-radius: 5px;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.container {
    margin: auto;
    max-width: 1100px;
    padding: 0px;
    overflow: auto;
}


.navbar{
    color: #fff;
    background-color: #F7D6E0;
    padding: 15px;
}

.nav-link:hover{
    background: #F5DFE6;
    border-radius: 5px;
    text-decoration: none;
    color: #fff !important;
}

.navbar ul li a{
    color: #fff;
    padding: 0.75rem;
    margin: 0 0.25rem;
}

.toggler{
    padding-right: 30px;
    border: none;
}

#home {
    margin-top: 56px;
}

/* SHOWCASE */


/* ABOUT ME */
#about{
    text-align: left;
    justify-content: left;
}
#about h2 {
    color: #FD7AB5;
    justify-content: left;
    text-align: left;
}

#about p {
    color: #FD7AB5;
    font-size: 20px;
}

@media (max-width: 768px) {
    img {
        width: 300px;
        }
}

/* SKILLS*/
img {
  height: auto;
  max-width: 100%;
  align-items: center;
}

.gallery {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.gallery__item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
    height: 150px;
    width: 150px;
    background-color: #F7D6E0;
    border-radius: 5px;
}

@media(max-width: 400px) {
    .gallery__item{
        height: 40%;
        width: 40%;
    }
  }
  
@media(min-width: 400px) {
    .gallery__item{
        width: 20%;
    }
  }

.item {
    border-radius: 5px;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery__image {
    margin: 10px;
    overflow: hidden;
    width: 100px;
    height: 100px;
}

@media (max-width: 767px) {
  .gallery__image {
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

#skills p {
    font-size: 16px;
    color: #FD7AB5;
    text-align: center;
}

#skills {
    margin: 40px;
}

#skills h2 {
    color: #FD7AB5;
    text-align: center;
}

#skills .progress {
    height: 1.5rem;
}

/* PROJECTS */
#projects{
    margin: 40px;
}
#projects h2 {
    text-align: center;
    color:#FD7AB5;
    padding-bottom: 10px;
}

img {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cards__item {
  display: flex;
  padding: 1rem;
}

@media(min-width: 40rem) {
    .cards__item{
        width: 50%;
    }
  }
  
@media(min-width: 56rem) {
    .cards__item{
        width: 33%;
    }
  }

.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;
  overflow: hidden;
  position: relative;
  
}

@media (max-width: 767px) {
    .card__image {
        background-position: center;
        background-size: cover;
        justify-content: center;
        align-items: center;
        max-height: 200px;
    }
}

@media (max-width: 767px) {
    .card__content {
        display: flex;
            flex: 1 1 auto;
            flex-direction: column;
            padding: 1rem;
    }
}

.card__title {
  color: #FD7AB5;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
}

.card__text {
  color: #FD7AB5;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* FOOTER */
#footer {
    text-align: center;
    background: #F7D6E0;
    color:#fff;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
}

#footer p{
    color: #fff;
    padding-top: 2px;
}

#footer a {
    background: #F7D6E0;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
}

#footer a:hover {
    background: #F7D6E0;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
}