/* global */
html,
body {
  font-family: "Montserrat", sans-serif;
  font-size: 62.5%;
}

span,
p,
a,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 1.8rem;
}

img {
  width: 100%;
}

:root {
  --gray-txt: #8c8c8c;
  --blue-txt: #0a2a3d;
}

/* header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 20px;
  border-top: solid 8px #f6979d;
  padding-inline: 6%;
}

header img {
  width: 270px;
}

header img:nth-child(2) {
  margin-top: 40px;
}

/* container 1 */
.container01 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 5%;
}

.container01 img {
  width: 50%;
}

.container01 img:nth-child(2) {
  position: relative;
  top: 8px;
  right: 8%;
}

/* container 2 */
.container02 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-block: 4%;
  padding-left: 8%;
}

.container02Product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.container02Product img {
  width: 70%;
}

.container02Product p {
  color: var(--gray-txt);
  text-transform: uppercase;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  margin-block: 2rem;
}

/* container 3 */
.container03 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container03 img {
  width: 100%;
}

.container03Description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container03Description p {
  color: var(--gray-txt);
  text-transform: uppercase;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  margin-block: 2rem;
}

/* container 3 */
.container03 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container03Content h2 {
  padding: 3rem;
  margin-left: 8rem;
  font-weight: 600;
  color: var(--gray-txt);
  font-size: 2.8rem;
}

/* container 4 */
.container04 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 4%;
}

.container04Content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-inline: 8%;
}

.container04Content h2 {
  font-weight: 600;
  color: var(--gray-txt);
  font-size: 2rem;
  padding-block: 4rem;
}

.container04Content h3 {
  font-weight: 600;
  color: var(--gray-txt);
  font-size: 1.8rem;
}

.container04Product img {
  width: 100%;
}

/* footer */
footer {
  display: flex;
  flex-direction: column;
}

.footerItems {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 6rem;
}

.footerDescription {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footerDescription span {
  font-size: 1.8rem;
  color: var(--blue-txt);
  font-weight: 600;
}

.footerSocial {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footerIcons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footerIcons img {
  width: 3rem;
  padding: 1rem;
}

.footerCopyright p {
  color: var(--blue-txt);
  font-weight: 600;
  text-align: center;
}

.footerLogo {
  width: 19rem;
}

/* responsive */
@media (min-width: 1440px) {
  .wrapper {
    margin-inline: 20%;
  }

  header {
    padding-inline: unset;
  }
}

/* mobile */
@media (max-width: 680px) {
  section {
    display: flex;
    flex-direction: column;
  }

  header {
    padding: unset;
  }

  header img {
    width: 140px;
  }

  header img:nth-child(2) {
    margin-top: 22px;
  }

  .container01 {
    margin-left: unset;
  }

  .container01 img {
    width: 100%;
  }

  .container01 img:nth-child(2) {
    position: static;
    width: 90%;
    margin-block: 5rem;
  }

  .container02 {
    padding-left: unset;
  }

  .container02Product {
    margin: auto;
  }

  #product2 {
    margin-left: 4rem;
  }

  .container03Content h2 {
    padding: unset;
    /* margin-inline: 50; */
  }

  .container03Content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footerItems {
    flex-direction: column;
    padding: unset;
  }
}
