﻿@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.Projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4%;
  animation: fadeIn 1s ease;
}

.Project {
  position: relative;
  background-color: #330b5f;
  box-shadow: 0 2px 5px #c2c2c2;
  width: 250px;
  height: 250px;
  margin: 1px;
  border-radius: 5px;
  border: 2px solid #330b5f;
  perspective: 1000px;
}

.Project:hover {
  transition: background-color 0.5s ease;
  background-color: #fff;
}

.Project a {
  display: grid;
  text-decoration: none;
}

.Project img {
  grid-column: 1;
  grid-row: 1;
  width: 200px;
  margin-left: 20px;
  align-items: center;
}

.Project h2 {
  grid-column: 1;
  grid-row: 1;
  padding-top: 200px;
  color: #fff;
  margin: 0px;
  text-align: center;
}

.Project h2:hover { 
  transition: color 0.5s ease;
  color: #2c2c2c;
}

.Project.disable-hover {
  pointer-events: none;
}

.Projects.on-close-left {
  transition: transform 5s ease;
  transform: translateX(-10000px);
}

.Projects.on-close-right {
  transition: transform 5s ease;
  transform: translateX(10000px);
}

.Menu.on-close a {
  background-color: #3d0d71;
  color: #fff;
  height: 100%;
}

.Menu.disable-hover {
  pointer-events: none;
}

.Current.on-close {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

.Current.on-close a {
  width: 100%;
  font-size: 30px;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  background-color: #330b5f;
}
