<template>
  <div class="container">
    <div class="square1 square-big"></div>
    <div class="square2"></div>
    <div class="square3 square-big"></div>
    <div class="square4"></div>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
  methods: {},
  computed: {},
}
</script>

<style scoped lang="scss">
$r: 300rem;
.container {

  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  &::after {
    content: "";
    width: calc(2 * #{$r});
    height: calc(2 * #{$r});
    border-radius: 100%;
    background: linear-gradient(to right,#76cff5, #76cff5 calc(#{$r} * 0.3), #577cd7 calc(#{$r} + #{$r} * 0.2), #577cd7);
    transform: translateY(calc(-50% - calc(#{$r} * 0.938)));

    z-index: 0;
    position: absolute;
    top: 0;
    left: calc(50% - #{$r});
  }

  @mixin square {
    width: 5.3rem;
    height: 5.3rem;
    border-radius: 2px;
    background: #FFFFFF;
    opacity: 0.23;

    z-index: 1;
    position: absolute;

    &-big {
      width: 7.03rem;
      height: 7.03rem;
    }
  }

  .square1 {
    @include square;

    left: 44.33rem;
    top: 2rem;
  }
  .square2 {
    @include square;

    left: 47.2rem;
    top: 5.47rem;
  }
  .square3 {
    @include square;

    right: 37.07rem;
    top: 2rem;
  }
  .square4 {
    @include square;

    right: 36rem;
    top: 5.47rem;
  }
}
</style>
