
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto Mono', monospace;
  line-height: 1.6;
  background-color: #f0e9cb;
  min-height: 100vh; /* 100% of the viewport height */
  display: flex;
  flex-direction: column;
}

header {
  background: #000;
  padding: 10px;
  color: #ddd;
}

a:link {
  color: white;
  text-decoration: none;
}

a:visited {
  color: #cfa759;
}

.next-head {
  background: #292d3a;
  padding: 10px;
}

.logo-image-wrapper {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.logo-header-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.logo {
  font-weight: bold;
  color: #cfa759;
  font-size: 4em;
  display: flex;
  align-items: center;
}

.header-image-container {
  width: 64px;
  height: 64px;
  align-self: center;
}

.header-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.header-text {
  font-size: x-small;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items:center;
  background: inherit;
  
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 10px;
}


main {
  background-color: #f0e9cb;
  max-width: 1500px;
  margin: auto;
  padding:30px;
  padding-top: 0px;

}

.about {
  flex: 2;
}

.about-flex {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #c3c3c3;
  padding: 10px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 500px;
}

.image-container {
  flex:1;
  max-width: 600px;
  display: block;
  margin: auto;
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
}

article {
  background-color: #c3c3c3;
  padding: 20px;
}

.artcle-content {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.research-image-container {
  max-width: 100%;
  display: block;
  margin: auto;
}

.research-image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.intro {
  background-color: #c3c3c3;
}

p {
  padding: 10px;
}

.conclusion {
  background-color: #c3c3c3;
  padding: 10px;
}

.memorial {
  background-color: #c3c3c3;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content:flex-start;
}

.memorial .research-image-container img {
  max-width: 300px;
  height: auto;
  object-fit: contain;
  padding: 10px;
}

#memorial-header {
  font-weight: bolder;
}

.join {
  background-color: #c3c3c3;
  padding: 20px;
  max-width: 1000px;
}

h2 {
  background-color: #f0e9cb;
  padding: 10px;
}

footer {
  background: #000;
  color: white;
  padding: 10px;
  margin-top: 20px;
  display: flex;
  justify-items: center;
  align-items: center;
  gap: 5px;
  
}

.copyright {
  align-content: center;
}

form input {
  display: block;
  margin: 10px 0;
  padding: 5px;
  width: 100%;
}

.about-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  padding: 10px;
}

.product {
  display:flex;
  flex-direction: column;
  gap:20px;
  background-color: #c3c3c3;
  /*align-items: stretch;
  background-color: #c3c3c3;*/
  padding: 20px;
  position: relative;
}

.product-image-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.product-image-container img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.text-price-button-flex {
  padding: 0 20px;
}

.product-text {
  margin-bottom: 15px;
}

.price-button {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px;
  font-size: 1.2em;
  font-weight: bold;
  margin: 0;
}

button {
  background-color: black;
  color: white;
  border: 2px solid white;
  padding: 12px 24px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-transform: uppercase;
  max-width: 120px;
  text-decoration: none;
  
}

button:hover {
  background-color: white;
  color: black;
}

@media (min-width: 768px) {
  .product {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 20px;
    align-items: start;
  }

.product-image-container {
  /*flex: 0 0 40%;
    max-width: 500px;*/
    padding: 20px;
    display: flex;
    align-items: start;
}

.text-price-button-flex {
  display: flex;
  flex-direction: column;
  gap: 20px;
  }

.product-text {
  flex: 1;
  margin-top: 20px;
}

.price-button {
  position:relative;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  
}

  /*.about-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }*/

.about-flex {
  display: flex;
  flex-direction: row;
}
 .image-container {
    flex: 0 0 40%;
    max-width: 500px;
  }

.product-image-container {
  flex: 0 0 40%;
  max-width: 500px;
}

.text-price-button {
  display: flex;
  flex-direction: row;
}

  form input {
    width: 50%;
  }
  .article-content {
    display: flex;
    flex-direction: row;
    gap:10px;
    align-items: flex-start;
  }

  p {
    flex: 1;
  }

  .research-image-container {
    flex: 0 0 40%;
    max-width: 400px;
    margin-left: 10px;
  }
  .memorial {
    flex-direction: row;
    align-items: flex-start;
  }

  .memorial .research-image-container {
    flex: 1;
    max-width: 40%;
  }

  .memorial .memorial-text {
    flex: 2;
    padding-left: 20px;
  }

}
