* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
}

body{
  display: flex;
  background-color: #ddd;
  color: black;
  text-align: justify;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

h1 {
  position: relative;
  display: flex;
  top: 200px;
  margin: auto;
  color: black;
}

.card h1 {
  top: -100px;
}

.navbar .logo {
  margin: 50px;
  color: #efefef;
  font-size: 2em;
}

.navbar {
  display: flex;
  position: absolute;
  justify-content: space-between;
  align-items: center;
  background-color: #222;
  width: 100vw;
  box-sizing: border-box;
  z-index: 100;
}

.navbar .navlinks {
  display: flex;
  justify-content: center;
}

.navbar .navlinks ul {
  display: flex;
  justify-content: space-between;
}

.navbar .navlinks a {
  margin: 0 30px;
  color: #efefef;
}

.navbar .burger-menu {
  width: 50px;
  display: none;
  z-index: 100;
} 

@media screen and (max-width: 650px){
  .navbar .burger-menu {
    position: absolute;
    display: block;
    top: 40px;
    right: 30px;
  }

  .navbar .navlinks {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.241);
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    margin-left: -100%;
    transition: all 0.5s ease;
  }

  .navbar .mobile-menu {
    margin-left: 0;
  }

  .navlinks ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .navlinks ul li {
    margin: 30px 0;
  }
  
}

.test {
  display: flex;
  position: absolute;
  margin-top: 200px;
  height: 300px;
  width: 100vw;
  /* background: linear-gradient(0deg, #005, #00a); */
  background: linear-gradient(60deg, #FFA500, #7f00ff);
  clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 70%);
}

.test h1 {
  display: flex;
  position: absolute;
  top: 43%;
  left: 36%;
  /* transform: rotate(6.2deg); */
  color: white;
}

.mia{
  display: flex;
  position: absolute;
  top: 170px;
  left: 80px;
  height: 100px;
  width: 100px;
  border-radius: 50%;
  box-shadow: 0em 0em 0em 0.05em #222;
}

.pepsy {
  display: flex;
  position: absolute;
  top: 396px;
  left: 41%;
  height: 100px;
  width: 100px;
  border-radius: 50%;
  box-shadow: 0em 0em 0em 0.05em #222;
}

.nala {
  display: flex;
  position: absolute;
  top: 230px;
  right: 80px;
  height: 100px;
  width: 100px;
  border-radius: 50%;
  box-shadow: 0em 0em 0em 0.05em #222;
}

.test2 {
  display: flex;
  position: absolute;
  margin-top: 500px;
  height: 300px;
  width: 100vw;
  /* background: linear-gradient(0deg, #005, #00a); */
  background: linear-gradient(60deg, #FFA500, #7f00ff);
  clip-path: polygon(0 30%, 100% 0%, 100% 70%, 0% 100%);
}

.test2 h1 {
  display: flex;
  position: absolute;
  top: 43%;
  left: 36%;
  /* transform: rotate(6.2deg); */
  color: white;
}

.ginfob {
  display: flex;
  position: absolute;
  top: 530px;
  left: 80px;
  height: 100px;
  width: 100px;
  border-radius: 50%;
  box-shadow: 0em 0em 0em 0.05em #222;
}

.ginfon {
  display: flex;
  position: absolute;
  top: 665px;
  right: 80px;
  height: 100px;
  width: 100px;
  border-radius: 50%;
  box-shadow: 0em 0em 0em 0.05em #222;
}

@media screen and (max-width: 400px) {

  .test h1 {
    margin-left: 20%;
  }

  .nala {
    display: none;
    width: 0px;
  }

  .pepsy {
    display: none;
  }

  .ginfob {
    display: none;
  }

  .ginfon {
    top: 530px;
    left: 80px;
  }
  
}

.container {
    display: flex;
    justify-content: flex-start;
}

.loading p {
    font-size: 45px;
    font-weight: lighter;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    animation: typing 3s steps(11) infinite;
}

.loading p::after {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 1px;
    background: white;
    top: 0;
    right: 0;
    animation: cursor 1s infinite;

}

@keyframes typing {
    from {width: 0%;}
    to {width: 100%;}
}

@keyframes cursor {
    0%{
        opacity: 1;
    }
    50%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

.socialnetwork {
    padding-left: 10px;
    padding-right: 10px;
    background-color: white;
    width: 200px;
    height: 100px;
    float: right;
    overflow: scroll;
    scrollbar-color: black;
}

.socialnetwork::-webkit-scrollbar {
  width: 12px; /* width of the entire scrollbar */
}

.socialnetwork::-webkit-scrollbar-track {
  background: white; /* color of the tracking area */
}

.socialnetwork::-webkit-scrollbar-thumb {
  background-color: rgb(31, 137, 199); /* color of the scroll thumb */
  border-radius: 20px; /* roundness of the scroll thumb */
  border: 3px solid white; /* creates padding around scroll thumb */
}

.full-bleed{
  box-shadow: 0 0 0 100vmax var(--bg-color);
  clip-path: inset(0 -100vmax);
}

.inverse{
  --bg-color: #121212;
  background-color: #121212;
  color: #efefef;
}

.container {
  /*width: min(calc(80% - 2rem),60rem);*/
  margin-inline: auto;
}



/* Morpion */
.morpion{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  margin-top: 300px;
  margin-left: 33%;
}

#cells{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  width: 300px;
  margin: auto;
}

.cell{
  border: 1px solid black;
  height: 100px;
  line-height: 100px;
  font-size: 60px;
  text-align: center;
}

@media screen and (max-width: 650px) {
  .morpion {
    margin-left: 25%;
  }
}

@media screen and (max-width: 480px) {
  .morpion {
    margin-left: 5%;
  }
}
