@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap");

@font-face {
  font-family: "20_dbregular";
  src: url("20db-webfont.eot");
  src: url("20db-webfont.eot?#iefix") format("embedded-opentype"),
    url("20db-webfont.woff2") format("woff2"),
    url("fonts/20db-webfont.woff") format("woff"),
    url("20db-webfont.ttf") format("truetype"),
    url("20db-webfont.svg#20_dbregular") format("svg");
  font-weight: normal;
  font-style: normal;
}

* {
  font-family: "Montserrat", sans-serif, Arial, Helvetica;
  box-sizing: border-box;
}

@media screen and(max-width:768px) {
  img {
    max-width: 100%;
    height: auto;
  }

  .container {
    width: 100%;
  }
}

body {
  background-image: url("images/leaves_bg.webp");
}

.container {
  max-width: 90%;
  margin: 0 auto;
  background-color: rgba(245, 245, 242, 0.879);
  box-shadow: 0 4px 4px 6px hsla(0, 0%, 0%, 0.12);
}

main {
  padding: 16px;
}

img,
video {
  max-width: 200%;
}

header img {
  width: 100%;
}

h1 {
  color: lightgoldenrodyellow;
  background-color: hsl(148, 24%, 32%);
  padding: 32px 16px;
  font-size: 60px;
  text-transform: uppercase;
  text-align: center;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  font-family: "20_dbregular", Arial, Helvetica, sans-serif;
}

nav {
  background-color: #13391b;
  text-align: right;
}

nav ul {
  padding: 16px;
  list-style-type: none;
  background-color: #e6e6e6;
}

nav ul li {
  display: inline;
  margin-right: 56px;
}

nav ul li:last-child {
  margin-right: 32px;
}

nav a:link,
nav a:visited {
  color: green;
  text-decoration: none;
}

nav a:hover,
nav a:focus {
  color: darkgreen;
}

.faq-list {
  list-style-image: url(images/leaf-1-24.png);
}

ul.faq-list li {
  margin-bottom: 50px;
  font-style: normal;
}

ul.faq-list li em {
  color: green;
}

.home-page p::first-letter {
  color: #452601;
  font-size: xx-large;
}

.columns {
  column-count: 3;
  column-gap: 50px;
  column-rule: 2px dotted green;
}

.columns h2 {
  column-span: all;
}

img.left {
  float: left;
  margin: 0 16px 16px 0;
  border: 4px solid brown;
}

img.right {
  float: right;
  margin: 0 0 16px 0;
  border: 4px solid brown;
}

.clear {
  clear: both;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.float-spacing {
  margin-left: 240px;
}

h3,
h4 {
  margin-top: 30px;
  border-top: 4px solid brown;
  padding-top: 16px;
}

.gallery {
  display: flex;
  width: 100%;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  border-radius: 8px;
}

figure {
  display: flex;
  max-width: 270px;
  height: 340px;
  padding: 4px;
  flex-direction: column;
  align-items: center;

  gap: 8px;
  border-radius: 8px;
  border: 2px solid #000;
  background: #fff;
}

figure img {
  border-radius: 6px;
  border: 1px solid #000;
}

figcaption {
  text-align: center;
  padding-top: 4px;
  padding-bottom: 4px;
}

.contact-page {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 20px;
  flex-grow: 1; 
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 30px;
}

label {
  width: 150px;
}

input,
select,
textarea {
  width: 300px;
  padding: 8px;
  border: 1px solid gray;
  border-radius: 4px;
}

input[type="submit"],
input[type="reset"] {
  width: 200px;
  background-color: hsl(148, 24%, 32%);
  color: lightgoldenrodyellow;
  font-size: 18px;
  border-radius: 4px;
  padding: 4px 24px;
}

form {
  margin-bottom: 100px;
}

textarea {
  margin-bottom: 80px;
}
