:root {
 --primary: #203C45;
 --white: #ffffff;
 --secondary: #D9EEE3;
 --third: #FFF9E9; 
 --link: #C8695C;
}

@font face {
  font-family: Leiko Regular;
  src: url(leiko-regular.otf);
}

body {
	font-family: Leiko Regular;
	font-size: 20px;
	line-height: 1.5;
	
	background-color: var(--third);
	color: var(--primary);
}

h1 { 
	font-size: 28px;
	font-family: "Work Sans";
  font-weight: 600;
}

h2 {
  font-size: 48px;
	font-family: "Work Sans";
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 20px;
  line-height: 1.2;
}

h3 {
	font-size: 28px;
	font-family: "Work Sans";
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.5;
}

h4 {
  font-size: 20px;
  font-family: "Work Sans";
  font-weight: 600;
}

p {
  font-size: 20px;
  margin-bottom: 24px;
}

.offer {
  background-color: var(--primary);
  color: var(--white);
  padding: 4px 8px;
}

.tag {
  border: 1px solid var(--primary);
  border-radius: 100px;
  padding: 8px 16px;
  margin-bottom: 20px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

a.button {
  background: none;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 8px 16px;
  text-decoration: none;
  transition: all 0.3s;
}

a.button:hover {
  background-color: var(--primary);
  color: var(--white);
}

a.button-outline {
  background: none;
  border: 1px solid var(--white);
  color: var(--white);
  padding: 8px 16px;
  text-decoration: none;
  transition: all 0.3s;
}

a.button-outline:hover {
  background-color: var(--white);
  color: var(--primary);
}

header {
  background-color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 2;
}

header.mobile {
  display: none;
}

.menu {
  background-color: var(--primary);
  color: var(--white);
  width: 70%;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  transform:translateX(-100%);
  
  z-index: 3;
  transition: transform 0.5s ease;
}

.open {
  transform: translateX(0);
}

.menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  
  z-index: 4;
}

nav a {
  color: var(--primary);
  font-size: 20px;
  margin-left: 20px;
  text-decoration: none;
  transition: all 0.3s;
}

nav a:hover {
  border-bottom: 1px solid var(--link);
}

.banner {
  background-color: var(--secondary);
  padding: 160px 100px 100px 100px;
  text-align: center;
}

.half, .shop {
  display: flex;
  flex-wrap: wrap;
}

.half div, .shop div {
    width: 50%;
}

.content div {
  width: 70%;
}

.content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.about {
  background-color: var(--primary);
  color: var(--white);
  padding: 100px;
}

.shop {
  background-color: var(--secondary);
}

.shop .image {
  padding: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image img {
  max-width: 320px;
}

.title {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

.title div p {
  margin-bottom: 0px;
}

.stories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: flex-start;
  padding-bottom: 40px;
}

.blog {
  width: 30%;
  padding: 40px;
}

.blog img {
  transition: all 0.3s;
}

.blog img:hover {
  transform: scale(0.95);
}

.blog img {
  margin-bottom: 20px;
}

strong {
	font-family: "Work Sans" ;  
	font-weight: 600;
	font-size: 20px;
}

.caption {
  font-family: "Work Sans";
  font-weight: 400;
  font-size: 16px;
}

.end {
  background-color: var(--primary);
  color: var(--white);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.end h2 {
  margin-top: 0;
}

footer {
  background-color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

footer img {
  max-width: 60px;
}

footer a {
  margin-left: 16px;
}

@media (max-width:1080px) {
  h2 {
    font-size: 36px;
  }
  .blog {
    width: 50%;
    padding: 20px;
  }
}

@media (max-width:950px) {
  .stories, .half, .shop {
    display: block;
  }
  .half div {
    width: 100%;
  }
  .content {
    width: 100%;
    padding: 40px;
  }
  
  .shop .content {
    width: 100%;
    padding: 20px 0 40px 0;
  }
  .shop .image {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .shop div.image {
    padding: 40px 0 20px 0;
  }
	.blog {
    width: 100%;
  }
  .end {
    display: block;
    text-align: center;
  }
  footer {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  footer div:nth-child(1){ order: 2; }
  footer div:nth-child(2){ order: 1; }
  footer div:nth-child(3){ order: 3; }
  
  footer a {
    margin-left: 8px;
    margin-right: 8px;
  }
  
  footer img {
    margin: 20px;
  }
}

@media (max-width:660px) {
  header.mobile {
  display: flex;
  }
  div.mobile-nav {
   position: absolute;
   top: 30%;
   left: 40px;
  }
  .mobile-nav a {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 20px;
    display: block;
  }
  h2 {
    font-size: 28px;
  }
  h1, h3 {
    font-size: 24px;
  }
  p {
    font-size: 16px;
  }
  .banner {
    padding: 100px 40px 40px 40px;
  }
  .about {
    padding: 40px;
  }
  .title {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  header {
    display: block;
  }
  nav {
    display: none;
  }
}
