@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600&display=swap");

:root {
  --yellow: #f9ca24;
}

* {
  font-family: "Nunito", sans-serif;
  list-style: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  text-transform: capitalize;
  transition: all 0.2s linear;
}

*::selection {
  background: var(--yellow);
  color: #333;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

html::-webkit-scrollbar {
  width: 1.4rem;
}

html::-webkit-scrollbar-track {
  background: #222;
}

html::-webkit-scrollbar-thumb {
  background: var(--yellow);
}

body {
  background: #111;
  overflow-x: hidden; /*sınırladığımız kutunun dışına çıkanlar gösterilmez*/
  padding-left: 35rem;
}

section {
  min-height: 100vh;
  padding: 1rem;
}

.btn {
  padding: 0.7rem 3rem;
  background: #333;
  color: #fff;
  cursor: pointer;
  margin-top: 1rem;
  font-size: 2rem;
  border-radius: 5rem;
}

.btn i {
  padding: 0 0.5rem;
  font-size: 1.8rem;
}

.btn:hover {
  background: var(--yellow);
}

.heading {
  text-align: center;
  margin: 0 6rem;
  font-size: 4rem;
  padding: 1rem;
  border-bottom: 0.1rem solid #fff4;
  color: #fff;
}

.heading span {
  color: var(--yellow);
}

header {
  position: fixed; /* biz ekranı aşağı kaydırsakta headerin sabit kalmasını sağlar fixed*/
  top: 0;
  left: 0;
  z-index: 1000;
  height: 100%;
  width: 35rem;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  text-align: center;
}

header .user img {
  height: 17rem;
  width: 17rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 0.7rem solid var(--yellow);
}

header .user .name {
  font-size: 2.6rem;
  color: #fff;
}

header .user .post {
  font-size: 1.8rem;
  color: #eee;
}

header .navbar {
  width: 100%;
}

header .navbar ul {
  list-style: none;
  padding: 1rem 3rem;
}

header .navbar ul li a {
  display: block;
  padding: 1rem;
  margin: 1.5rem 0;
  background: #333;
  color: #fff;
  font-size: 1.9rem;
  border-radius: 5rem;
}

header .navbar ul li a:hover {
  background: var(--yellow);
}
.social-media {
  padding: 3rem 0 0 0;
}

.social-icons {
  display: flex;
}

.social-icons a {
  width: 50px;
  margin: 0.5rem;
  height: 50px;
  border-radius: 5px;
  background: linear-gradient(45deg, var(--yellow), var(--yellow));
  color: #fff;
  text-align: center;
  line-height: 67px;
  transition: 0.3s;
}

.social-icons a:hover {
  transform: scale(1.05);
}

#menu {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: #333;
  color: #fff;
  cursor: pointer;
  font-size: 2.5rem;
  padding: 1rem 1.5rem;
  z-index: 1000;
  display: none;
}

.home {
  display: flex;
  justify-content: center;
  flex-flow: column;
  padding: 0 15rem;
}

.home h3 {
  font-size: 2.5rem;
  color: #fff;
}

.home h1 {
  font-size: 5rem;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.home h3 {
  margin-bottom: 10px;
}

.home h3 span {
  color: var(--yellow);
}

.home p {
  font-size: 2rem;
  color: #eee;
  padding: 1rem 0;
  text-align: justify;
  margin-bottom: 10px;
}

.about .row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.about .row .info {
  flex: 1 1 48rem;
  padding: 2rem 1rem;
  padding-left: 6rem;
}

.about .row .info h3 {
  font-size: 2rem;
  color: var(--yellow);
  padding: 1rem 0;
  font-weight: normal;
}

.about .row .info h3 span {
  color: #eee;
  padding: 0 0.5rem;
}

.about .row .counter {
  flex: 1 1 48rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.about .row .counter .box {
  width: 20rem;
  background: #222;
  text-align: center;
  padding: 2rem;
  margin: 2rem;
}

.about .row .counter .box span {
  font-size: 4rem;
  color: var(--yellow);
}

.about .row .counter .box h3 {
  font-size: 2rem;
  color: #fff;
}

.about .skill {
  width: 50%;
  max-width: 1200px;
  margin: 60px auto;
  justify-content: center;
  color: #fff;
  padding: 20px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.about .skill .li {
  margin: 20px 0;
  padding: 10px;
}

.about .skill .bar {
  background: #353b48;
  display: block;
  height: 30px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.about .skill .bar:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.about .skill .bar span {
  height: 30px;
  float: left;
  background: linear-gradient(
    135deg,
    rgba(236, 0, 140, 1) 0%,
    rgba(252, 103, 103, 1) 100%
  );
}

.about .skill .Java {
  width: 100%;
  animation: Java 3s;
}
.about .skill .Python {
  width: 80%;
  animation: Python 3s;
}
.about .skill .C {
  width: 90%;
  animation: C 3s;
}
.about .skill .C_Sharp {
  width: 100%;
  animation: C_Sharp 3s;
}
.about .skill .Flutter {
  width: 75%;
  animation: Flutter 3s;
}
.about .skill .Typescript {
  width: 60%;
  animation: Typescript 3s;
}
.about .skill .MSSQL {
  width: 100%;
  animation: MSSQL 3s;
}
.about .skill .Firebase {
  width: 85%;
  animation: Firebase 3s;
}
.about .skill .AspNet {
  width: 75%;
  animation: AspNet 3s;
}
.about .skill .Entity {
  width: 100%;
  animation: Entity 3s;
}
.about .skill .React_Js {
  width: 100%;
  animation: React_Js 3s;
}
.about .skill .GitHub {
  width: 100%;
  animation: GitHub 3s;
}
.about .skill .Javascript {
  width: 50%;
  animation: Javascript 3s;
}
.about .skill .REST_API {
  width: 72%;
  animation: REST_API 3s;
}

@keyframes Java {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@keyframes Python {
  0% {
    width: 0%;
  }
  100% {
    width: 90%;
  }
}
@keyframes C {
  0% {
    width: 0%;
  }
  100% {
    width: 80%;
  }
}
@keyframes C_Sharp {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@keyframes Flutter {
  0% {
    width: 0%;
  }
  100% {
    width: 75%;
  }
}
@keyframes Typescript {
  0% {
    width: 0%;
  }
  100% {
    width: 60%;
  }
}
@keyframes MSSQL {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@keyframes Firebase {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@keyframes AspNet {
  0% {
    width: 0%;
  }
  100% {
    width: 75%;
  }
}
@keyframes Entity {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@keyframes React_Js {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@keyframes GitHub {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@keyframes Javascript {
  0% {
    width: 0%;
  }
  100% {
    width: 50%;
  }
}
@keyframes REST_API {
  0% {
    width: 0%;
  }
  100% {
    width: 72%;
  }
}

.projects .box-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 0;
  padding-left: 3rem;
}

.projects .box-container .box {
  width: 100%;
  height: 50%;
  max-width: 1200px;
  max-height: 600px;
  margin: 5rem 2rem; /*Aşağı ve sola margin koyuyoruz.*/
  padding-left: 4rem;
  border-left: 0.2rem solid #fff; /*her box divin solunda bulunan beyaz çizgiyi çekmek için kullanılıyor.*/
  position: relative;
}

.projects .box-container .box span {
  font-size: 1.3rem;
  background: #222;
  color: #fff;
  border-radius: 5rem;
  padding: 0.5rem 2.5rem;
}

.projects .box-container .box h3 {
  font-size: 2rem;
  color: #fff;
  padding-top: 1.5rem;
}

.projects .box-container .box p {
  font-size: 1.4rem;
  color: #eee;
  padding: 1rem 0;
  text-align: justify;
}

.projects .box-container .box i {
  position: absolute;
  top: -1.5rem;
  left: -2.5rem;
  height: 5rem;
  width: 5rem;
  border-radius: 50%;
  line-height: 5rem;
  text-align: center;
  font-size: 2rem;
  color: #fff;
  background: var(--yellow);
}

.projects .box-container .box .container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.box-container .box .button {
  border: none;
  outline: none;
  height: 25px;
  width: 140px;
  background: #ce9f11;
  font-size: 15px;
  border-radius: 20px;
  transition: 0.3s ease;
  margin-top: 5px;
  margin-bottom: 10px;
}

.box-container .box .button:hover {
  cursor: pointer;
  background: #ffc000;
  box-shadow: 0 0 5px #ffc000, 0 0 20px #ffc000, 0 0 60px #ffc000,
    0 0 150px #ffc000;
}

.heading {
  margin-bottom: 4rem;
}
.box-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 0;
  padding-left: 3rem;
}

.experience .box-container .box {
  width: 100%;
  max-width: 1200px;
  height: 15%;
  max-height: 600px;
  margin: 4rem 2rem; /*Aşağı ve sola margin koyuyoruz.*/
  padding-left: 4rem;
  border-left: 0.2rem solid #fff; /*her box divin solunda bulunan beyaz çizgiyi çekmek için kullanılıyor.*/
  position: relative;
}
.proje .box-container .box{
  width: 100%;
  max-width: 1200px;
  height: 15%;
  max-height: 600px;
  padding-left: 4rem;
  position: relative;
}
.btnn {
  padding: 0.7rem 3rem;
  background: #333;
  color: #fff;
  cursor: pointer;
  margin-top: 1rem;
  font-size: 2rem;
  border-radius: 5rem;
}

.btnn i {
  padding: 0 0.5rem;
  font-size: 1.8rem;
}

.btnn:hover {
  background: var(--yellow);
}

.box-container .box {
  width: 100%;
  max-width: 1200px;
  height: 15%;
  max-height: 600px;
  margin: 4rem 2rem; /*Aşağı ve sola margin koyuyoruz.*/
  padding-left: 4rem;
  position: relative;
}

.box-container .box span {
  font-size: 1.3rem;
  background: #222;
  color: #fff;
  border-radius: 5rem;
  padding: 0.5rem 2.5rem;
}

.box-container .box h3 {
  font-size: 2rem;
  color: #fff;
  padding-top: 1.5rem;
}

.box-container .box h4 {
  font-size: 1.2rem;
  color: #fff;
  padding-top: 1rem;
}

.box-container .box p {
  font-size: 1.6rem;
  color: #eee;
  padding: 1rem 0;
  text-align: justify;
}

.box-container .box i {
  position: absolute;
  top: -1.5rem;
  left: -2.5rem;
  height: 5rem;
  width: 5rem;
  border-radius: 50%;
  line-height: 5rem;
  text-align: center;
  font-size: 2rem;
  color: #fff;
  background: var(--yellow);
}

.publications .box-container2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem 0;
}

.publications .box-container2 .box {
  width: 40%;
  max-width: 490px;
  height: 50%;
  max-height: 600px;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
}

.publications .box-container2 .box img {
  height: 70%;
  width: 70%;
  object-fit: cover;
}

.publications .box-container2 .box:hover img {
  transform: scale(1.2);
}

.contact .row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.contact .row .content {
  flex: 1 1 30rem;
  padding: 4rem;
  padding-bottom: 0;
}

.contact .row form {
  flex: 1 1 45rem;
  padding: 2rem;
  margin: 2rem;
  margin-bottom: 4rem;
}

.contact .row form .box {
  padding: 1.5rem;
  margin: 1rem 0;
  background: #3333;
  color: #fff;
  text-transform: none;
  font-size: 1.7rem;
  width: 100%;
}

.contact .row form .box::placeholder {
  text-transform: capitalize;
}

.contact .row form .message {
  height: 30rem;
  resize: none;
}

.contact .row .content .title {
  text-transform: uppercase;
  color: #fff;
  font-size: 3rem;
  padding-bottom: 2rem;
}

.contact .row .content .info h3 {
  display: flex;
  align-items: center;
  font-size: 2rem;
  color: #eee;
  padding: 1rem 0;
  font-weight: normal;
}

.contact .row .content .info h3 i {
  padding-right: 1rem;
  color: var(--yellow);
}

.top {
  position: fixed;
  bottom: 7.5rem;
  right: 2rem;
  z-index: 100;
  display: none;
}

/* media queries  */

@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }

  .home {
    padding: 1rem 4rem;
  }
}

@media (max-width: 991px) {
  header {
    position: static;
    width: 100%;
    /*left: -120%;*/ /*burası belli bir ekran boyutunun altına gelirse headerin kaybolmasını bu sayede responsive olmasını sağlıyor*/
  }

  header .navbar {
    width: 50%;
  }

  #menu {
    display: block;
  }

  header.toggle {
    left: 0%;
  }

  body {
    padding: 0;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%;
  }
}

@media (max-width: 400px) {
  header {
    width: 100vw;
  }

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

  .heading {
    margin: 0 3rem;
  }

  .about .row .counter .box {
    width: 100%;
  }

  .about .skill {
    width: 100%;
  }

  .projects .box-container .box {
    width: 100%;
  }

  .publications .box-container .box {
    width: 100%;
  }

  .contact .row form {
    margin: 3rem 0;
  }
}
