@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100,200,300,400,500,600,700,800,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "Inter", sans-serif;
  list-style: none;
}

:root {
  --text-color: #00244d;
  --main-color: #0053f1;
  --bg-color: #ffffff;
  --black-color: #000000;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  background: #edf5f9;
  color: var(--text-color);
}

img {
  pointer-events: none;
}

section {
  min-height: 100vh;
  padding: 10rem 9% 2rem;
}

/* ------------------------------------------------------------ */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem 9%;
  background: var(--bg-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

#gslogo {
  width: 8rem;
  height: 8rem;
}

#burger-icon {
  display: none;
}

.navbar a {
  font-size: 1.6rem;
  color: var(--main-color);
  margin-left: 4rem;
  text-transform: uppercase;
  font-weight: 700;
}

.icons {
  font-size: 4rem;
  color: var(--text-color);
  cursor: pointer;
  display: none;
}

#check {
  display: none;
}

#check:checked ~ .navbar {
  height: 26rem;
}

@media (max-width: 1000px) {
  .icons {
    display: block;
  }

  #check:checked ~ .icons #menu-icon {
    display: none;
  }

  #check:checked ~ .icons #close-icon {
    display: block;
  }

  .icons #close-icon {
    display: none;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--bg-color);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: 0.3s ease;
  }

  .navbar a {
    display: block;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
  }
}

/* ------------------------------------------------------------ */

h1 {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 1rem 1rem 1rem 0;
}

h2 {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 4rem 0rem 2rem 0rem;
}

h3 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--main-color);
}

h4 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--black-color);
}

h5 {
  font-size: 1.4rem;
  font-weight: 500;
  color: rgba(0, 36, 77, 0.5);
  font-style: italic;
}

p {
  font-size: 2rem;
  line-height: 1.4;
  margin: 1rem 1rem 1rem 0;
}

@media (max-width: 1000px) {
  h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 1.5rem 1.5rem 1.5rem 0;
  }

  h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 4rem 0rem 2rem 0rem;
  }

  p {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-left: 1.5rem 1.5rem 1.5rem 0;
  }
}

/* ------------------------------------------------------------ */

section.home {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 2rem;
}

.home-img img {
  width: 30vw;
  align-items: center;
  margin-bottom: 4rem;
  display: none;
}

.home .btn {
  margin: 2rem 0rem 4rem 0rem;
  display: inline-block;
  padding: 1.5rem 1.5rem;
  background: var(--text-color);
  border-radius: 10px;
  font-size: 1.6rem;
  color: var(--bg-color);
  letter-spacing: 0.1rem;
  font-weight: 700;
}

@media (max-width: 1000px) {
  section.home {
    display: block;
  }

  .home-img {
    object-fit: contain;
  }
  
  .home-img img {
    width: 70vw;
    display: block;
  }
}

/* ------------------------------------------------------------ */

footer {
  background: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 9% 4rem;
  gap: 5rem;
}

.logo-pack {
  align-items: center;
  display: flex;
  gap: 2rem;
}

#logo-footer-1 {
  height: 10rem;
}

#logo-footer-2 {
  height: 14rem;
}

.footer-identity {
  flex: 5 1 auto;
}

.footer-identity p {
  color: var(--bg-color);
}

.copyright {
  font-size: 1.5rem;
}

.copyright .link {
  text-decoration: underline;
}

.footer-identity h3 {
  font-size: 2rem;
  text-align: left;
  line-height: 1.2;
  font-weight: 700;
  color: var(--bg-color);
}

#facebook-logo {
  fill: var(--bg-color);
  width: 11.67px;
  height: 22.49px;
  margin: 1rem;
}

#instagram-logo {
  fill: var(--bg-color);
  width: 22.457px;
  height: 22.496px;
  margin: 1rem;
}

#linkedin-logo {
  fill: var(--bg-color);
  width: 23px;
  height: 23px;
  margin: 1rem;
}

.footer-menu h3 {
  font-size: 2.8rem;
  text-align: left;
  line-height: 1.2;
  font-weight: 700;
  color: var(--bg-color);
}

.footer-contact h3 {
  font-size: 2.8rem;
  text-align: left;
  line-height: 1.2;
  font-weight: 700;
  color: var(--bg-color);
}

.footer-socials {
  margin-bottom: 2rem;
}

footer a {
  color: var(--bg-color);
  text-align: left;
  font-size: 1.6rem;
  line-height: 1.4;
  margin: 2rem 0px;
}

footer > hr {
  border: 1px solid var(--bg-color);
}

@media (max-width: 1000px) {
  footer {
    display: flex;
    flex-direction: column-reverse;
    gap: 4rem;
    align-items: flex-start;
  }
}
