@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

@font-face {
  font-family: anurati;
  src: url(./assets/font/Anurati-Regular.otf);
}

:root {
  --black: #070928;
  --blue: #3456FF;
  --offwhite: #F8F8FA;
  --white: #FFFFFF;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 10px;
}

body {
  width:100%;
  height:100%;
  font-size: 1.5rem;
  background: var(--offwhite);
  overflow-x: hidden;
}

.nav {
  height: 4.5rem;
  padding: 10px 10px;
  background: var(--blue);
  color: var(--white);
  font-family: anurati;
  font-weight: bold;
  font-size: 2.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

section {
  display: grid;
  margin: 2rem 0rem;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  row-gap: 2rem;
  justify-items: center;
}

@media only screen and (max-width: 767px)  {  section {
    grid-template-columns: 1fr 1fr;
  }
}

.profile {
  min-height: 22rem;
  width: 17rem;
  padding: 15px 0px;
  background: var(--white);
  border-radius: 4px;
  display: grid;
  row-gap: .5rem;
  justify-items: center;
  text-align: center;
  font-family: Montserrat;
  letter-spacing: 1px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.profile h3 {
  color: #5B5B5B;
  font-size: 1.7rem;
}

.profile img {
  width: 65%;
  border-radius: 50%;
  border: 5px solid #E4E4E4;
}

.profile a {
  position: relative;
  width: 55%;
  height: 3rem;
  margin: .75rem 0;
  font-family: nidsans;
  font-weight: bold;
  background: var(--white);
  border: 0.2rem solid var(--blue);
  outline: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: var(--black);
}

.profile a:hover {
  background: var(--blue);
  color: var(--white);
}


.box {
  width: 100%;
  height: 100%;
  position: fixed;
  display: grid;
  justify-content: center;
  align-items: center;
  background: var(--white);
  z-index: 100;
}


svg.tea {
  --secondary: #33406f;
}
svg.tea #teabag {
  transform-origin: top center;
  transform: rotate(3deg);
  animation: swing 2s infinite;
}
svg.tea #steamL {
  stroke-dasharray: 13;
  stroke-dashoffset: 13;
  animation: steamLarge 2s infinite;
}
svg.tea #steamR {
  stroke-dasharray: 9;
  stroke-dashoffset: 9;
  animation: steamSmall 2s infinite;
}
@-moz-keyframes swing {
  50% {
    transform: rotate(-3deg);
  }
}
@-webkit-keyframes swing {
  50% {
    transform: rotate(-3deg);
  }
}
@-o-keyframes swing {
  50% {
    transform: rotate(-3deg);
  }
}
@keyframes swing {
  50% {
    transform: rotate(-3deg);
  }
}
@-moz-keyframes steamLarge {
  0% {
    stroke-dashoffset: 13;
    opacity: 0.6;
  }
  100% {
    stroke-dashoffset: 39;
    opacity: 0;
  }
}
@-webkit-keyframes steamLarge {
  0% {
    stroke-dashoffset: 13;
    opacity: 0.6;
  }
  100% {
    stroke-dashoffset: 39;
    opacity: 0;
  }
}
@-o-keyframes steamLarge {
  0% {
    stroke-dashoffset: 13;
    opacity: 0.6;
  }
  100% {
    stroke-dashoffset: 39;
    opacity: 0;
  }
}
@keyframes steamLarge {
  0% {
    stroke-dashoffset: 13;
    opacity: 0.6;
  }
  100% {
    stroke-dashoffset: 39;
    opacity: 0;
  }
}
@-moz-keyframes steamSmall {
  10% {
    stroke-dashoffset: 9;
    opacity: 0.6;
  }
  80% {
    stroke-dashoffset: 27;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: 27;
    opacity: 0;
  }
}
@-webkit-keyframes steamSmall {
  10% {
    stroke-dashoffset: 9;
    opacity: 0.6;
  }
  80% {
    stroke-dashoffset: 27;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: 27;
    opacity: 0;
  }
}
@-o-keyframes steamSmall {
  10% {
    stroke-dashoffset: 9;
    opacity: 0.6;
  }
  80% {
    stroke-dashoffset: 27;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: 27;
    opacity: 0;
  }
}
@keyframes steamSmall {
  10% {
    stroke-dashoffset: 9;
    opacity: 0.6;
  }
  80% {
    stroke-dashoffset: 27;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: 27;
    opacity: 0;
  }
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

.sm-btn {
  height: 8rem;
  width: 90%;
  padding: 0 12px;
  display: flex;
  justify-content: space-between;
  margin: 5rem auto 2rem auto;
  border: 2px solid var(--blue);
  background: var(--white);
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.sm-btn .social {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: black;
  margin: auto;
  color: #fff;
  display: grid;
  align-content: center;
  justify-content: center;
  font-size: 2.5rem;
}
.sm-btn .social:nth-of-type(1) {
  background: linear-gradient(90deg,#ca3726,#e0675a)
}
.sm-btn .social:nth-of-type(2) {
  background: linear-gradient(90deg, #09c6f9, #045de9)
}
.sm-btn .social:nth-of-type(3) {
  background: linear-gradient(90deg,#ca2fde,#ed7236)
}
.sm-btn .social:nth-of-type(4) {
  background: linear-gradient(90deg, #1197d5, #0c6792)
}
.sm-btn .social:nth-of-type(5) {
  background: linear-gradient(90deg, #000000, #494949)
}
