html{
  scroll-behavior: smooth;
}

#card1-text {
  font-family: "Baloo 2", cursive;
  font-weight: bold;
  word-spacing: 2px;
  padding: 40px;
  font-size: 40px;
}

#card1 {
  position: absolute;
  z-index: 1;
  top: 50px;
  border-radius: 20px;
  background-color: #AB6FC4;
  height: 250px;
  width: 700px;
}

#card2 {
  position: absolute;
  z-index: 0;
  top: 70px;
  left: 30px;
  border-radius: 20px;
  background-color: #E7B3CE;
  height: 250px;
  width: 700px;
}

#card3 {
  position: relative;
  z-index: -1;
  top: 90px;
  left: 35px;
  border-radius: 20px;
  background-color: #E8D3DE;
  height: 250px;
  width: 700px;
}

.drop-list {
  color: #fff;
  background-color: #884DA1;
  outline: none;
}

.drop-list:focus {
  background-color: #fff;
  color: #000;
}

.dropdown-menu {
  padding: 0px;
  border: 0px;
  position: relative;
  right: 0%;
  left: auto;
}

#home-intro {
  padding-bottom: 150px;
}

.my_name {
  font-family: 'Sacramento', cursive;
  text-align: center;
  position: relative;
  top: 20%;
  color: #942EC1;
  font-size: 5rem;
  font-weight: 900;
}

.programmer {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  color: #942EC1;
  position: relative;
  text-align: center;
  top: 20%;
}

.pro {
  text-decoration: underline;
}

.top-div {
  background-image: url('./mountain1.jpeg');
  height: 610px;
  background-repeat: no-repeat;
  background-size: cover;
}

.top-con-div.container-fluid {
  padding: 0px;
}

.navigation-bar {
  position: absolute;
  z-index: 1;
  width: 100%;
  padding-right: 30px;
}

@media screen and (max-width:768px) {
  .my_name {
    font-size: 3rem;
    top: 15%;
  }

  .programmer {
    font-size: 1.3rem;
    top: 15%
  }
}

@media screen and (max-width:992px) and (min-width:768px) {
  .my_name {
    font-size: 4rem;
    top: 15%
  }

  .programmer {
    font-size: 1.6rem;
    top: 15%;
  }
}

@media screen and (min-width:1300px) {
  .top-div {
    height: 750px;
  }
}

.my_image {
  border-radius: 100%;
  position: absolute;
  top: 30px;
  height: 300px;
  width: 300px;
  margin-top: 20px;
  margin-left: 60px;
}

.image_overlay{
  position: relative;
  top: 30px;
  height: 300px;
  width: 300px;
  margin-top: 20px;
  margin-left: 60px;
  border-radius: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: black;
  opacity: 0;
  color: white;
  transition: opacity 0.5s;
}

.image_overlay p{
  font-family: "Baloo 2", cursive;
  font-size: 150%;
}

.image_overlay h2{
  font-family: 'Merriweather', serif;
  font-weight: bold;
}

.image_overlay > *{
  transform: translateY(50px);
  transition: transform 0.5s;
}

.image_overlay:hover >*{
  transform: translateY(10px);
  trasnition: transform 0.5s;
}


.image_overlay:hover{
  opacity: 0.6;
  /* backdrop-filter: blur(); */
}

.image_overlay:hover+.my_image{
  backdrop-filter: blur(5px);
}

.prevent-select {
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and IE 11 */
  user-select: none;
  /* Standard syntax */
}

.row {
  padding: 0px;
  margin: 0px;
}

.top-hover-div {
  display: none;
  position: fixed;
  top: 50px;
  left: 50px;
  background-color: black;
  color: white;
  height: 25px;
  width: 60px;
  text-align: center;
}

.top-img-hover:hover+.top-hover-div {
  display: inline-block;
}

.top-img-hover {
  position: fixed;
}

@media screen and (max-width:992px){
  .top-img-hover{
    display: none;
  }
}


@media screen and (min-width:768px) and (max-width:992px) {
  #card1, #card2, #card3 {
    width: 400px;
    height: 300px;
    margin-left: 50px;
  }

  #card1-text {
    padding: 20px;
  }

  .image_overlay, .my_image{
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (min-width:992px) and (max-width:1150px) {
  #card1, #card2, #card3 {
    width: 500px;
    height: 280px;
  }

  .my_image, .image_overlay {
    margin-left: 20px;
  }
}

@media screen and (max-width:768px) {

  #card1-text {
    padding: 20px;
  }

  .my_image, .image_overlay{
    left: 50%;
    margin-left: -150px;
  }
}

@media screen and (min-width:572px) and (max-width:768px){
  #card1, #card2, #card3 {
    width: 400px;
    height: 300px;
    margin-left: 100px;
    margin-top: 40px;
  }
}

@media screen and (max-width:572px){
  #card1, #card2, #card3 {
    width: 400px;
    height: 300px;
    margin-left: 20px;
    margin-top: 40px;
  }
}

.nav-item {
  padding-left: 40px;
}

.AboutMe {
  font-family: 'Merriweather', serif;
  text-align: center;
  margin-top: 80px;
  color: #570E7B;
}

.footer-div {
  margin: 0px;
  background-color: #E8D3DE;
  height: 100px;
  width: 100%;
  padding-bottom: 150px;
  text-align: center;
  border: 0px;
}

.social-icon {
  margin: 30px 40px;
  color: purple;
  border-radius: 100%;
  font-size: 25px;
}

.fa-facebook-f:hover, .fa-twitter :hover, .fa-instagram:hover, .fa-envelope:hover {
  color: white;
}

#photos-carousel {
  background-color: purple;
  height: 700px;
  width: 100%;
}

#photos img {
  width: 600px;
  height: 400px;
  margin: 0 auto;
}

#photos h1 {
  font-family: 'Merriweather', serif;
  text-align: center;
  padding-top: 60px;
  color: #fff;
}

#photos h2{
  color:pink;
  font-family: "Baloo 2", cursive;
  margin-top: 20px;
}

#photos a{
  text-decoration: none;
}

@media screen and (max-width:640px){
  #photos img {
    width: 450px;
    height: 300px;
  }

  #photos-carousel{
    height: 600px;
  }
}

a:hover{
  text-decoration: none;
}
