* {
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 20px;
  height: 40px;
}

::-webkit-scrollbar-thumb {
  background-color: #95a6a8;
  border-radius: 30px;
}

::-webkit-scrollbar-track {
  background-color: #cbcbcb;
}

:root {
  --card-height: 70%;
  --icon-height: 3.7rem;
  --sms-B: linear-gradient(to right bottom, skyblue, 60%, white);
  --call-B: linear-gradient(to right bottom, blue, black);
  --insta-B: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
  --wa-B: linear-gradient(to right bottom, #3dda59, 60%, white);
  --background-black: #1c1c1c
}

body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  margin: 0;
  padding: 0;
  background-color: var(--background-black);
}


#header1 {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--background-black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 1.5em;
  z-index: 99;
  font-size: max(7vw, 2rem);
}

h2 {
  display: inline-block;
  background-image: linear-gradient(to right bottom, #f00 40%, #FFF);
  text-transform: uppercase;
  background-size: 100%;
  /* color: transparent; */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
  line-height: 100%;
  overflow: hidden;
  margin: 0;
  font-family: 'Anton', sans-serif;
}

input,
label {
  display: none;
}


#i-i {
  height: max-content;
  width: max-content;
  font-size: max(4vw, 3.4rem) !important;
  border: 0;
  background-color: transparent;
}

#nav-C {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-content: center;
  justify-content: space-between;
  top: 0;
  left: 0px;
  bottom: 0;
  font-size: clamp(1rem, 2.5vw, 5rem);
  flex: .7 0 15em;
}



.nav-links {
  color: #fff;
  font-family: 'Changa', sans-serif;
  padding: 4% 4%;
}

a {
  text-decoration: none;
}

#container {
  width: 100%;
  height: calc(190vh + 10rem);
  background-color: #1773ea;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: space-around;
}

#container .card {
  position: relative;
  background-color: #0e0c1a;
  width: clamp(14rem, 40vw, 60rem);
  height: clamp(14rem, 40vw, 60rem);
  margin: 50px 0 0 0px;
}

/* .link-CC {
  position: absolute  ;
} */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  background: url(img/maryam.gh.samani-20220919-0001.jpg) no-repeat;
  background-size: 100% 70%;
}

.links {
  display: flex;
  position: relative;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: calc(100% - var(--card-height));
  position: absolute;
  bottom: 0;
  background-color: #0e0c1a;
}

/* i {
  position: relative;
  width: clamp(.1rem, 2vw, 5rem);height: clamp(.5rem, 5vw, 5rem);
} */

.lord {
  position: relative;
  width: clamp(1.7rem, 7vw, 10rem);
  height: clamp(1.7rem, 7vw, 10rem);
  border-radius: 10px;
  transition: .5s ease-in-out;
  box-shadow: 0px 10px 25px #c1c1c1;
  background-color: #e9f9f9;
}

.lord p {
  position: absolute;
  right: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  margin: 0;
  justify-self: flex-end;
  font-size: clamp(.3rem, 3vw, 2.5rem);
  color: inherit;
  font-weight: 900;
  width: max-content;
  opacity: 0;
}

.lord:hover p {
  opacity: 1;
  right: 50%;
  top: 50%;
  transform: translate(50%, -50%);
}

.lord:hover {
  width: clamp(1rem, 14vw, 20rem);
  color: white;
  /* width: 15rem; */
}

#lord1:hover {
  background: var(--call-B);
  color: white;
}

#lord2 {
  color: skyblue;
}

#lord2:hover {
  background: var(--sms-B);
  color: #000 !important;
}

#lord3:hover {
  background: var(--wa-B);
}

#lord4:hover {
  background: var(--insta-B);
}

.lord i {
  position: absolute;
  /* top: 0; */
  transition: .5s ease-in-out;
  transition-delay: -0.5s;
  right: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  font-size: clamp(1rem, 7vw, 9rem);
}

.lord:hover i {
  display: none;
  right: 0;
  transform: translate(0%, -50%);

}

iframe {
  display: block;
  margin: 5rem;
  width: clamp(18rem, 60%, 150rem);
  height: clamp(18rem, 40vw, 150rem);
}

a {
  border-radius: 50%;
  display: inline-block;
}

/* ICONS .\😘😉🙌🐱‍👤🐱‍👓🎂✔ */
.ri-instagram-fill {
  background-image: var(--insta-B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ri-whatsapp-fill {
  color: #06bb38;
}

footer {
  position: relative;
  bottom: 0;
  display: block;
  width: 100%;
  /* height: 10rem; */
}

footer #nav-C {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-content: flex-end;
  align-items: flex-end;
  justify-content: center;
  background-color: var(--background-black);
  /* margin-bottom: 1.5em; */
  font-size: clamp(1rem, 3vw, 5rem);
  flex: .7 0 5em;
}

footer #nav-C a {
  padding: .5em 1em;
}

#me p {
  font-size: clamp(.5rem, 3.3vw, 10rem);
  font-weight: 900;
  text-align: center;
  background-color: #FA8BFF;
  background-image: repeating-linear-gradient(45deg, #33209d 1%, #FA8BFF 2%, #2BD2FF 3%, #2BFF88 4%, #33209d 5%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ME 20s infinite linear;
  background-size: 600%;
  position: relative;
  display: block;
  margin: auto;
  font-family: 'Silkscreen',
    cursive;
}

#me:hover p {
  animation: ME 10s infinite linear;
}

#me:hover p::after,
#me:hover p::before {
  /* animation: ME .8s alternate infinite ease-in; */
  animation: brd-ani 3s infinite linear;
}

#me {
  text-align: center;
  width: 50%;
  background-color: var(--background-black);
  margin: 0 auto;
  /* margin-bottom: 2rem; */
}

#me p::before,
#me p::after {
  content: "";
  position: absolute;
  animation: brd-ani 6.5s infinite linear;
  top: -10px;
  right: -10px;
  left: -10px;
  bottom: -10px;
  border: 3px solid #fff;
  border-radius: .1em;
}

#me p::after {
  animation-delay: 3.25s;
}

#me:hover p::after {
  animation-delay: 1.5s;
}

@keyframes brd-ani {

  0%,
  100% {
    clip-path: inset(0 0 98% 0);
  }

  25% {
    clip-path: inset(0% 98% 0% 0%);
  }

  50% {
    clip-path: inset(98% 0% 0% 0%);
  }

  75% {
    clip-path: inset(0% 0% 0% 98%);
  }
}

@keyframes ME {
  from {
    background-position: 0%;
  }

  to {
    background-position: 93%;
  }
}

@media screen and (max-width:700px) {

  label {
    display: block;
    float: right;
    display: flex;
    align-items: center;
    color: #fff;
  }

  #container {
    height: calc(100vh + 10rem);
  }

  #nav-C {
    display: grid;
    position: absolute;
    top: 100%;
    width: 100%;
    height: 0rem;
    transition: .8s;
    background-color: orangered;
    color: #fff;
    justify-content: center;
    justify-items: center;
    align-items: center;
    align-content: stretch;
    font-size: clamp(1rem, 5vw, 2rem);
    overflow: hidden;
  }

  #btn:checked~#nav-C {
    height: clamp(12rem, 20vh, 50rem);
  }

  a.nav-links {
    padding: .1em;
    line-height: .2em;
  }

  footer #nav-C {
    display: flex;
    flex-direction: row-reverse;
    align-content: flex-end;
    align-items: flex-end;
    justify-content: center;
    background-color: var(--background-black);
    font-size: clamp(.7rem, 4vw, 1.7rem);
    flex: .7 0 5em;
    height: max-content;
  }

  footer #nav-C a {
    padding: 1.2em 1.2em;
  }
}