/*
 * Copyright (c) 2021. All Rights Reserved.
 * Written by Jonathan Castillo for the University of the Cordilleras
 * Modified by JonathanCastillo with last update on 09/07/2021, 4:23 PM
 */

.preloader-wrapper {
  width: 100vw;
  height: 100vh;

  display: flex;
}

.preloader {
  margin: auto;

  width: 200px;
  height: 200px;
  position: relative;
  display: flex;
}

.preloader-img {
  position: absolute;
  top: 84px;
  left: 84px;
  width: 32px;
  height: 32px;
}

.spinner {
  margin: auto;
  width: 80px;
  height: 80px;
  background: #049948;
  border-radius: 50%;
  position: center;
  display: inline-block;
  z-index: -1;
}

.spinner:after,
.spinner:before {
  content: "";
  display: block;
  border-radius: 50%;
}

.spinner-animated:after {
  position: absolute;
  top: 56px;
  left: 56px;
  width: 80px;
  height: 80px;
  border: 4px solid transparent;
  border-top-color: #049948;
  border-bottom-color: #049948;
  animation: spin 2s linear infinite;
}

.spinner-animated:before {
  position: absolute;
  width: 80px;
  height: 80px;
  background-color: floralwhite;
  animation: shrink 2s ease-in-out infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg) scale(1.1);
  }
  50% {
    transform: rotate(180deg) scale(1.3);
  }
  100% {
    transform: rotate(360deg) scale(1.1);
  }
}

@keyframes shrink {
  0% {
    transform: scale(0.7);
  }
  50% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(0.7);
  }
}
