/* ad-soyad */
@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&display=swap");

::-webkit-scrollbar {
  width: 12px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: black;
}

::-webkit-scrollbar-thumb {
  background: rgb(127, 1, 1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgb(170, 0, 0);
}

#scroll-btn {
  position: fixed;
  bottom: 20px;
  right: 30px;
  font-size: 50px;
  color: aqua;
  background-color: transparent;
  z-index: 10;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
}

body {
  overflow-x: hidden !important;
}

* {
  box-sizing: border-box;
}

#header {
  background-image: url("../img/3.jpg");
  height: 150vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%;
  background: rgba(0, 0, 0, 0.7);
}

.navbar-left div {
  overflow: hidden;
  border-radius: 50%;
  height: 6rem;
  width: 6rem;
  margin: 3rem;
}

img.portre {
  border-radius: 50%;
  height: 6rem;
  width: 6rem;
  border: 2px solid #fff;
  object-fit: cover;
  transition: transform 0.5s, filter 1.5s ease-in-out, border 0.5s;
  filter: grayscale(100%);
}

img.portre:hover {
  filter: grayscale(0);
  transform: scale(1.2);
  cursor: crosshair;
  border: none;
}

.myname {
  font-family: "Dancing Script", cursive;
}

/* .navbar-right .links a {
  margin-left: 2rem;
  text-decoration: none;
  color: #fff;
  font-family: "Font Awesome 6 Free";
  border: 1px solid #fff;
  border-radius: 7px;
  padding: 3px 5px;
  opacity: 0.6;
  transition: text-shadow 0.5s, opacity 0.5s, border-color 0.5s;
} */

/* .navbar-right .links a:hover {
  opacity: 1;
  text-shadow: 2px 2px aqua;
  border-color: transparent;
}

.navbar-right .links a:first-child {
  border: 3px solid #fff;
}

#bar {
  background-color: transparent;
  border: none;
  color: #fff;
  opacity: 0.8;
  font-size: 2rem;
  padding: 5px;
}

#bar:hover {
  transition: 0.3s;
  scale: 1.1;
  opacity: 1;
} */

.row > * {
  padding: 0;
}

.progress-bar {
  background-color: rgb(48, 203, 203);
  padding: 0;
}

#main-page .section {
  margin-bottom: 10rem;
}
#main-page .section h3 {
  font-family: "Merienda", cursive;
  letter-spacing: 15px;
  text-shadow: 5px 5px 10px aqua;
  text-align: center;
  margin-bottom: 3rem;
}

#main-page {
  background-image: url("../img/peakpx.jpg");
  background-size: contain;
  background-position: center;
  color: rgb(255, 255, 255, 0.9);
  padding: 40px;
}

#content {
  display: flex;
  flex-direction: column;
  color: rgb(182, 182, 182);
  font-size: 3rem;
  text-shadow: 2px 2px #ff0000;
  position: absolute;
  bottom: 3rem;
  left: 3rem;
}

#soft-skills span {
  border: 1px solid white;
  border-radius: 25px;
  padding: 10px;
  margin: 10px;
  transition: ease-out 0.3s;
}

#soft-skills span:hover {
  transform: translateY(-7px);
  cursor: pointer;
  opacity: 0.7;
}

#portfolio h4 {
  font-family: "Rubik Marker Hatch", cursive;
}

#portfolio > div:not(:last-child) {
  margin-bottom: 3rem;
}

.gif {
  margin-left: 0%;
  border-radius: 50% 20% / 10% 40%;
  height: 150px;
  width: 250px;
}

#portfolio {
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 576px) {
  #portfolio {
    justify-content: center;
    align-items: center;
  }

  #soft-skills span {
    padding: 5px 10px;
  }

  #header {
    height: 100vh;
  }
  #header::before {
    height: 100%;
  }
  #main-page .section {
    margin-bottom: 6rem;
  }
}

@media screen and (max-width: 768px) {
  #scroll-btn {
    display: none !important;
  }

  .navbar-left div {
    margin: 20px !important;
  }

  #content {
    left: 20px !important ;
    bottom: 20px !important;
  }
  #contact .icon i {
    font-size: 1.5rem !important;
  }
}

/* mobil görüntüyü bozmamak için attachment:fixed bu şekilde yazdık. */
@media screen and (min-width: 576px) {
  #portfolio > div:nth-child(odd) {
    display: flex;
    align-self: flex-end;
  }
  #soft-skills .soft {
    padding: 0 2rem;
  }
  #header,
  section#code {
    background-attachment: fixed;
  }
  #main-page {
    padding: 40px 80px;
  }
}

@media screen and (min-width: 768px) {
  .gif {
    height: 180px;
    width: 300px;
  }
}

@media screen and (min-width: 992px) {
  .gif {
    height: 230px;
    width: 360px;
  }
  .navbar-right .links a {
    padding: 5px 8px;
  }
  #portfolio h4 {
    font-size: 2rem;
  }
}

@media screen and (min-width: 1200px) {
  .gif {
    height: 270px;
    width: 420px;
  }
}

/* .hide-bar {
  /* display: none;
} */

#contact .icon i {
  color: black;
  font-size: 2.5rem;
  text-decoration: none;
  transition: color 1s ease;
  border: 1px solid transparent;
  border-radius: 50%;
  padding: 10px;
  background-color: white;
  box-shadow: rgb(255 255 255) 0px 0px 50px 4px;
}

#contact .icon i:hover {
  box-shadow: none;
}

#contact .icon .fa-envelope:hover {
  color: tomato;
  background-color: transparent;
}

#contact .icon .fa-linkedin-in:hover {
  color: #0a66c2;
  background-color: transparent;
}

#contact .icon .fa-github:hover {
  color: #fff;
  background-color: transparent;
}

footer {
  background-image: linear-gradient(to bottom, rgb(23, 22, 22), rgb(0, 0, 0));
}

footer .nav-item .nav-link {
  border-bottom: 1px solid transparent;
  transition: 0.5s;
}

footer .nav-item .nav-link:hover {
  border-bottom: 1px solid aqua;
}
