@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;500;600;700&family=Source+Serif+Pro:wght@400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto Mono", sans-serif;
}

h1 {
  font-family: "Source Serif Pro", "Helvetica Neue";
  font-weight: 700;
  font-size: xx-large;
}

h2 {
  font-family: "Source Serif Pro", "Helvetica Neue";
  font-weight: 600;
  font-size: x-large;
}

.dropbtn {
  background-color: #a02b33;
  height: 40px;
  width: 40px;
  font-size: x-large;
  color: rgb(255, 255, 255);
  /* border-radius: 5px; */
  /* border-radius: 5px; */
  border: none;
  cursor: pointer;
}

header {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown {
  position: relative;
  display: inline-block;
  position: fixed;
  left: -1px;
  top:-1px;
  z-index: 10;
}

.dropdown-content {
  display: none;
  position: absolute;
  /* right: 0px; */
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-family: "Source Serif Pro", "Helvetica Neue";
  font-weight: 400;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #c29347;
}

/*ul {*/
/*  list-style-type: none;*/
/*  height: 100%;*/
  /* position: fixed; */
/*  top: 0;*/
/*  padding: 0;*/
/*  display: flex;*/
/*}*/

a {
  color: #337ab7;
  text-decoration: none;
}

.landing-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  min-height: 20vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 50px;
  /* border: 1px solid #000; */
  border-radius: 5px;
}
.container:hover {
  background: linear-gradient(
    90deg,
    rgba(251, 245, 237, 0.527) 0%,
    rgba(255, 255, 255, 0.739)
  );
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
#profile-image {
  border-radius: 50px;
  margin-bottom: 1rem;
}

.social-buttons {
  display: flex;
  width: 5rem;
  justify-content: space-around;
  margin-top: 1rem;
}
.about-page {
  /* padding-top: 20vh; */
  display: grid;
  justify-items: center;
  margin-bottom: 4rem;
  min-height: 100vh;
}

.inner-card {
  width: 80vw;
  padding: 5rem;
  background-color: #fff;
  /* color: rgba(224, 224, 224); */
  z-index: 1;
  border-radius: 10px;
  overflow: hidden;
}

.inner-card:hover {
  color: rgb(0, 0, 0);
  font-weight: 500;
}

.outer-card {
  display: grid;
  justify-items: center;
  position: relative;
  padding: 8px;
  border-radius: 12px;
  background: linear-gradient(50deg, rgb(240, 245, 194), #ffd4d4);
  overflow: hidden;
  height: fit-content;
}

.outer-card::before {
  content: "";
  position: absolute;
  width: 2000px;
  height: 100px;
  top: 0;
  /* right: 35px; */
  transition: 2s;
  background: linear-gradient(-45deg, rgba(255, 212, 93, 0.856), #ff8282);
  transform: rotate(-15deg) translate(0px, -300px);
  display: none;
}

.outer-card:hover::before {
  animation: cardEffect 2s;
  display: block;
}

section.projects {
  margin-top: 10rem;
  padding: 6vw;
}

.h1 {
  margin-left: auto;
  margin-right: auto;
  width: 10rem;
  margin-bottom: 2rem;
  /* background: yellow; */
  text-align: center;
  border: 10px solid #D4A458;
  border-right-color: transparent;
  border-left-color: transparent;
}

.projects-container {
  display: flex;
  justify-content:space-around;
  align-items: center;
  flex-flow: row wrap;
  padding: 2rem;
}

.card {
  background: #ffe4ba41;
  width: auto;
  display: flex;
  flex-basis: 40%;
  flex-grow: 1;
  margin: 2rem;
  border-radius: 15px;
  position: relative;
  min-height: 600px;
  min-width: 300px;
}

/*.bookmark {*/
/*  width: 10px;*/
/*  height: 100px;*/
/*  border: 25px solid rgba(255, 0, 0, 0.747);*/
/*  border-bottom-color: transparent;*/
/*  position: absolute;*/
/*  display: flex;*/
/*  right: 1.5rem;*/
/*  float: right;*/
/*}*/

.card-inside {
  margin: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: space-around; */
  row-gap: 1rem;
  flex-grow: 1;
  padding-top: 2rem;
  padding-bottom: 3rem;
  /* margin: 2rem; */
  /* border: 1px solid black; */
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.705);
  z-index: 5;
}

.card img {
  width: 180px;
  height: 180px;
  border-radius: 200px;
  border: 10px solid white;
  margin-bottom: 1rem;
}

.card p {
  width: 70%;
  font-family: "Roboto Mono", sans-serif;
}

@keyframes cardEffect {
  0% {
  }
  100% {
    transform: rotate(-15deg) translate(0, 1250px);
  }
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 1rem 6rem 5rem 6rem; */
  position: relative;
  margin-bottom: 1rem;
  /* background: linear-gradient(to top, rgba(184, 184, 184, 0.883), rgba(228, 228, 228, 0.527)); */
}

.fa-angle-up {
  position: absolute;
  right: 5rem;
  bottom: -4px;
}

.fa {
  transition: transform 0.2s ease-in-out;
}
.fa:hover {
  transform: translateY(-10px);
}

.fab, .fa-desktop{
  color: black;
}

#down-btn {
  position: relative;
  animation-name: bounce;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
}

@keyframes bounce {
  0% {
    top: 0px;
  }
  50% {
    top: 3px;
  }
  100% {
    top: 0px;
  }
}

@media screen and (max-width: 1500px) {
  .inner-card {
    width: 80vw;
    padding: 5rem;
  }
  /* footer {
    font-size: 0.8rem;
    padding: 5px;
  } */
}

@media screen and (max-width: 500px) {
  header {
    display: none;
  }
  .landing-page {
    flex-direction: column;
  }
  .inner-card {
    padding: 2rem;
  }
  .card img {
    width: 150px;
    height: 150px;
  }
  section.projects {
    padding: 6vw;
  }
  .projects-container {
    padding: 0rem;
  }
  .fa-angle-up {
    display: none;
  }
}
