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

:root {
  --Soft-Blue: rgb(83, 104, 223);
  --Soft-Red: hsl(0, 94%, 66%);
  --Grayish-Blue: hsl(229, 8%, 60%);
  --Very-Dark-Blue: hsl(229, 31%, 21%);
  --gray: #f5f6f6;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
  font-family: "Rubik", sans-serif;
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
}
header {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin-inline: auto;
  align-items: center;
  margin-top: 1%;
  flex-wrap: wrap;
}
.humbergeru {
  display: none;
}
nav,
nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}
nav ul {
  list-style: none;
}
nav ul li a {
  font-family: "Rubik", sans-serif;
  list-style: none;
  text-decoration: none;
  font-size: 0.75rem;
  color: var(--Very-Dark-Blue);
  cursor: pointer;
  transition: color 0.3s ease;
}
nav ul li a:hover {
  color: var(--Soft-Red);
}
nav button,
.message button {
  padding: 0.5rem 1.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  background: var(--Soft-Red);
  box-shadow: 5px 5px 10px rgba(225, 225, 225, 0.7);
  border: 2px solid var(--Soft-Red);
  border-radius: 0.2rem;
  border-color: var(--Soft-Red);
  cursor: pointer;
  transition: all 0.3s ease;
}
nav button:hover,
.message button:hover {
  background-color: white;
  color: var(--Soft-Red);
}

main {
  width: 80%;
  margin-inline: auto;
}
.hero_section {
  display: flex;
  flex-direction: row;
  margin-top: 9%;
  /* gap: 5rem; */
}
.left_side {
  padding-top: 6%;
}

.left_side h1 {
  color: var(--Very-Dark-Blue);
  font-size: 2.5rem;
  font-weight: 500;
}
.left_side p,
.transition p,
.transition2 p {
  color: var(--Grayish-Blue);
  margin-top: 5%;
  /* font-size: 0.9rem; */
  line-height: 1.3rem;
  text-align: start;
}
.left_button {
  margin-top: 10%;
}

.left_button button,
.more_info,
.card_browser button {
  padding: 0.8rem 1.2rem;
  box-shadow: 5px 5px 10px rgba(225, 225, 225, 0.8);
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  border-radius: 0.3rem;
  cursor: pointer;
}
.left_button button:first-of-type,
.more_info,
.card_browser button {
  color: white;
  margin-right: 5%;
  background: var(--Soft-Blue);
  border: 2px solid var(--Soft-Blue);
}
.left_button button:first-of-type:hover,
.more_info:hover,
.card_browser button:hover {
  color: var(--Soft-Blue);
  background: white;
}
.left_button button:last-of-type {
  color: var(--Very-Dark-Blue);
  background: var(--gray);
  border: 2px solid var(--gray);
}
.left_button button:last-of-type:hover {
  color: var(--Very-Dark-Blue);
  background: white;
  border: 2px solid var(--Very-Dark-Blue);
}
.right_side img {
  position: relative;
  left: 11%;
}
.right_side::after {
  content: "";
  display: block;
  width: 40%;
  height: 57%;
  position: absolute;
  bottom: 4%;
  right: -5%;
  border-radius: 0 0 0 37%;
  background: var(--Soft-Blue);
  z-index: -100;
}

.features {
  margin-top: 2%;
  color: var(--Very-Dark-Blue);
  text-align: center;
}
.transition p,
.transition2 p {
  text-align: center;
  text-wrap: wrap;
  width: 50%;
  margin: auto;
  margin-top: 3%;
}

.tab {
  margin-top: 4%;
  margin-bottom: 5%;
  margin-inline: auto;
  text-align: center;
  position: relative;
}
.tab button {
  color: #6d6d75;
  background-color: white;
  cursor: pointer;
  font-size: 0.9rem;
  width: 33%;
  padding-bottom: 1rem;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid var(--Grayish-Blue);
  position: relative;
}
.tab button:hover {
  color: var(--Soft-Red);
}
.tab .active {
  color: var(--Very-Dark-Blue);
  border-bottom: 5px solid var(--Soft-Red);
  position: relative;
  top: -5px;
}

.tabcontent.slide-right {
  animation: slideRight 0.5s forwards;
}
.switch_tab,
.download_section,
.hero_section,
.frequently_question {
  height: 100vh;
}
@keyframes slideRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.tabcontent.slide-left {
  animation: slideLeft 0.5s forwards;
}
@keyframes slideLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

#Tab1 img,
#Tab2 img,
#Tab3 img {
  float: left;
}
.tab1 h1,
.tab2 h1,
.tab3 h1 {
  font-size: 2rem;
}
.tab1 p,
.tab2 p,
.tab3 p {
  margin-top: 2%;
}
.more_info {
  margin-top: 2%;
}

.tabcontent .whith_after_element {
  position: relative;
}
.tabcontent .whith_after_element::after {
  content: "";
  display: block;
  width: 60%;
  /* height: 57%; */
  height: 18rem;
  position: absolute;
  bottom: -25rem;
  left: -18%;
  border-radius: 0 0 30% 0;
  background: var(--Soft-Blue);
  z-index: -100;
}
#Tab2 .whith_after_element::after {
  content: "";
  display: block;
  width: 46%;
  /* height: 57%; */
  height: 18rem;
  position: absolute;
  bottom: -23rem;
  left: -18%;
  border-radius: 0 0 30% 0;
  background: var(--Soft-Blue);
  z-index: -100;
}
#Tab3 .whith_after_element::after {
  content: "";
  display: block;
  width: 46%;
  /* height: 57%; */
  height: 18rem;
  position: absolute;
  bottom: -23rem;
  left: -18%;
  border-radius: 0 0 30% 0;
  background: var(--Soft-Blue);
  z-index: -100;
}
.tab2,
.tab3 {
  margin-left: 50%;
}
.transition2 {
  clear: both;
}
.browsers {
  margin-top: 8%;
  margin-bottom: 8%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.card_browser {
  padding: 0.7rem;
  box-shadow: 0px 10px 20px #eaecf9;
  border-radius: 1rem;
}
.card_browser p:first-of-type {
  color: var(--Very-Dark-Blue);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 15%;
}
.card_browser p:last-of-type {
  text-align: center;
  color: var(--Grayish-Blue);
  margin-bottom: 13%;
  font-size: 0.7rem;
}
.required {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.card_browser button {
  margin-top: 10%;
  width: 99%;
  margin-inline: auto;
}
.card_browser:nth-child(2) {
  position: relative;
  bottom: -3rem;
}
.card_browser:nth-child(3) {
  position: relative;
  bottom: -6rem;
}

.faq {
  margin-top: 7%;
  margin-bottom: 7%;
  width: 50%;
  margin-inline: auto;
}
.faq1 {
  padding: 1rem;
}
.faq1:nth-child(odd) {
  border-top: 1px solid gray;
  border-bottom: 1px solid gray;
}
.faq1:last-of-type {
  border-bottom: 1px solid gray;
}
.faq_head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq_head p:hover {
  color: var(--Soft-Red);
}
.faq_head p,
.faq_head img {
  color: var(--Very-Dark-Blue);
  font-size: 0.9rem;
  cursor: pointer;
}
.response {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease,
    margin-bottom 0.3s ease;
}
.response p {
  font-size: 0.9rem;
  color: var(--Very-Dark-Blue);
  line-height: 1.6rem;
  text-align: justify;
}
.rotate {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.contact {
  padding-top: 4%;
  background: var(--Soft-Blue);
}

.contact p {
  text-align: center;
  color: white;
}

.contact p:first-of-type {
  font-size: 0.7rem;
  letter-spacing: 0.4rem;
}
.contact p:last-of-type {
  margin-top: 2%;
  width: 25%;
  margin-inline: auto;
  font-size: 1.5rem;
}
.message {
  padding-bottom: 2%;
  padding-top: 3%;
  display: flex;
  justify-content: center;
  gap: 2%;
}
.message button {
  box-shadow: none;
}
.message input {
  border-radius: 0.3rem;
  padding: 0.7rem;
  border: none;
}
.message input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}
.message input:focus {
  border: none;
  outline: none;
}

.email {
  background: white;
  border-radius: 0.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-inline: 1rem;
}
.email img {
  display: none;
}
.email.error {
  border: 3px solid var(--Soft-Red);
}
.error img {
  display: block;
}
.bookmark-logo {
  display: none;
}
.error::after {
  content: "Whoops, make sure it's an email";
  width: 100%;
  /* height: 0px; */
  position: absolute;
  bottom: -20px;
  left: 0;
  background: var(--Soft-Red);
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  padding: 0.1rem;
  font-style: italic;
}
.faq_button {
  display: grid;
  place-items: center;
}

footer,
.lef_footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer {
  padding-inline: 10%;
  background: var(--Very-Dark-Blue);
  padding-top: 2%;
  padding-bottom: 0.4%;
}
.lef_footer {
  gap: 8rem;
}
.lef_footer nav ul li a {
  color: white;
}
.lef_footer nav ul li a:hover {
  color: var(--Soft-Red);
}
.side_footer img {
  cursor: pointer;
}
.side_footer img:last-of-type {
  margin-left: 2rem;
}
.close {
  display: none;
}
@media only screen and (max-width: 1030px) {
  html {
    font-size: 16px;
  }
  .switch_tab,
  .download_section,
  .hero_section,
  .frequently_question {
    height: auto;
  }
  .download_section,
  .frequently_question {
    margin-top: 20%;
  }
  .hero_section {
    flex-direction: column;
    flex-flow: column-reverse;
    margin-top: 6%;
  }
  .right_side::after {
    height: 43%;
    right: 0;
    bottom: 35%;
  }
  .right_side img,
  .whith_after_element img {
    max-width: 31rem;
    object-fit: cover;
  }
  .left_side h1 {
    /* margin-top: 4%; */
    text-align: center;
  }
  .left_side p {
    width: 90%;
    text-align: center;
    margin-top: 3%;
    margin-inline: auto;
  }
  .left_button {
    display: flex;
    justify-content: center;
    margin-top: 5%;
  }
  .transition {
    margin-top: 10%;
  }
  .transition p {
    width: 100%;
  }
  .tabcontent .whith_after_element::after {
    height: 16rem;
    bottom: 0;
  }
  #Tab2 .whith_after_element img {
    width: 26rem;
  }
  #Tab2 .whith_after_element::after {
    bottom: 0;
    width: 60%;
  }
  #Tab3 .whith_after_element img {
    width: 26rem;
  }
  #Tab3 .whith_after_element::after {
    bottom: 0;
  }
  #Tab1 img,
  #Tab2 img,
  #Tab3 img {
    float: none;
  }
  .container_buton {
    display: grid;
    place-items: center;
  }
  .tab2,
  .tab3 {
    margin-left: 0;
  }
  .browsers {
    flex-direction: column;
  }
  .card_browser:nth-child(2),
  .card_browser:nth-child(3) {
    bottom: 0;
  }
}

@media only screen and (max-width: 700px) {
  html {
    font-size: 15px;
  }
  .humbergeru {
    display: block;
    cursor: pointer;
  }
  .nav_header {
    display: none;
  }
  .nav_header {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 10%;
    width: 100%;
    height: 100vh;
    background-color: rgba(83, 104, 223, 0.9);
    flex-direction: column;
    z-index: 9999999;
    align-items: stretch;
  }
  .nav_header ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    width: 80%;
    margin-inline: auto;
  }
  .nav_header ul li {
    padding: 2rem;
    text-align: center;
  }
  .nav_header ul li a {
    color: white;
    font-size: 1rem;
  }
  .nav_header ul li:nth-child(odd) {
    border-top: 2px solid rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
  }
  .nav_header button {
    width: 80%;
    margin-top: 1rem;
    margin-inline: 10%;
    background: inherit;
    border-color: white;
    color: white;
    box-shadow: none;
    padding: 1rem;
  }
  .logo_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1rem;
  }
  .logo_header img:first-of-type {
    margin-left: 10%;
  }
  .close {
    display: block;
    width: 1rem;
    cursor: pointer;
    align-self: end;
    margin-right: 10%;
  }
  .bookmark-logo {
    display: block;
    width: 30%;
  }
  .right_side img {
    width: 20rem;
  }
  .right_side::after {
    height: 21%;
    right: 0;
    bottom: 61%;
    width: 62%;
  }
  .left_side h1 {
    width: 100%;
    font-size: x-large;
  }
  .left_button button {
    font-size: 0.8rem;
  }
  .features {
    font-size: 1.3rem;
  }
  .transition p {
    margin-top: 7%;
    margin-bottom: 9%;
  }
  .tab {
    display: flex;
    flex-direction: column;
  }
  .tab button {
    width: 100%;
  }
  #Tab1 .whith_after_element img {
    width: 20rem;
  }
  .tabcontent .whith_after_element::after {
    width: 71%;
    top: 27%;
    height: 77%;
  }
  .tab1 {
    margin-top: 4%;
  }
  .tab1 h2 {
    font-size: x-large;
  }
  .container_buton {
    margin-top: 4%;
  }
  #Tab2 .whith_after_element img {
    width: 17rem;
  }
  #Tab2 .whith_after_element::after {
    height: 73%;
    top: 29%;
  }
  #Tab3 .whith_after_element img {
    width: 18rem;
  }
  #Tab3 .whith_after_element::after {
    top: 41%;
    width: 67%;
    height: 66%;
  }
  .tab3 h1 {
    margin-top: 8%;
  }
  .transition2 p,
  .faq {
    width: 100%;
  }
  .faq_head p,
  .response p {
    font-size: 0.95rem;
  }
  .contact p:first-of-type {
    margin-top: 6%;
  }
  .contact p:last-of-type {
    width: 70%;
    margin-top: 7%;
    margin-bottom: 5%;
  }
  .message {
    padding-bottom: 7%;
  }
  footer,
  .lef_footer,
  .lef_footer nav ul {
    flex-direction: column;
  }

  nav ul li a {
    font-size: 0.9rem;
  }
  .lef_footer {
    margin-top: 4%;
    gap: 2rem;
  }
  .side_footer {
    margin-top: 5%;
  }
  .hero_section .left_side {
    margin-top: 10%;
  }
}
