@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@100;300;400;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #C65D7B;
}

.box {
  position: relative;
  width: 220px;
  height: 220px;
  background-color: #F6E7D8;
  border-radius: 50%;
  overflow: hidden;
  margin-left: 63px;
}

.box::before {
  content: "";
  position: absolute;
  inset: -10px 100px;
  background: linear-gradient(#e32727, #151414);
  transition: 0.5s;
  -webkit-animation: animate 4s linear infinite;
          animation: animate 4s linear infinite;
}
.box::after {
  content: "";
  position: absolute;
  background-color: #fbf5f5;
  inset: 10px;
  border-radius: 50%;
  z-index: 1;
}
.box .content {
  position: absolute;
  inset: 30px;
  border: 6px solid #f52424;
  z-index: 3;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  flex-direction: column;
}
.box .content img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transition: 0.5s;
  text-align: center;
  pointer-events: none;
  z-index: 3;
}
.box .content h2 {
  position: relative;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  padding: 10px 0;
}
.box .content h2 span {
  display: block;
  font-weight: 300;
  font-size: 13px;
  padding: 5px 0;
}
.box .content a {
  position: relative;
  background-color: transparent;
  color: #101010;
  padding:  0px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: 0.5s;
}

.box:hover::before {
  inset: -20px 0px;
}
.box:hover img {
  opacity: 0;
}

@-webkit-keyframes animate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes animate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.con-text{
  margin-top: 20px;
  margin-left: -20px;
  padding-left: 20px;
  text-align: center;
}
.box .icon{
  position: relative;
  display: inline-block;
  font-size: 50px;
  line-height: 1em;
  color: black;
  margin-bottom: 15px;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

#q-img2{

  margin-left: 100px;

}
#ch-img{
  
  
  transition: transform .2s; /* Animation */
  
  margin: 0 auto;

}
#ch-img:hover{
  transform: scale(1.1);
}




.box1 {
  --border-size: 3px;
  --border-angle: 0turn;
  width: 20rem;
  height: 20rem;
  background-image: conic-gradient(from var(--border-angle), rgb(35, 34, 34),  rgb(167, 7, 15) 50%, rgb(234, 28, 39)), conic-gradient(from var(--border-angle), transparent 20%, rgb(10, 11, 11), #f03);
  background-size: calc(100% - (var(--border-size) * 2)) calc(100% - (var(--border-size) * 2)), cover;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-animation: bg-spin 3s linear infinite;
          animation: bg-spin 3s linear infinite;
  padding: 10px;
  margin-bottom: 5rem;
  
}
@-webkit-keyframes bg-spin {
  to {
    --border-angle: 1turn;
  }
}
@keyframes bg-spin {
  to {
    --border-angle: 1turn;
  }
}
.box1:hover {
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
}

@property --border-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0turn;
}

.img1 {
  
  width:30rem;
  --c: #a70909; /* the border color */
  --b: 5px;    /* the border thickness*/
  --g: 5px;     /* the gap on hover */
  margin-left: 2rem;
  margin-top: 2rem;
  padding: calc(var(--g) + var(--b));
  --_g: #0000 25%,var(--c) 0;
  background: 
    conic-gradient(from 180deg at top    var(--b) right var(--b),var(--_g))
     var(--_i,200%) 0  /200% var(--_i,var(--b))  no-repeat,
    conic-gradient(            at bottom var(--b) left  var(--b),var(--_g))
     0   var(--_i,200%)/var(--_i,var(--b)) 200%  no-repeat;
  transition: .3s, background-position .3s .3s;
}
.img1:hover {
  --_i: 100%;
  transition: .3s, background-size .3s .3s;
}