/* Universal Styles */
/*font-face setting*/
@font-face {
  font-family: "Rubik-Regular";
  src: url("resources/Rubik/Rubik-VariableFont_wght.ttf") format("truetype"),
       url("resources/Rubik/Rubik-VariableFont_wght.woff2") format("woff2"),
       url("resources/Rubik/Rubik-VariableFont_wght.woff") format("woff");
}
/*Initial Layout setting*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  overflow-x: hidden;
}

.main-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
}

.center {
  text-align: center;
}

.button {
  border-radius: 4px;
  background-color: #4a4a4a;
  color: white;
}

.image-container {
  overflow: hidden;
}

.image-container img {
  display: block;
}

/* Header */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: solid 1px #c6c1c1;
  background-color: white;
  height: 5.3125rem;
}

header .content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  flex: 1;
  font-family: 'Roboto-Mono-Regular', monospace;
  font-size: 1.5rem;
  color: #4a4a4a;
  text-decoration: none;
  margin-left: 1.875rem;
}

header nav ul {
  display: flex;
  margin-right: 1.875rem;
}

nav li {
  list-style: none;
  padding-left: 3.5rem;
}

nav a {
  text-decoration: none;
  vertical-align: bottom;
  line-height: 1.6;
  font-family: "Roboto-Regular", sans-serif;
  font-size: 1rem;
  color: #4A4A4A;
}

header .icon {
  width: 1.8rem;
  padding-left: .75rem;
}

header .mobile {
  display: none;
}

header .button {
  display: none;
}
/*For tablet screen*/
@media only screen and (max-width: 768px) {
  header a.button {
    display: flex;
    text-decoration: none;
    margin-right: 1.875rem;
    padding: .1875rem .5rem;
    background-color: #9dc20b;
    line-height: 1.6;
    color: white;
  }

}
/*For mobile sscreen*/
@media only screen and (max-width: 430px) {
  html {
    overflow-x: hidden;
  }
  header .desktop {
    display: none;
  }
  header .mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  header .content {
    padding: .5rem 0;
  }
  header .mobile ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
  }
  header .mobile li {
    padding: 0;
  }
  header a.button {
    display: flex;
    text-decoration: none;
    width: 20%;
    padding: .1875rem .5rem;
    background-color: #9dc20b;
    line-height: 1.6;
    color: white;
    font-size: 0.875rem;
  }
}

/* Sign Up Section */

#sign-up-section {
  display: flex;
  align-items: center;
  height: 36.5rem;
}
/*Camera background image*/
img.header-image {
  width: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  z-index: 100;
  margin-bottom: 1px;
}
/*background color for sign-up*/
#sign-up-cta {
  padding: 0 5rem 2.5rem 5rem;
  border: solid 1px #979797;
  border-radius: 4px;
  background-color: #9dc20b;
  margin-left: 6.25rem;
  margin-top: 1rem;
  z-index: 900;
}
/*Sign-up content*/
#sign-up-cta .content {
  width: 25.625rem;
  margin-top: 2rem;
  font-family: "Roboto", sans-serif;
  font-size: 1.25rem;
  line-height: 1.4;
  color: white;
}

#sign-up-cta h1 {
  font-family: "Rubik-Regular", sans-serif;
  font-weight: lighter;
  font-size: 3.125rem;
  margin-bottom: 0.75rem;
}

#sign-up-cta h2 {
  font-size: 2.25rem;
  margin-top: 2rem;
}

#sign-up-cta span {
  margin-bottom: 1.625rem;
}

#sign-up-cta span strong {
  font-weight: bold;
}

#sign-up-cta .cursive {
  font-family: "Damion", cursive;
  font-weight: lighter;
}

#sign-up-cta .striking {
  font-family: "Rubik", sans-serif;
  padding-bottom: .75rem;
}

#sign-up-cta .button {
  margin-top: 1.625rem;
  padding: 1.25rem 7.25rem;
}
/*Tablet screen*/
@media only screen and (max-width: 768px) {
  #sign-up-section {
    display: flex;
    align-content: center;
    justify-content: flex-start;
    height: 21rem;
    margin-top: 0;
  }
  #sign-up-section .header-image {
    position: absolute;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  #sign-up-cta {
    position: relative;
    text-align: center;
    background-color: transparent;
    border: none;
  }

  #sign-up-cta .content {
    margin-top: 0;
  }

  #sign-up-cta .email {
    display: none;
  }

  #sign-up-cta h1 {
    font-size: 3.125rem;
  }

  #sign-up-cta h2 {
    font-size: 2.25rem;
  }
}
/*Mobile screen*/
@media only screen and (max-width: 430px) {
  #sign-up-section {
    height: 12.7rem;
  }

  #sign-up-cta {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    margin-top: 0;
  }

  #sign-up-cta h1 {
    font-size: 2.25rem;
  }

  #sign-up-cta h2 {
    font-size: 2rem;
  }
}

/* Features Section */

#features-section {
  margin: 0;
  display: flex;
  justify-content: space-between;
  padding: 4rem 5% 2.875rem 5%;
  background-color: #f3f3f3;
}

.feature {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-items: center;
  height: 35rem;
  padding: 2rem;
  margin: 0px 1.25rem;
  background-color: white;
}

.feature .center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feature .image-container {
  width: 90%;
  height: 65%;
  margin-bottom: 2.5rem;
}

.feature .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature h2 {
  padding-bottom: .5rem;
  font-size: 2.25rem;
  font-weight: bold;
  color: #4a4a4a;
}

.feature h3 {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 300;
  color: #4a4a4a;
}

@media only screen and (max-width: 890px) {
  .feature h2 {
    font-size: 1.125rem;
    line-height: 1.3;
    font-weight: normal;
  }

  .feature h3 {
    font-size: .875rem;
    line-height: 1.4;
  }
}
/*Tablet screen*/
@media only screen and (max-width: 768px) {
  .feature {
    padding: 0.8rem;
    height: auto;
  }
  .feature .center {
    width: 100%;
    margin-bottom: 1.25rem;
  }
  .feature .image-container {
    height: 120%;
    width: 100%;
    margin-bottom: 1.25rem;
  }
  .feature .content {
    text-align: left
  }
  .feature .content h2 {
    font-size: 2rem;
    font-weight: bold;
  }
}
/*Mobile screen*/
@media only screen and (max-width: 430px) {
  #features-section {
    width: 100%;
    padding: 0;
    display: block;
  }
  .feature {
    width: 100%;
    padding: 1.25rem;
    margin: 0;
  }
  .feature .content {
    text-align: center;
    padding: 0 1rem;
  }
  .feature h2 {
    font-size: 1.125rem;
    line-height: 1.3;
    font-weight: normal;
  }
  .feature h3 {
    font-size: .875rem;
    line-height: 1.4;
  }
}

/* Filters Section */

#filters-section {
  padding: 4rem 0;
  background-color: #4a4a4a;
}

#filters-section .content {
  padding: 0 .625rem;
  margin-bottom: 5rem;
}

#filters-section .content h2 {
  font-size: 2.25rem;
  font-weight: bold;
  color: white;
}

#filters-section .content h3 {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 300;
  color: white;
}

#filters-section .images-container {
  max-width: 100%;
  padding: 0 1%;
  display: flex;
  justify-content: space-evenly;
}

#filters-section .images-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media only screen and (max-width: 760px) {
  #filters-section {
    padding: 1.5rem 0 0 0;
  }

  #filters-section .content {
    margin-bottom: 1rem;
  }

  #filters-section .content h2 {
    padding-bottom: .625rem;
    font-size: 1.125rem;
    line-height: 1.3;
    font-weight: normal;
  }

  #filters-section .content h3 {
    font-size: .875rem;
    line-height: 1.4;
  }

  #filters-section .images-container {
    padding: 0;
  }

  #filters-section .extra {
    display: none;
  }
}

/* Quotes Section */

#quotes-section {
  background-color: #f3f3f3;
  height: 11.875rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

#quotes-section content {
  padding: 5rem 0;
}

#quotes-section .quote {
  padding-right: 1.875rem;
  font-family: "Palatino", serif;
  font-size: 1.875rem;
  line-height: 1.1;
  font-style: italic;
  color: #4a4a4a;
}

#quotes-section .quote-citation {
  height: 1.875rem;
}
/*Tablet screen*/
@media only screen and (max-width: 768px) {
  #quotes-section .content {
    padding-left: 0.75rem;
    padding-right: 1.75rem;
    display: flex;
    justify-content: space-evenly;
  }
  #quotes-section .quote {
    line-height: 1.4;
  }

  #quotes-section .quote-citation {
    margin-top: 0.5rem;
    height: 2.5rem;
  }
}
/*Mobile screen*/
@media only screen and (max-width: 430px) {
  #quotes-section .content {
    display: block;
  }
  #quotes-section .quote {
    line-height: 1.4;
    font-size: 1.5rem;
    display: block;
  }

  #quotes-section .quote-citation {
    
    height: 2rem;
  }
}

/* Footer */

footer {
  background-color: #9b9b9b;
  padding: 1.56rem 2rem;
}

footer .content {
  color: white;
  display: flex;
  font-size: .75rem;
}

footer .copyright {
  flex-grow: 1;
}
/*Tablet screen*/
@media only screen and (max-width: 768px) {
  footer .content {
    font-size: .625rem;
  }
}