@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* RESET CSS START*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
 }
 :root{
    --bg-color:#FFEAD3;
    --second-bg-color:#EA7B7B;
    --text-color: #9E3B3B;
    --main-color: #D25353
 }

 html{
    font-size: 60%;
    overflow-x: hidden;
 }
 body{
    background-color: var(--bg-color);
    color: var(--text-color)
 }

 section{
    padding: 6rem 12%;
}
 /* RESET CSS END*/

 /*HEADER START*/
 .header{
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    padding: 4rem 12% 4rem;
    background-color: #fcccbaed ;
    backdrop-filter: blur(10px);
    display:flex;
    justify-content: space-between;
    align-items:center;
    z-index: 5;
 }
 
 .logo{
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease-in-out;
 }

    .logo:hover{
        transform: scale(1.1);
    }

    .logo span{
        text-shadow: 0 0 25px var(--main-color);
        
    }

    .navbar a {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

.navbar a:hover,
.navbar a:active{
    color: var(--main-color);
    border-bottom: 3px solid var(var(--main-color))
}

#menu-icon{
    font-size: 3.6rem;
    display: none
}

 /*HEADER END*/

 /*HOME START*/
    .home{
        display: flex;
        justify-content: center;
        align-items: center;
        gap:25rem;
        padding-top:18rem;
    }

    .home-content{
        display: flex;
        flex-direction: column;
        align-items: baseline;
        justify-content: center;
        text-align: left;
        margin-top: 3rem;
    }

    .home-content h1{
        font-size: 7rem;
        font-weight: 600;
        margin-top: 1.5rem;
        line-height: 1;
    }

    .home-content h3{
        margin-bottom: 2rem;
        font-size: 3.5rem;
        margin-top: 1rem;

    }

    .home-img{
        border-gradius: 50%;
    }

    .home-img img{
        width:30vw;
        position: relative;
        top: 4rem;
        box-shadow: 0 10px 25px rgba(200, 34, 136, 0.25);
        cursor:pointer;
        transition: 0.4s ease-in-out;
    }

    .home-img img:hover{
    transform: translateY(-4px);
    box-shadow: 
    0 15px 35px rgba(200, 34, 136, 0.35),
    0 0 25px rgba(200, 34, 136, 0.3);
}

    .home-content p{
        font-size: 1.75rem;
        font-weight: 500;
        line-height: 1.8;
        max-width: 1000px;
    }
    .social_icons{
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin: 4rem 0;
    flex-wrap: nowrap;
}

.social_icons a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    font-size: 3rem;
    background-color: transparent;
    margin: 0;
    flex-shrink: 0;
    transition: 300ms ease-in-out;
}
    .social_icons a:hover{
        transform: scale(1.3) translateY(-5px);
        box-shadow: 0 0 15px var(--main-color);
        background-color: #f6a9a9;
    }

    .btn {
        display: inline-block;
        padding: 1rem 2.8rem;
        background-color: var(--main-color);
        box-shadow: 0 0 15px var(--main-color);
        border-radius: 4rem;
        font-size: 1.6rem;
        color: #f4c2c2;
        border: 2px solid transparent;
        letter-spacing: 0.15rem;
        font-weight: 600;
        cursor: pointer;
        transition: 300ms ease-in-out;
        margin: 0 1rem 2rem 0;
    }

    .btn:hover{
        transform: scale(1.05);
        box-shadow: 0 0 25px var(--second-bg-color);
    }

    .animation{
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}

.animation span {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    line-height: 1.2;
}


.animation span::before{
    content: "";
    color: #c82288;
    animation: words 20s infinite;
}

.animation span::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    width: calc(100% + 8px);
    height: 1.2em;
    background-color: var(--bg-color);
    border-left: 3px solid #c82288;
    animation: cursor 0.6s infinite, typing 20s steps(15) infinite;
}

    @keyframes cursor{
        to{
            border-left: 2px solid var(--text-color);
        }
    }

    @keyframes words{
        0%, 25%{
            content: "Software Developer";
        }
        26%, 50%{
            content: "Data & AI Learner";
     }
        51%, 75%{
            content: "Tech Explorer";
     }
        76%, 100%{
            content: "CyberSecurity Researcher ";
     }
    }
    @keyframes typing{

    /* yazı silinmiş */
    10%, 35%, 60%, 85%{
        width: 0;
    }

    /* yazı yazılıyor */
    0%, 25%, 50%, 75%{
        width: calc(100% + 8px);
    }
}

 /*HOME END*/

 /*ABOUT ME*/
.about{
    display: flex;
    align-items: center;
    gap: 8rem;
    padding: 8rem 12% 6rem;
}

.about-cards{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 45%;
}

.about-content{
    width: 55%;
    margin-left: 1rem;
}
.about-content h3{
    color: #c82288;
}

.card{
    padding: 2.5rem;
    color: var(--bg-color);
    background-color: var(--second-bg-color);
    border-radius: 1rem;

    box-shadow: 0 0 15px rgba(0,0,0,0.08);

    cursor: pointer;
    transition: 0.4s ease-in-out;
}

.card:hover{
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(200, 34, 136, 0.35);
}

.card h3{
    margin-top: 0;
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.card p{
    margin-top: 0.8rem;
    font-size: 1.4rem;
    line-height: 1.6;
}

.about-content h2{
    font-size: 5rem;
    margin-bottom: 1rem;
}

.about-content h3{
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-content p{
    font-size: 1.6rem;
    line-height: 1.8;
    
}
 /*ABOUT ME*/

/* EDUCATION START */
.heading {
  font-size: 8rem;
  text-align: center;
  margin: 5rem 0;
}

.education {
  background-color: var(--bg-color);
  padding: 100px 15px;
}

.timeline-items {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.timeline-items::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 100%;
  background-color: var(--main-color);
  left: calc(50% - 1px);
}

.timeline-item {
  margin-bottom: 40px;
  width: 100%;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
  padding-right: calc(50% + 30px);
}

.timeline-item:nth-child(even) {
  padding-left: calc(50% + 30px);
}

.timeline-dot {
  height: 21px;
  width: 21px;
  background-color: var(--main-color);
  box-shadow: 0 0 25px var(--main-color), 0 0 50px var(--main-color);
  position: absolute;
  left: calc(50% - 8px);
  border-radius: 50%;
  top: 10px;
}

.timeline-date {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  margin: 6px 0 15px;
}

.timeline-content {
  background-color: var(--second-bg-color);
  border: 3px solid var(--main-color);
  padding: 30px 50px;
  border-radius: 4rem;
  box-shadow: 0 0 10px var(--main-color);
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.timeline-content:hover{
  box-shadow: 0 0 25px var(--main-color);
  transform: scale(1.05);
}

.timeline-content h3 {
  font-size: 20px;
  color: var(--bg-color);
  margin: 0 0 10px;
  font-weight: 500;
}
.timeline-content p{
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  line-height: 22px;
}

::-webkit-scrollbar{
  width: 15px;
}

::-webkit-scrollbar-thumb{
  background-color: var(--main-color);
  border-radius: 4rem;
}

::-webkit-scrollbar-track{
  background-color: var(--bg-color);
  width: 50px;
}

/* EDUCATİON END */

 /*PROJECTS START*/
 .projects {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 100px 15px;
}

.projects h2 {
    margin-bottom: 5rem;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: stretch;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.projects-box {
    background-color: var(--second-bg-color);
    border: 3px solid transparent;
    border-radius: 2rem;
    padding: 2.5rem 2rem;
    transition: 0.3s ease-in-out;
    height: 100%;
    display: flex;
}

.projects-box:hover {
    border-color: var(--second-bg-color);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 25px #c82288;
}

.projects-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.projects-info h4 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--bg-color)
}

.projects-info p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: white;
}
/*CONTACT START*/
.contact {
    background-color: var(--bg-color);
}

.contact form{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 5rem auto;
    text-align: center;
}

.contact form .input-box{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

 .contact form .input-box input,
 .contact form textarea {
    width:100%;
    padding: 2.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
    background-color: #f6bab2;
    border-radius: 2rem;
    border: 2px solid var(--main-color);
    margin: 1.5rem 0;
    resize: none;

 }

 input[type="number"] ::-webkit-inner-spin-button,
 input[type="number"] ::-webkit-outer-spin-button{
    -webkit-appearance: none;
    margin: 0;
 }

 input[type="number"]{
    -moz-appearance: textfield;
 }

 /*FOOTER*/
 .footer{
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    background-color: #fcccbaed;
 }

 .footer .social{
    text-align: center;
    padding: 25px;
    color: var(--main-color);
 }

 .footer .social a{
    font-size: 25px;
    color: var(--text-color);
    border: 2px solid var(--main-color);
    width: 42px;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin:0 10px;
    transition: 0.3s ease-in-out;

 }

 .footer .social a:hover{
    transform:scale(1.2) translateY(-10px);
    background-color: var(--second-bg-color);
    color: black;
    box-shadow: 0 0 25px var(--main-color);
 }

 .footer ul{
    margin-top: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
 }

 .footer ul li a{
    color: var(--text-color);
    border-bottom: 3px solid transparent;
    transition: 0.3s ease-in-out;
 }

 .footer ul li a:hover{
    border-bottom: 3px solid var(--main-color);
    color: var(--main-color);
 }

 .footer ul li {
    display: inline-block;
    padding: 0 15px;
 }

 .footer .copyright{
    margin-top: 50px;
    text-align: center;
    color: #fff;
    font-size: 16px;

 }

 /* MEDIA QUERIES START */

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

  .skills-container {
    padding-bottom: 7rem;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 5rem;
  }
}

@media (max-width: 991px) {
  header {
    padding: 2rem 3%;
  }

  section {
    padding: 10rem 3% 2rem;
  }

  .timeline-items::before {
    left: 7px;
  }

  .timeline-item:nth-child(odd) {
    padding-right: 0;
    text-align: left;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 37px;
  }

  .timeline-dot {
    left: 0;
  }

  .skills  {
    padding-bottom: 7rem;
  }

  .experience .wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .contact form {
    flex-direction: column;
  }

  .footer {
    padding: 2rem 3%;
  }
  .about {
    flex-direction: column;
    gap: 4rem;
    padding: 8rem 3% 4rem;
  }

  .about-cards {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }

  .about-content h2 {
    font-size: 4.5rem;
  }

  .about-content h3 {
    font-size: 2.6rem;
  }

  .about-content p {
    font-size: 1.6rem;
    line-height: 1.8;
  }
  .home {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 4rem;
    margin: 0;
    padding-top: 15rem;
  }

  .home-content {
    align-items: center;
    text-align: center;
    margin-top: 0;
  }

  .home-content p {
    max-width: 700px;
  }

  .social_icons {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1rem;
  }

  .social_icons a {
    width: 4.6rem;
    height: 4.6rem;
    font-size: 2.6rem;
  }

  .home-img {
  width: 100%;
  display: flex;
  justify-content: center;
}

  .home-img img {
  width: 45vw;
  max-width: 360px;
  top: 0;
  display: block;
}
}

@media (max-width: 895px) {
  #menu-icon {
    display: block;
    cursor: pointer;
  }

  .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    width: 125px;
    padding: 1rem 3%;
    background-color: rgba(247, 146, 128, 0.8);
    backdrop-filter: blur(20px);
    border-bottom-left-radius: 2rem;
    border-left: 2px solid var(--main-color);
    border-bottom: 2px solid var(--main-color);

  }
  .navbar a{
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
    color: var(--bg-color);
  }
  .navbar.active {
    display: block;
  }
  .home {
    flex-direction: column-reverse;
    margin: 5rem 4rem;
  }

  .home-content h3 {
    font-size: 2.6rem;
  }

  .home-content h1 {
    font-size: 8rem;
    margin-top: 3rem;
  }

  .home-content p {
    max-width: 600px;
  }

  .home-img img {
    width: 56vw;
  }
  .skills h2{
    margin-bottom: 3rem;
  }
  .skills-container{
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 575px){
  .header a{
    font-size: 2.2rem;
  }

  .home {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: flex-start;
    gap: 4rem;
    width: 100%;
    margin: 0;
    padding-top: 16rem;
  }

  .home-content{
    align-items: center;
    text-align: center;
    margin-top: 0;
  }

  .home-content h1{
    font-size: 5rem;
    margin-bottom: 3rem;
  }

  .home-content h3{
    font-size: 3.5rem;
  }

  .home-content p{
    font-size: 2rem;
    max-width: 100%;
  }

  .animation span {
    display: inline-block;
    font-size: 2.8rem;
    margin-bottom: 2rem;
  }

  .animation span::after {
    content: "";
    background-color: var(--bg-color);
    width: calc(100% + 8px);
    height: 100%;
    position: absolute;
    border-left: 3px solid var(--bg-color);
    right: -8px;
    animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
  }

  .home-img{
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .home-img img{
    width: 68vw;
    max-width: 320px;
    top: 0;
  }

  .social_icons,
  .btn-group {
    margin: 0 auto;
  }

  .social_icons{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.8rem;
    margin: 3rem auto;
  }

  .social_icons a {
    width: 4.2rem;
    height: 4.2rem;
    font-size: 2.2rem;
    margin: 0;
    flex-shrink: 0;
  }

  .btn-group{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .btn-group .btn {
    font-size: 1.8rem;
  }

  .education {
    width: 100%;
  }

  .education h2 {
    font-size: 6rem;
  }

  h2.heading {
    font-size: 4.5rem !important;
  }

  .skills-container{
    margin: 0;
  }

  .skills-info {
    padding: 0rem 2rem;
  }

  .skills-info h4{
    line-height: 1;
    margin-bottom: 14px;
  }

  .skills-info p {
    font-size: 1.7rem;
    line-height: 1;
  }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .navbar a {
    font-size: 1.5rem;
  }

  .home-content h1 {
    font-size: 5rem;
  }

  .home-content p {
    font-size: 1.8rem;
    margin: 0;
  }

  .home-content h3 {
    font-size: 2.4rem;
  }

  .skills-container {
    margin: 0;
  }

  .skills-info {
    padding: 0rem 2rem;
  }

  .skills-info h4 {
    line-height: 1;
    margin-bottom: 14px;
  }

  .skills-info p {
    font-size: 1.8rem;
    line-height: 1;
  }
}

@media screen and (min-width: 1025px) {
  .home-content h1 {
    font-size: 5rem;
  }

  .home-content p {
    font-size: 1.8rem;
    margin: 0;
  }

  .home-content h3 {
    font-size: 2.5rem;
  }
}

/* MEDIA QUERIES END */

/*574,
 575 - 767,
  768 - 991,
   992 - 1023,
    1024 - 1199,
     1200 */