:root {
  --color-black: #000;
  --color-white: #fff;

  --transition: all 400ms ease-in-out;

  --container-width-lg: 80vw;
  --container-width-md: 85vw;
  --container-width-sm: 95vw;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  list-style: none;
  text-decoration: none;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

::-webkit-scrollbar {
  display: none;
}

body {
  max-width: 100vw;
  color: var(--color-white);
  background-color: var(--color-white);
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
}

/* ==================== GENERAL STYLES ==================== */
.container {
  width: var(--container-width-lg);
  margin: 0 auto;
  padding: 3rem 0;
}

.container a {
  cursor: pointer;
}

.container .title {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
}

.container .subtitle {
  font-size: 1.5rem;
  text-align: center;
}

.container p {
  font-size: 1rem;
}

.container figure {
  text-align: center;
  width: 100%;
}

.container img {
  width: 100%;
}

.container button {
  background: linear-gradient(to left, #00A62E, #3BDF01);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  padding: .7rem 1rem;
  border-radius: 10rem;
  font-weight: bold;
  text-transform: uppercase;
}

.container button figure {
  width: 10%;
}

.container button figure img {
  width: 100% !important;
}

.container button a {
  color: white !important;
}

.container .btn.btn1 {
  background: linear-gradient(to left, #0060A6, #018FDF);
}

/* Menu */
header {
  background-color: #ffcd02;
}

header nav {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0 !important;
}

header nav .logo {
  text-align: left !important;
}

header nav .logo img {
  width: 20% !important;
}

header nav .right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
}

main {
  background: url("../img/banner.png") no-repeat center center;
  background-size: cover;
  height: 90vh;
}

main .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  height: 100%;
}

main .container .title {
  width: 50%;
  font-size: 62px;
  text-transform: initial;
}

main .container .title span {
  color: #F4F327;
}

main .container button {
  margin-right: auto;
  width: 27%;
  font-size: 1.2rem;
}

#content1 {
  background-color: #DB0404;
}

#content1 .container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: .5rem;
  padding: 1rem 0;
}

#content1 .container figure {
  width: 3%;
}

#content1 .container .title {
  font-size: 1.2rem;
}

#content1 .container .title span {
  color: #F4F327;
}

#content2 .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#content2 .container .title {
  color: black;
  text-align: center;
}

#content2 .container button {
  margin: 0 auto;
  width: 27%;
  font-size: 1.2rem;
}

#content3 {
  background-color: #E8F2FA;
}

#content3 .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#content3 .container .title {
  color: black;
  text-align: center;
}

#content3 .container .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 1rem;
}

#content3 .container .gallery .item {
  display: flex;
  flex-direction: column;
  gap: 0;
}

#content3 .container .gallery .item .top {
  width: 100%;
  margin-bottom: -.3rem;
}

#content3 .container .gallery .item .bottom {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: black;
  text-align: center;
  padding: 2rem 2rem;
  height: 50vh;
  background-color: #FFFFFF;
}

#content3 .container .gallery .item .bottom h3 {
  text-transform: uppercase;
}

#content3 .container .gallery .item .bottom button {
  margin-top: auto;
  font-size: 1.1rem;
}

#content4 .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#content4 .container .title {
  color: black;
  text-align: center;
  text-transform: uppercase;
  font-size: 2rem;
}

#content4 .container .bottom {
  display: flex;
  justify-content: center;
  gap: .5rem;
}

#content4 .container .bottom button {
  width: 20%;
  font-size: 1.1rem;
}

footer #footer1 {
  background-color: #ffcd02;
}

footer #footer1 .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  color: black;
}

footer #footer1 .container figure img {
  width: 20%;
}

footer #footer2 .container {
  padding: 1rem 0;
  color: black;
  text-align: center;
}

/* ==================== MEDIA QUERIES (MD) ==================== */
@media screen and (max-width: 1024px) {
  .container {
    width: var(--container-width-md);
    padding: 2rem 0;
  }

  .container .title {
    font-size: 2rem;
    text-align: center;
  }

  .container button {
    padding: .6rem 1rem;
  }

  header nav .logo {
    width: 30% !important;
  }

  header nav .logo img {
    width: 100% !important;
  }

  header nav .right {
    width: 100%;
    justify-content: flex-end;
  }

  main {
    background: url("../img/mobile/banner.png") no-repeat center center;
    background-size: cover;
    height: 90vh;
  }

  main .container {
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    height: 100%;
  }

  main .container .title {
    width: 100%;
    font-size: 45px;
  }

  main .container button {
    margin: auto auto 0;
    width: 40%;
    font-size: 1rem;
  }

  #content1 .container {
    flex-direction: column;
  }

  #content1 .container figure {
    width: 8%;
  }

  #content1 .container .title span {
    display: block;
  }

  #content2 .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  #content2 .container .title {
    color: black;
    text-align: center;
  }

  #content2 .container button {
    margin: 0 auto;
    width: 40%;
    font-size: 1.1rem;
  }

  #content3 .container .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
  }

  #content3 .container .gallery .item .bottom {
    height: fit-content;
  }

  #content3 .container .gallery .item .bottom button {
    margin: auto auto 0;
    font-size: 1rem;
  }

  #content4 .container .title {
    font-size: 1.5rem;
  }

  #content4 .container .bottom {
    flex-direction: column;
    gap: 1rem;
    margin: 0 auto;
  }

  #content4 .container .bottom button {
    width: 100%;
    font-size: 1rem;
  }
}

/* ==================== MEDIA QUERIES (SM) ==================== */
@media screen and (max-width: 600px) {
  .container {
    width: var(--container-width-sm);
    padding: 1rem 0;
  }

  .container .title {
    font-size: 1.6rem;
  }

  header nav {
    flex-direction: column;
    gap: 1rem;
  }

  header nav .logo {
    width: 100% !important;
    text-align: center !important;
  }

  header nav .logo img {
    width: 40% !important;
  }

  header nav .right {
    justify-content: center;
  }

  main {
    height: 70vh;
  }

  main .container .title {
    font-size: 36px;
  }

  main .container button {
    width: 70%;
  }

  #content1 .container figure {
    width: 10%;
  }

  #content1 .container .title {
    font-size: 16px;
  }

  #content1 .container .title span {
    display: block;
  }

  #content2 .container button {
    width: 60%;
  }

  #content4 .container .title {
    font-size: 20px;
  }

  footer #footer1 .container figure img {
    width: 35%;
  }
}