* {
  margin: 0;
  padding: 0;
  text-align: center;
  user-select: none;
}
nav{
  color: #c01b2d;
  font-family:tahoma;
  display: flex;
  justify-content: space-between;
  position: sticky;
  top: 0px;
  max-width: 880px;
  border: none;
  border-radius: 10px;
  margin: auto;
  padding: 10px;
z-index: 100;
background-color: rgba(0, 0, 0, 0.529);
backdrop-filter: blur(3px);
align-items: center;
}
nav img{
  border-radius: 50px;
  width: 50px;
}
.container {
  margin: auto;
  padding: 30px;
  max-width: 900px;
  /* margin-top: 10px; */
  display: grid;
  grid-auto-rows: 200px;
  grid-template-areas:
    "b b b b"
    "c c c c"
    "d d d d"
    "e e e e";
  grid-gap: 10px;
}
.sec {
  border: solid lightgray;
  justify-content: center;
  align-items: center;
  background-position: center;
  backdrop-filter: blur(2px);
  border-radius: 20px;
  padding: 10px;
  margin: 10px;
  transition: ease-in-out 0.3s;
}
.t{
  display: none;
}
.team{
  border-radius: 50px;
  display: none;
  justify-content: center;
  align-items: center;
  margin: 10px;
  margin-top: 100px;
  height: 100px;
  width:  100px;
  border: solid white;
}
.s2 {
  grid-area: b;
  background-color: #212121;
  display: flex;
  color: #c01b2d;
}
.s3 {
  grid-area: c;
  background-color: #212121;
  display: flex;
  color: #c01b2d;
}
.s4 {
  grid-area: d;
  background-color: #212121;
  display: flex;
  color: #c01b2d;
}
.s5 {
  grid-area: e;
  background-color: #212121;
  display: flex;
  color: #c01b2d;
}
span{
    display: none;
    background-color: red;
    z-index: 1000;
    width: 20px;
    height: 20px;
    color: black;
    position: fixed;
    border-radius: 50px;
    top: 10px;
    left: 10px;
}
:target{
    position: fixed;
    width: 80%;
    max-width: 1000px;
    background-color: black;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    height: 90%;
    top: 10px;
    z-index: 100;
}
body:has(:target) span{
    display: block;
}
body:has(#contact:target) form{
    display: block;
}
body:has(#team:target) .team{
  display: inline-flex;
}
body:has(#team:target) .t{
  display: block;
}
body:has(:target) {
overflow-y: hidden;
}
form{
    margin: auto;
    display: none;
}
.packs{
  display: none;
}
body:has(#packs:target) .packs{
  display: block;
}
body:has(:target) h3{
  display: none;
}
input{
    width: 70%;
    max-width: 300px;
    height: 30px;
    margin: 10px;
    border-radius: 10px;
    transition: 0.1s ease-in-out;
    border: none;
}
textarea{
    width: 70%;
    max-width: 300px;
    height: 70px;
    border-radius: 10px;
    resize: none;
}
input[type=submit]:active{
scale: .93;
}

@media screen and (min-width: 600px) {
  .container {
    grid-template-areas:
      "c c b b"
      "d d e e";
  }
}
@media screen and (min-width: 900px) {
  .container {
    grid-template-areas:
      "c c b b"
      "c c b b"
      "e e d d";
  }
}
