:root {
  --primary-color: #295f4e;
  --secondary-color: #a4d4ae;
  --heading-font: "Bacasime Antique", serif;
  --body-font: "Roboto", sans-serif;
  --additional-font: "Playfair Display", serif;
  --box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

body {
  background-color: #ddeedf;
}

/* Landing Page */
/* Header section */

.navbar {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: bold;
  font-family: var(--heading-font);
  box-shadow: var(--box-shadow);
}

.navbar .navbar-brand {
  color: var(--primary-color);
  font-weight: bolder;
  font-size: 28px;
}

.navbar a {
  color: var(--primary-color);
  font-weight: bolder;
}

.navbar a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

.offcanvas {
  background-color: #ddeedf;
  color: var(--primary-color);
  font-family: var(--additional-font);
}

header {
  background-color: var(--secondary-color);
  padding-bottom: 100px;
  padding-top: 20px;
  text-align: center;
}

h2 {
  color: var(--primary-color);
  font-size: 50px;
  padding-bottom: 0;
  margin-bottom: 0;
  margin-top: 60px;
  margin-bottom: 0;
  font-family: var(--additional-font);
}

h1 {
  font-size: 96px;
  margin-bottom: 0;
  margin-top: 0;
  color: var(--primary-color);
  font-family: var(--heading-font);
}

h3 {
  opacity: 0.7;
  font-size: 36px;
  margin-top: 0;
  font-family: var(--additional-font);
}

.btn-branding {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  margin-top: 20px;
  box-shadow: var(--box-shadow);
}

.btn-branding:hover {
  background-color: #ddeedf;
  color: var(--primary-color);
  text-decoration: none;
}

/* Main Section */

h4 {
  font-size: 32px;
  display: block;
  margin: auto;
  text-align: center;
  max-width: 600px;
  font-family: var(--additional-font);
  color: var(--primary-color);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--primary-color);
  margin-bottom: 50px;
}

main {
  padding: 50px 20px;
  margin: 0 auto;
}

p {
  font-family: var(--body-font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--primary-color);
  margin: 20px auto;
}

.btn-branding-two {
  background-color: #ddeedf;
  color: var(--primary-color);
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  border: 1px solid var(--primary-color);
  transition: all 200ms ease;
  box-shadow: var(--box-shadow);
}

.btn-branding-two:hover {
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
}

/* Footer Section */

footer {
  margin: 60px auto 0 auto;
}

.footer-top {
  max-width: 1000px;
  background-color: var(--secondary-color);
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
  padding: 20px;
  border-radius: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #777;
}

i {
  color: var(--primary-color);
  font-size: 26px;
  margin: 10px 10px;
}

footer a {
  text-decoration: none;
}

footer p a {
  color: var(--primary-color);
  font-weight: bold;
}

footer p a:hover {
  text-decoration: underline;
}

/* About Page */

.about-me h3 {
  font-size: 26px;
}

.img-fluid {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin-top: 20px;
  box-shadow: var(--box-shadow);
  max-width: 100%;
  width: 900px;
}

/* Work Page */

h1,
h3 {
  text-align: center;
  margin-bottom: 20px;
}

.description {
  font-family: var(--body-font);
  color: var(--primary-color);
  font-size: 18px;
}

.d-flex {
  margin-top: 10px;
}

label {
  font-family: var(--body-font);
  color: var(--primary-color);
  font-size: 20px;
  font-weight: bold;
  border-radius: 6px;
}

option {
  font-family: var(--body-font);
  color: white;
  border-radius: 6px;
  border: none;
}

option :hover {
  text-decoration: none;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  cursor: pointer;
}

.myDropdown {
  padding: 8px;
  font-size: 16px;
  border-radius: 5px;
  border: none;
  box-shadow: var(--box-shadow);
  background-color: var(--primary-color);
  color: white;
  font-family: var(--body-font);
}

.myDropdown:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

h5 {
  font-size: 24px;
  margin-top: 13px;
  color: var(--primary-color);
  font-family: var(--additional-font);
  text-align: center;
}

.card-img-top-first {
  width: 100%;
  height: 400px;
  box-shadow: var(--box-shadow);
}

.card-img-top-second {
  width: 100%;
  height: 370px;
  box-shadow: var(--box-shadow);
}

.card-img-top-large {
  width: 100%;
  height: 500px;
  box-shadow: var(--box-shadow);
}

.card-img-top-last {
  width: 100%;
  height: 450px;
  box-shadow: var(--box-shadow);
}

/* Contact Page */

form {
  max-width: 600px;
  margin: 0 auto;
}

form label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--primary-color);
  font-family: var(--body-font);
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: var(--body-font);
  font-size: 16px;
}

a[href^="mailto:"],
a[href^="tel:"] {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

a[href^="mailto:"]:hover,
a[href^="tel:"]:hover {
  text-decoration: underline;
}

/* Responsive Design */

@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
  }

  .footer-top div {
    margin-bottom: 20px;
    text-align: center;
  }

  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 24px;
  }

  h5 {
    font-size: 20px;
  }

  .card-img-top-first,
  .card-img-top-second,
  .card-img-top-large,
  .card-img-top-last {
    height: auto;
  }

  .img-fluid {
    width: 100%;
    height: auto;
  }

  .navbar .navbar-brand {
    font-size: 24px;
  }

  .btn-branding,
  .btn-branding-two {
    font-size: 16px;
    padding: 8px 16px;
  }

  main {
    padding: 20px 10px;
  }

  header {
    padding-bottom: 50px;
    padding-top: 10px;
  }

  h4 {
    max-width: 100%;
  }

  form {
    padding: 0 10px;
  }
}
