@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,body{
  height: 100vh;
  width: 100vw;
  overflow-x: hidden;
  font-family: "Roboto", sans-serif;
}
nav{
  margin: 2vh 0;
  padding: 0 10vh ;
  height: 7%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav .name a{
  text-decoration: none;
  color: rgba(0, 0, 0, 0.267);
}
nav .name{
  display: flex;
  gap: 3vh;
}
nav .logo {
  transform: scale(1.5);
}
.backgroundFix {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
nav .userLogo{
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background-image: url(https://images.unsplash.com/photo-1633332755192-727a05c4013d?q=80&w=880&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
}
main{
  height: 100%;
  width: 100%;
  padding:  5vh 30vh;
}
main p{
  margin: 2vh 0;
  width: 50%;
}
main .grid {
  height: 80%;
  width: 100%;
  display: flex;
  gap: 3vh;
}
main .left, main .right  {
  height: 100%;
  width: 100%;
  display: flex;
  gap: 2vh;
  flex-direction: column;
  flex-wrap: nowrap;
}
.flex{
  display: flex;
  gap: 2vh;
  height: 100%;
  width: 100%;
}
.card{
  position: relative;
  padding: 10px;
  height: 100%;
  width: 100%;
  border-radius: 1.5vh;
  color: white;
}
.head{
  font-weight: 900;
  font-size: 20px;
}
.btn{
  margin-top: 10vh;
  padding: 1vh;
  border-radius: 0.5vh;
  cursor: pointer;
  font-weight: 800;
  border: none;
}
.page2{
  margin-top: 10%;
  height: 50%;
  width: 100%;
}
@media ( max-width:900px ) {
  nav .name{
    display: none;
  }
  main p{
    margin: 2vh 0;
    width: 100%;
  }
  main{
    padding: 0px 10vh;
  } 
  main .grid{
    flex-direction: column;
  }
}
@media ( max-width:500px ) {
  .flex{
    flex-direction: column;
  }
}