﻿body {
  background: #662d91;
  animation: opening 1.5s ease-in-out forwards;
  -webkit-animation: opening 1.5s ease-in-out forwards; }

.nav-bar {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1;
  opacity: 1;
  clip-path: circle(50px at 100% -10%);
  -webkit-clip-path: circle(50px at 100% -10%); }

.nav-links {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  min-height: 50vh; }
  .nav-links .nav-btn {
    border: 2px solid #662d91;
    padding: 0.5em 1em;
    border-radius: 10px;
    color: black;
    font-size: 1.4rem;
    color: #662d91;
    margin: 2em; }

.activities {
  width: 100%;
  margin: auto;
  background: white;
  background-size: cover; }
  .activities .activities-wrapper {
    min-height: 62vh;
    max-width: 260px;
    margin: 0 auto;
    padding: 20px; }
    .activities .activities-wrapper .card {
      margin: 1em; }
      .activities .activities-wrapper .card h4 {
        text-align: center;
        color: #662d91;
        font-family: "Spartan", sans-serif;
        font-weight: lighter;
        padding-top: 0.5em; }
      .activities .activities-wrapper .card img.act-box {
        border-radius: 10px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
      .activities .activities-wrapper .card img.act-box:hover {
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22); }

@media only screen and (min-width: 500px) {
  .activities .activities-wrapper {
    max-width: 340px;
    padding: 30px; } }

@media only screen and (min-width: 800px) {
  .activities .activities-wrapper {
    max-width: 1000px;
    padding: 20px;
    display: flex;
    justify-items: center; }
    .activities .activities-wrapper .card {
      display: inline-flex;
      flex-direction: column;
      justify-content: center;
      align-content: center; } }

div img {
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s; }

div img {
  filter: grayscale(50%);
  -webkit-filter: grayscale(50%);
  -moz-filter: grayscale(50%); }

div img:hover {
  filter: grayscale(0%);
  -webkit-filter: grayscale(0%);
  -moz-filter: grayscale(0%); }

.footer {
  width: 100%;
  text-align: end; }
  .footer .logo-planit img {
    width: 20%; }

@keyframes opening {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }
