/* General */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 10px;
  --colorDark: #444;
  --colorWhite: #dee5e5;
  --colorBlack: #333;
  --lightBlue: #b9d6f2;
  --middleBlue: #3e92cc;
  --darkBlue: #1b4079;
  --mainFont: verdana;
  --fancyFont: "Permanent Marker", cursive;
}

body {
  background-color: var(--colorDark);
}

/* Header */

h1 {
  margin: 30px 0 50px;
  text-align: center;
  letter-spacing: 8px;
  font-size: 8rem;
  font-family: var(--fancyFont);
  color: var(--colorWhite);
}

/* Projects */

.project__wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  row-gap: 5rem;
  max-width: 1280px;
  margin: 0 auto 100px;
}

.project {
  position: relative;
  min-width: 350px;
  min-height: 300px;
  margin: 0 30px;
  background: radial-gradient(circle at var(--x) var(--y),
      var(--middleBlue) 0%,
      var(--darkBlue) 80%);
  border-radius: 20px;
  box-shadow: 15px 15px 20px #1b1b1e;
  font-family: var(--mainFont);
}

.project__name {
  position: absolute;
  width: 100%;
  top: 100px;
  font-size: 3rem;
  text-align: center;
  color: var(--colorWhite);
  font-style: italic;
  pointer-events: none;
}

.project__mainTechnology {
  position: absolute;
  right: 0;
  top: 30px;
  width: 120px;
  height: 40px;
  font-size: 2rem;
  line-height: 40px;
  padding-left: 10px;
  border-radius: 10px 0 0 10px;
  background-color: var(--lightBlue);
  color: var(--colorBlack);
  pointer-events: none;
}

.project__github,
.project__preview {
  position: absolute;
  width: 150px;
  bottom: 50px;
  text-align: center;
  line-height: 50px;
  font-style: italic;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
  border: none;
  outline: none;
  cursor: pointer;
}

.project__github {
  left: 20px;
}

.project__preview {
  right: 20px;
}

.project__github::before,
.project__preview::before,
.project__github::after,
.project__preview::after {
  content: "";
  position: absolute;
  width: 8%;
  height: 20%;
  border: 2px solid white;
  transition: all 0.4s;
}

.project__github::before,
.project__preview::before {
  top: -2px;
  left: -2px;
  border-bottom-color: transparent;
  border-right-color: transparent;
}

.project__github::after,
.project__preview::after {
  bottom: -2px;
  right: -2px;
  border: 2px solid white;
  border-top-color: transparent;
  border-left-color: transparent;
}

.project__github:hover::after,
.project__preview:hover::after,
.project__github:hover::before,
.project__preview:hover::before {
  width: 100%;
  height: 100%;
}

.project__prieview--disabled {
  background-color: #222;
  color: #888;
}

.project__prieview--disabled::after,
.project__prieview--disabled::before {
  content: none;
}

/* Footer */

footer {
  width: 100%;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  box-shadow: 0 0 1000px var(--colorWhite);
  background-color: var(--colorBlack);
  color: var(--colorWhite);
}

footer a {
  text-decoration: none;
  color: var(--colorWhite);
}

.footer__name,
.footer__email {
  font-size: 2.5rem;
  padding: 10px;
}

.footer__name i,
.footer__email i {
  margin-right: 15px;
}

footer hr {
  width: 80%;
  height: 5px;
  background-color: #fff;
  border-radius: 50%;
  margin: 40px 0 20px;
}

.footer__icons i {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 2.5rem;
  line-height: 60px;
  margin: 20px 5px;
  background-color: black;
  transition: transform 0.3s;
}

.footer__icons i:hover {
  transform: scale(1.1);
}

.footer__icons .fa-github {
  background-color: #24292E;
}

.footer__icons .fa-linkedin-in {
  background-color: #0073B1;
}

.footer__icons .fa-facebook-f {
  background-color: #405D9B;
}