@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

:root {
  --Blue-600: hsl(231, 69%, 60%);
  --Red-400: hsl(0, 94%, 66%);
  --Grey-50: hsl(0, 0%, 97%);
  --Blue-950: hsl(229, 31%, 21%);
  --Grey-2: hsl(229, 8%, 60%);

  --Rubik: "Rubik", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--Rubik);
}

.hero {
  margin-bottom: 40px;
}

li {
  margin-left: 35px;
  list-style: none;
  display: inline-block;
}

a {
  text-decoration: none;
  color: black;
}

.navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 30px 100px 30px 100px; /* top right bottom left */
}

.navbar-nav a {
  text-transform: uppercase;
  transition: 0.5s;
}

.navbar-nav a button {
  background: none;
  border: none;
  font: inherit;
  outline: none;
  cursor: pointer;
  border-radius: 7px;
  font-weight: 400;
  text-transform: uppercase;
  padding: 7px 30px 7px 30px;
  color: white;
  background-color: var(--Red-400);
  border: 2px solid hsl(0, 94%, 66%);
  box-shadow: 0 4px 0.3rem 0 rgba(0, 0, 0, 0.247);
  transition: 0.5s;
}

.navbar-nav a:hover {
  color: var(--Red-400);
}

.navbar-nav a button:hover {
  background-color: white;
  color: var(--Red-400);
}

.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 2rem 7rem; /* vertical horizontal */
}

.hero .left,
.hero .right {
  position: relative;
  flex-basis: 50%;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--Blue-950);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--Grey-2);
  margin-bottom: 30px;
}

.hero .links {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.hero .links a {
  margin-left: 1rem;
}

.hero .links .chrome {
  background: none;
  border: none;
  font: inherit;
  outline: none;
  cursor: pointer;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px 10px 20px;
  color: white;
  background-color: var(--Blue-600);
  border: 2px solid var(--Blue-600);
  transition: 0.5s;
}

.hero .links .firefox {
  background: none;
  border: none;
  font: inherit;
  outline: none;
  cursor: pointer;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px 10px 20px;
  color: black;
  background-color: var(--Grey-50);
  border: 2px solid var(--Grey-50);
  box-shadow: 0 1px 0.3rem 0 rgba(0, 0, 0, 0.247);
  transition: 0.5s;
}

.hero .links .chrome:hover {
  background-color: white;
  color: var(--Blue-600);
}

.hero .links .firefox:hover {
  background-color: white;
  border-color: black;
}

.hero .right img {
  width: 100%;
}

.hero .right::after {
  content: "";
  position: absolute;
  right: -10rem;
  bottom: -2rem;
  width: 100%;
  height: 80%;
  background: hsl(231, 69%, 60%);
  z-index: -1;
  border-top-left-radius: 30% 50%;
  border-bottom-left-radius: 30% 50%;
}

.features {
  padding: 1rem 7rem 6rem;
  min-height: 100vh;
  position: relative;
}

.features h2 {
  text-align: center;
  font-size: 1.8rem;
  color: var(--Blue-950);
  margin-bottom: 0.7rem;
}

.features p {
  text-align: center;
  line-height: 1.3;
  font-size: 1.1rem;
  color: var(--Grey-2);
  margin-bottom: 30px;
}

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

.features .features-controller p {
  padding: 1rem 2rem;
  border-bottom: 1px solid hsla(229, 8%, 60%, 0.308);
  position: relative;
  cursor: pointer;
  color: var(--Blue-950);
  transition: 0.5s;
}

.features .features-controller p:hover {
  color: var(--Red-400);
}

.features .features-controller .active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.15rem;
  background: var(--Red-400);
}

.features .features-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding: 0;
}

.features .features-tab .left {
  position: relative;
  flex-basis: 50%;
}

.features .features-tab .left img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.features .features-tab .left::after {
  content: "";
  position: absolute;
  left: -10rem;
  bottom: -4rem;
  width: 120%;
  height: 95%;
  background: var(--Blue-600);
  z-index: -1;
  border-top-right-radius: 30% 50%;
  border-bottom-right-radius: 30% 50%;
}

.features .features-tab .right {
  flex-basis: 50%;
  margin-left: 100px;
}

.features .features-tab .right h3 {
  font-size: 1.8rem;
  color: var(--Blue-950);
  margin-bottom: 0.7rem;
}

.features .features-tab .right p {
  text-align: left;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--Grey-2);
  margin-bottom: 2rem;
}

.features .features-tab .right a {
  padding: 0.6rem 1.2rem;
  color: white;
  background: var(--Blue-600);
  border: 2px solid var(--Blue-600);
  border-radius: 0.3rem;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.5s;
}

.features .features-tab .right a:hover {
  background: transparent;
  color: var(--Blue-600);
}

.download {
  padding: 8rem 10rem 2rem;
  min-height: 100vh;
}

.download h2 {
  text-align: center;
  font-size: 1.8rem;
  color: var(--Blue-950);
  margin-bottom: 0.7rem;
}

.download p {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--Grey-2);
}

.download .download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.download .download-row .download-col {
  flex-basis: 31%;
  text-align: center;
  box-shadow: 0 0 0.6rem 0 hsla(228, 4%, 22%, 0.322);
  padding: 2rem 1rem 2rem;
  border-radius: 0.8rem;
}

.download .download-row .download-col:nth-child(2) {
  margin-top: 4rem;
}

.download .download-row .download-col:nth-child(3) {
  margin-top: 8rem;
}

.download .download-row .download-col img {
  margin-bottom: 1.5rem;
}

.download .download-row .download-col h3 {
  font-size: 1.2rem;
  color: var(--Blue-950);
  margin-bottom: 0.5rem;
}

.download .download-row .download-col hr {
  margin: 2rem 0 1.5rem;
  border: 0;
  border-bottom: 4px dotted var(--Grey-2);
}

.download .download-row .download-col a {
  text-decoration: none;
  color: white;
  background: var(--Blue-600);
  border: 2px solid var(--Blue-600);
  padding: 0.7rem 1.5rem;
  border-radius: 0.3rem;
  font-size: 0.9rem;
  transition: 0.5s;
}

.download .download-row .download-col a:hover {
  background: transparent;
  color: var(--Blue-600);
}

.faq {
  padding: 4rem 23rem;
  text-align: center;
}

.faq h2 {
  text-align: center;
  font-size: 1.8rem;
  color: var(--Blue-950);
  margin-bottom: 0.7rem;
}

.faq p {
  text-align: center;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--Grey-2);
}

.faq .banner {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
}

.faq .banner li {
  width: 100%;
  list-style: none;
  padding: 1rem 0;
  border-bottom: 1px solid var(--Grey-2);
  font-weight: 500;
}

.faq .banner li:nth-child(1) {
  border-top: 1px solid var(--Grey-2);
}

.faq .banner li .text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: 0.5s;
}

.faq .banner li .text:hover {
  color: var(--Blue-600);
}

.faq .banner li .drop-down-text {
  display: none;
}

.faq .banner li .drop-down-text p {
  padding: 1.5rem 0 0.5rem;
  text-align: left;
  line-height: 1.6;
  color: var(--Blue-950);
  font-weight: 400;
}

.faq .btn {
  text-decoration: none;
  color: hsl(0, 0%, 100%);
  background: var(--Blue-600);
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  border-radius: 0.3rem;
  margin-top: 2rem;
  display: inline-block;
  border: 2px solid var(--Blue-600);
  transition: 0.5s;
}

.faq .btn:hover {
  background: transparent;
  color: var(--Blue-600);
}

.contact {
  padding: 4rem 7rem;
  background: var(--Blue-600);
  text-align: center;
  color: hsl(0, 0%, 100%);
}

.contact h3 {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 5px;
  margin-bottom: 2rem;
}

.contact h4 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1.8rem;
}

.contact form {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.contact form input {
  position: relative;
  padding: 0.7rem 5rem 0.7rem 1rem;
  font-size: 0.8rem;
  border: none;
  outline: none;
  border-radius: 0.2rem;
  color: hsl(229, 31%, 21%);
  border-top: 2px solid hsl(231, 69%, 60%);
  border-left: 2px solid hsl(231, 69%, 60%);
  border-right: 2px solid hsl(231, 69%, 60%);
  border-bottom: 25px solid hsl(231, 69%, 60%);
}

.contact form .error {
  position: absolute;
  width: 1rem;
  height: 1rem;
  bottom: 40%;
  transform: translateY(-50%);
  left: 54%;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s;
}

.contact form input::placeholder {
  color: hsl(229, 8%, 60%);
}

.contact form button {
  padding: 0.7rem 1rem;
  color: hsl(0, 0%, 100%);
  border: 2px solid hsl(0, 94%, 66%);
  background: hsl(0, 94%, 66%);
  outline: none;
  font-size: 0.8rem;
  border-radius: 0.2rem;
  margin-left: 1rem;
  cursor: pointer;
  transition: 0.5s;
}

.contact form button:hover,
.contact form button:focus {
  background: hsl(0, 0%, 100%);
  color: hsl(0, 94%, 66%);
}

.contact form span {
  position: absolute;
  bottom: 0.2rem;
  left: 33%;
  font-size: 0.7rem;
  font-style: italic;
}

footer {
  padding: 1.5rem 7rem;
  background: hsl(229, 31%, 21%);
}

footer nav {
  display: flex;
  align-items: center;
}

footer nav a img {
  filter: invert(1) brightness(100%) hue-rotate(180deg);
}

footer nav .links {
  flex: 1;
  margin-left: 4rem;
}

footer nav .links li {
  list-style: none;
  display: inline-block;
  margin-right: 1.5rem;
}

footer nav .links li a {
  text-decoration: none;
  color: hsl(0, 0%, 100%);
  text-transform: uppercase;
  font-size: 0.7rem;
  transition: 0.5s;
}

footer nav .links li a:hover,
footer nav .links li a:focus {
  color: hsl(0, 94%, 66%);
}

footer nav .social-links {
  display: flex;
  align-items: center;
}

footer nav .social-links li {
  display: inline-block;
  list-style: none;
  margin-left: 2rem;
}

footer nav .social-links li a img {
  filter: invert(0);
}
