/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  transition: all 200ms linear;
}

/* Fonts */
@font-face {
  font-family: Rubik Mid;
  src: url(/fonts/rubik/Rubik-Medium.ttf);
}

@font-face {
  font-family: Rubik Regular;
  src: url(/fonts/rubik/Rubik-Regular.ttf);
}

@font-face {
  font-family: Rubik Light;
  src: url(/fonts/rubik/Rubik-Light.ttf);
}

@font-face {
  font-family: Nevis;
  src: url(/fonts/Nevis/nevis.ttf);
}

/* Raw Tags */
body {
  background-color: white;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  cursor: pointer;
}

footer {
  background-color: rgb(29, 29, 29);
  margin-top: 150px;
  padding: 10px;
  color: white;
  font-family: Nevis;
  text-align: center;
}

/* Header Content */
.head {
  height: 100vh;
  background-image: url(/images/Header\ Background.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* Navigation */
.menu {
  display: none;
}

nav {
  position: fixed;
  display: flex;
  width: 100%;
  justify-content: center;
  z-index: 10;
}

.nav-container {
  display: flex;
  gap: 100px;
  padding: 10px;
  width: 750px;
  font-size: 150%;
  border-radius: 0 0 10px 10px;
  justify-content: center;
  background-color: #3f51b5;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 50%);
}

.nav-container a:hover {
  color: rgb(210, 210, 210);
  transition: all 150ms linear;
}

.nav-menu {
  color: white;
  font-family: Nevis;
}

/* Icon and Regards */
.name-chara {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.name {
  position: relative;
  right: -100px;
  font-family: Rubik Regular;
  width: 30%;
}

.head-h1-regards, .head-h1-name {
  font-size: 50px;
}

.head-h1-name {
  font-family: Rubik Mid;
  color: #3f51b5;
}

.head-h3 {
  color: #3f51b5;
  margin: 10px 0;
  font-size: 30px;
}

.head-parag {
  font-family: Rubik Regular;
  color: gray;
  font-size: 20px;
  margin: 10px 0 18px 0;
}

.resume {
  margin: 10px 0;
  font-family: Nevis;
  background-color: #3f51b5;
  color: white;
  outline: none;
  padding: 8px;
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 30%);
}

.resume:hover {
  background-color: #33408b;
  transition: all 150ms linear;
}

.chara {
  display: flex;
  align-items: flex-end;
  height: 100%;
}

.gab {
  transition: all 500ms ease;
  position: relative;
  height: 600px;
  left: -30px;
}

.github,
.ig,
.email {
  position: relative;
  height: 28px;
  margin: 30px 5px 0 5px;
  right: 5px;
}
.github:hover,
.ig:hover,
.email:hover {
  filter: drop-shadow(0 0 10px white);
  transition: all 150ms linear;
}
.email {
  position: relative;
  height: 38px;
  top: 6px;
}

/* End of Header */
/* Main */

/* About */
.about {
  margin: 100px 5%;
  background-color: #3f51b5;
  border-radius: 15px;
}

.about-section {
  height: 100%;
  width: 100%;
  padding: 50px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.profile-bg {
  background-color: white;
  border-radius: 50%;
  height: 300px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 30%);
}

.gab-pfp {
  height: 300px;
}

.about-title {
  font-size: 250%;
  text-align: center;
  color: #3f51b5;
  background-color: white;
  padding: 5px;
  margin-bottom: 20px;
  width: 210px;
  border-radius: 5px;
  font-family: Nevis;
  box-shadow: 0 0 30px rgba(0, 0, 0, 30%);
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 20px;
  width: 40%;
}

.about-paragraph {
  color: white;
  font-size: 120%;
  font-family: Rubik Light;
  margin: 10px 0;
}

/* Projects */

.title-projects {
  width: 100%;
  display: flex;
  justify-content: center;
}

.projects-title {
  font-size: 250%;
  width: 100%;
  margin-top: 140px;
  padding: 10px;
  background-color: #3f51b5;
  color: white;
  text-align: center;
  font-family: Nevis;
}

.projects {
  gap: 30px;
  background-color: #3f51b5;
  width: 100%;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Card Projects */

.card {
  width: 200px;
  border-radius: 8px;
  background-color: rgb(255, 255, 255);
  font-family: Rubik Regular;
  display: flex;
  flex-direction: column;
}

.card-img {
  margin-top: 15px;
  align-self: center;
}

.img-project {
  height: 110px;
  border-radius: 8px 8px 0 0;
}

.card-text {
  height: 150px;
  margin: 0 10px 0 10px;
}

.card-text h3 {
  margin-top: 8px;
}

.card-text p {
  margin: 5px 0 6px 0;
  font-size: 13px;
  color: gray;
}

.card-btn {
  height: 25px;
  width: 30%;
  padding-top: 3px;
  background-color: #3f51b5;
  text-align: center;
  border-radius: 5px;
}

.card-btn:hover {
  background-color: #33408b;
  transition: all 150ms linear;
}

/* End of Cards */

/* End of Projects */

/* Classlist for JS */

.dark-head {
  height: 100vh;
  background-image: url(/images/Header\ Background\ dark.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.pure-black {
  background-color: #36393e;
}

.black {
  background-color: #212121;
}

.white {
  color: white;
}

.gray {
  color: gray;
}

.gray-bg {
  background-color: gray;
}