:root {
  --primary: #eb1d36;
  --grey: #a2b5bb;
  --lightgrey: #cfd2cf;
  --cream: #f5eddc;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  outline: 0;
  border: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}
a:visited {
  color: inherit;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: black;
  color: var(--cream);
}
.feather-size {
  width: 1.5rem;
  height: 1.5rem;
}
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 19px 7%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
.navbar .logo {
  font-size: 2.1rem;
  color: var(--cream);
  font-weight: 700;
  font-style: italic;
}
.navbar .logo span {
  color: var(--primary);
}

.navbar .nav a,
.nav2 a {
  font-size: 1.2rem;
  display: inline-block;
  margin: 0 1.2rem;
  font-weight: 500;
  color: var(--cream);
}
.navbar .nav a:hover,
.nav2 a:hover {
  color: var(--primary);
}
.navbar .nav,
.nav2 {
  display: flex;
  align-items: center;
}
.navbar .nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  transform: scaleX(0);
  transition: 0.3s ease;
}
.navbar .nav a:hover::after {
  transform: scaleX(50%);
}

#hamburg {
  display: none;
}

#jumbotron {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/big-wolf.jpg");
  background-size: cover;
  background-position: 0 65%;
  color: var(--cream);
  position: relative;
}
#jumbotron::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 25%;
  background: linear-gradient(
    180deg,
    rgba(1, 1, 1, 0.3) 0%,
    rgba(1, 1, 1, 0) 100%
  );
}
#jumbotron::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 25%;
  background: linear-gradient(0deg, rgba(1, 1, 1, 1) 2%, rgba(1, 1, 1, 0) 100%);
}

#jumbotron .greeting {
  padding: 1.4rem 8%;
  max-width: 50rem;
}
#jumbotron .greeting p {
  font-size: 1.2rem;
  line-height: 1.2;
  margin-top: 0.5rem;
  font-weight: 100;
  max-width: 100%;
  color: white;
}
#jumbotron .greeting h1 {
  font-size: 4em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
}
#jumbotron .greeting h1 span {
  color: var(--primary);
}

#jumbotron .greeting .cta {
  margin-top: 1.3rem;
  display: inline-block;
  font-size: 1.1rem;
  background-color: var(--primary);
  border-radius: 10px;
  padding: 6px 10px;
}
#jumbotron .featured {
  position: absolute;
  right: 8%;
  bottom: 15%;
}
#jumbotron .featured h1 {
  font-size: 4em;
  font-weight: 200;
  text-align: right;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.2rem;
}
#jumbotron .featured .date {
  font-size: 1.5rem;
  font-weight: 100;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.2rem;
}
#jumbotron .featured .like {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 100;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.2rem;
}
.about,
.contact {
  padding: 7rem 7% 1.4rem;
}
.about h2,
.pictures h2,
.contact h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}
.about h2 span,
.pictures h2 span,
.contact h2 span {
  color: var(--primary);
}
.about .row {
  display: flex;
  justify-content: center;
}
.about .row .profil-img {
  flex: 1 1 40rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.about .row .profil-img img {
  max-width: 20rem;
  border-radius: 15%;
}
.about .row .profil-img .name {
  padding-top: 1rem;
  font-size: 1rem;
  font-weight: 200;
}
.about .row .content {
  flex: 1 1 35rem;
  padding: 0 0.7rem;
}
.about .row .content h3 {
  font-size: 1.6rem;
  line-height: 2rem;
  margin-bottom: 1rem;
}
.about .row .content p {
  margin-bottom: 0.6rem;
  line-height: 1.4;
  font-weight: 100;
  font-size: 1.4rem;
}
.pictures {
  padding: 7rem 7% 3rem;
  height: auto;
}
.pictures .row {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: 6rem;
}
.pictures .row .card {
  flex: 1 1 30rem;
  padding: 2rem;
  transition: 0.5s ease;
}
.pictures .row .card:hover {
  transform: scale(105%);
}
.pictures .row .card:hover .card-img img {
  transform: translateY(-1rem);
  box-shadow: 0 0rem 4rem rgba(255, 255, 255, 0.3);
  border-radius: 0 0 0 0;
}
.pictures .row .card:hover .card-img h4 {
  transform: scale(110%);
}
.pictures .row .card .card-img {
  height: 25rem;
  width: 100%;
  position: relative;
}
.pictures .row .card .card-img::after {
  content: "";
  width: 100%;
  height: 40%;
  position: absolute;
  bottom: 0;
  background: linear-gradient(0deg, rgba(1, 1, 1, 1) 0%, rgba(1, 1, 1, 0) 100%);
  transition: 0.3s ease;
}
.pictures .row .card:hover .card-img::after {
  height: 0;
}

.pictures .row .card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2rem 3rem 0 0;
  transition: 0.3s ease;
}
.pictures .row .card .card-img .info {
  display: flex;
  justify-content: space-between;
}
.pictures .row .card .card-img .info p {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.pictures .row .card h4 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 0.5rem;
  text-align: center;
  transition: 0.5s ease;
}

.contact .row {
  display: flex;
  margin-top: 2rem;
  background-color: var(--grey);
  border-radius: 30px;
}
.contact .row .map {
  flex: 1 1 40rem;
  width: 100%;
  object-fit: cover;
  border-radius: 30px;
}
.contact .row form {
  flex: 1 1 40rem;
  padding: 4rem 3rem;
  text-align: center;
}
.contact .row form .input-group {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  background-color: var(--cream);
  padding-left: 2rem;
  border-radius: 30px;
}
.contact .row form .input-group input {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.3rem;
  background: none;
}

.contact .row form .btn {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 1rem 2rem;
  font-size: 1.6rem;
  background-color: var(--primary);
  border-radius: 30px;
  color: var(--cream);
}
footer {
  background: var(--primary);
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
  border-bottom: 5px solid var(--grey);
}

footer .social {
  padding: 1rem 0;
  gap: 1rem;
}

footer .social a {
  color: var(--cream);
  padding: 0 1rem;
}
footer .social a:hover {
  color: var(--grey);
}
footer .links {
  margin-bottom: 1rem;
}
footer .links a {
  padding: 0.3rem 1rem;
}
footer .links a:hover {
  color: var(--grey);
}
footer .credit a {
  font-weight: 700;
}
/* Media Query */
@media (max-width: 1366px) {
  html {
    font-size: 77%;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 67%;
  }
  #hamburg {
    display: inline-block;
  }
  .navbar .nav {
    position: absolute;
    width: 100%;
    height: 50vh;
    right: 0;
    top: -520%;
    line-height: 3rem;
    flex-direction: column;
    justify-content: space-around;
    background-color: rgba(0, 0, 0, 0.9);
    transition: 0.3s ease;
  }
  .navbar .nav.active {
    top: 0;
  }
  .navbar .nav2 a {
    width: 50%;
  }
  #jumbotron {
    background-position: 37% 65%;
  }
  .about .row {
    flex-wrap: wrap;
  }
  .about .row .profil-img img {
    max-width: 100%;
    height: 20rem;
    object-fit: cover;
  }
  .about .row .content p {
    text-align: justify;
    line-height: 1.8;
  }
  .contact .row {
    flex-wrap: wrap;
  }
  .contact .row .map {
    height: 26rem;
  }

  .contact .row form {
    padding-top: 0;
    padding-bottom: 2.3rem;
  }
  .feather-size {
    width: 1rem;
    height: 1rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 61%;
  }
}
