:root {
  --primary-color: #7effdb;
  --secondary-color: #b693fe;
  --third-color: #8c82fc;
  --accent-color: #ff9de2;
  --neutral-color: blanchedalmond;
  --font-color: hsl(251, 33%, 19%);
  --default-font-family: "Poppins", sans-serif;
  --name-font-family: "Caveat", cursive;
  --background-gradient: linear-gradient(to top, #b693fe 0%, #7effdb 100%);
}
/*https://palettes.shecodes.io/palettes/1396*/

body {
  color: var(--font-color);
  font-family: var(--default-font-family);
  color: var(--font-color);
  background: var(--background-gradient);
  font-weight: 500;
  font-size: 18px;
}

a {
  color: var(--font-color);
  text-decoration: none;
  transition: all 150ms ease-in-out;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 600;
}

a:hover {
  color: var(--neutral-color);
}

nav {
  background-color: #fff;
}

nav a {
  margin-right: 20px;
}

.navbar-brand {
  margin-right: 80px;
  font-family: var(--name-font-family);
  font-size: 30px;
  font-weight: 700;
  color: var(--third-color);
}

.nav-link:hover {
  color: var(--accent-color);
}

.hero {
  text-align: center;
  padding: 120px 20px 0px;
}

.hero h2 {
  font-size: 55px;
}

.hero h3 {
  font-size: 36px;
  line-height: 1.5;
}

.hero h4 {
  font-size: 24px;
  line-height: 1.5;
}

#name {
  color: var(--third-color);
  font-family: var(--name-font-family);
  font-size: 90px;
  line-height: 1.5;
}

.content-container {
  padding-top: 80px;
}

.content {
  padding: 60px 30px;
}

.content h1 {
  font-size: 52px;
  line-height: 1.5;
}

.content h2 {
  font-size: 38px;
  line-height: 1.5;
}

.content h3 {
  font-size: 24px;
  line-height: 1.5;
}

.content p,
a {
  font-size: 18px;
}

.content-img {
  max-width: 80%;
  margin-bottom: 40px;
}

.btn-branding {
  font-size: 18px;
  line-height: 27px;
  padding: 18px 46px;
  background: var(--neutral-color);
  border-radius: 4px;
  text-decoration: none;
  color: var(--font-color);
}

.btn-branding:hover {
  background: var(--accent-color);
}

.project {
  margin-bottom: 10px;
}

.project__info {
  padding-left: 61px;
}

.project__title {
  padding-top: 50px;
}
.project__image {
  border-radius: 5px;
  padding:15px;
  max-width:331px;
  max-height:364px;
}

.project__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  padding: 55px 180px 50px 0;
}
.project__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

footer {
  text-align: center;
  padding: 20px;
}

footer a {
  text-decoration: none;
  color: var(--font-color);
  font-size: 25px;
  margin: 10px 18px;
}

footer a:hover {
  color: var(--accent-color);
}

@media (max-width: 1200px) {
  .project__text {
    padding: 0;
    margin-bottom: 50px;
  }
  .btn-branding {
    font-size: 14px;
    line-height: 22px;
    padding: 12px 36px;
    border-radius: 3px;
  }
}

@media (max-width: 992px) {
  .project__title {
    padding-top: 0;
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  #name {
    font-size: 78px;
  }
  .content-img,.project__image
  {
    display: block;
    margin: 0 auto;
    padding-bottom: 30px;
  }
  .d-flex{
    flex-direction: column-reverse;
    align-items:center;
    justify-content:center;
  }
  .reverse{
    flex-direction:column;
  }
}

@media (max-width: 670px) {
  #name {
    font-size: 60px;
  }
  .navbar-brand {
    margin: 5px;
    font-size: 20px;
    font-weight: 600;
  }
  .content h1 {
    font-size: 40px;
  }
  .content h2 {
    font-size: 30px;
  }
  .content h3 {
    font-size: 28px;
  }
  footer a {  
  font-size: 20px;
  margin: 10px;
}
}

@media (max-width: 425px) {
  #name {
    font-size: 50px;
  }
  .hero {
    padding-top: 100px;
  }
  .project__image {
    padding:10px;
    max-width:300px;
}
  .btn-branding {
    font-size: 16px;
    line-height: 22px;
    padding: 14px 34px;
  }
  .email {
    font-size: 20px;
  }
  footer a {
    font-size: 16px;
  }
}

@media (max-width: 356px) {
  .content h1 {
    font-size: 36px;
  }
  .content h2 {
    font-size: 28px;
  }
  .content h3 {
    font-size: 25px;
  }
  .project__image{
    max-width:260px;
}
  .email {
    font-size: 16px;
  }
  .phone {
    font-size: 20px;
  }
  .btn-branding {
    font-size: 12px;
    line-height: 20px;
    padding: 12px 20px;
  }
  footer a {
    font-size: 14px;
  }
}

@media (max-width: 281px) {
  .email {
    font-size: 14px;
  }
  .phone {
    font-size: 18px;
  }
}
