@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
}

:root {
  --backgroundcolor1: rgb(21, 21, 241);
  --backgroundcolor2: red;
  --backgroundcolor3: black;
  --white: white;
  --black: rgb(32, 30, 30);
}

body {
  position: relative;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  background-color: var(--backgroundcolor1);
  margin-left: 3rem;
  font-family: "Roboto Condensed", sans-serif;
}

img {
  width: 4rem;
}
.logo img {
  background-color: transparent;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem 1rem 0rem;
}
nav {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  right: 0;
  left: 200%;
  background-color: transparent;
  display: flex;
  justify-content: flex-end;
  transition: left 0.5s, background-color 1s;
  transition-delay: all 1s;
}

nav.active {
  left: 0;
  gap: 3rem;
  padding-right: 5rem;
  padding-block: 1.5rem;
}
nav a {
  color: var(--white);
  background-color: var(--Offwhite);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.navbar {
  position: relative;
  display: flex;
  gap: 1.2rem;
  padding: 0.4rem 0.6rem;
  border-radius: 0.8rem;
  border: none;
}
.navbar > i {
  font-size: 1.5em;
  color: var(--black);
  border: none;
  outline: none;
  border-radius: 50%;
  cursor: pointer;
}

nav #close {
  position: absolute;
  cursor: pointer;
}

main {
  display: flex;
  gap: 30rem;
  padding-top: 4rem;
}

.left {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.left h3 {
  color: var(--white);
  font-size: 4em;
  font-weight: 800;
}
.left h1 {
  color: var(--white);
  font-size: 6em;
  font-weight: 800;
  margin-top: -1.5rem;
}

.left p {
  color: rgb(209, 203, 203);
  margin-top: -0.6rem;
}
.left button {
  padding: 0.9rem 0.7rem;
  border-radius: 1.5rem;
  background-color: var(--white);
  border: none;
  color: var(--black);
  font-weight: 700;
  width: 300px;
  margin-top: 1rem;
}
.right {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
}
.right img {
  width: 18rem;
}
.right .logo {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  color: white;
}

footer {
  position: relative;
  display: flex;
  max-width: 1200px;
  gap: 1.5rem;
  padding-top: 5rem;
  padding-inline: auto;
  padding-left: 40%;
}
footer img {
  transition: 0.8s;
}
footer img:active {
  transform: translateY(-35px);
}

body.theme2 {
  background-color: var(--backgroundcolor2);
}

body.theme3 {
  background-color: var(--backgroundcolor3);
}

@media screen and (min-width: 320px) and (max-width: 425px) {
  nav {
    display: none;
  }

  main {
    flex-direction: column;
    gap: 4rem;
    padding-right: 1rem;
  }
  .left {
    justify-content: center;
    align-items: center;
  }
  .left h3 {
    display: flex;
    flex-direction: column;
    margin-inline: auto;
    align-items: center;
    justify-content: center;
  }
  .left button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
  }
  footer {
    justify-content: center;
    align-items: center;
    padding-left: 2rem;
    padding-right: 3rem;
    padding-block: 2.5rem;
  }
  body {
    margin: 0.1rem 0.8rem;
  }
  .right {
    flex-direction: column;
    gap: 1.5rem;
  }
  .right .logo {
    flex-direction: row;
    gap: 2rem;
  }
  nav.active {
    display: flex;
    flex-direction: column;
    left: 0;
    gap: 2rem;
    top: -50rem;
    bottom: 15rem;
    padding-left: 0.8rem;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0.999;
    backdrop-filter: blur(30rem);
  }
}

@media screen and (min-width: 426px) {
  .navbar {
    display: none;
  }

  nav {
    position: static;
    justify-content: flex-start;
  }
  nav a {
    flex-direction: row;
    padding: 0 3rem 0 0;
  }
}
