@import 'https://fonts.googleapis.com/css2?family=Poppins&display=swap';
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Waterfall&display=swap');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,400i,700,700i,900,900i');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i');
@import url('https://fonts.cdnfonts.com/css/freestyle-script');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

html {
    scroll-behavior: smooth
}

.max-width {
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}

/*all*/
.about,
.skills,
.project,
.contact,
footer {
    font-family: poppins, sans-serif
}

.about .about-content,
.skills .skills-content,
.project .project-content,
.contact .contact-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between
}

.about .title,
.skills .title,
.contact .title,
.project .title {  /*for title*/
    font-size: 50px;
    text-align: center;
    text-decoration: underline;
}

/* navbar stil */

.navbar .logo {
    color: #fff;
    font-size: 60px;
    font-weight: 600
}

/* .navbar .logo {
    text-decoration: underline;
    text-decoration-color: crimson;
} */

.navbar {
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 30px 0;
    font-family: 'Waterfall', cursive;
    transition: all .3s ease
}

.navbar.sticky {
    padding: 15px 0;
    background: #000
}

.navbar .max-width {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.navbar .menuu li {
    list-style: none;
    display: inline-block
}

.navbar .menuu li a {
    display: block;
    color: #fff;
    font-size: 60px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.4s ease
}

.navbar .menuu li a:hover {
    color: crimson
}

.navbar.sticky .menuu li a:hover {
    color: #fff
}


/* home stil */
/* 
.home {
    display: flex;
    background: url(hevan2.jpg) no-repeat center;
    height: 100vh;
    color: #fff;
    min-height: 500px;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Waterfall', cursive;
}

.home .max-width {
    width: 100%;
    display: flex
}

.home .home-content .text-1 {
    font-size: 50px
}

.home .home-content .text-2 {
    font-size: 100px;
    font-weight: 600;
    margin-left: -3px
}

.home .home-content .text-3 {
    font-size: 65px;
    margin: 5px 0
}

.home .home-content .text-3 span {
    color: crimson;
    font-weight: 500
}

.home .home-content {
    color: #fff;
} */


/* General section styling */
.home {
    display: flex;
    background: url(hevan2.jpg) no-repeat center;
    height: 100vh;
    color: #fff;
    min-height: 500px;
    background-size: cover;
    background-attachment: fixed;
    font-family: poppins, sans-serif;
}

.home .max-width {
    width: 100%;
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    text-align: center; /* Center the text */
    flex-direction: column; /* Stack items vertically */
}

.home .home-content .text-1 {
    font-size: 50px;
    margin-bottom: 10px;
}

.home .home-content .text-2 {
    font-size: 80px; /* Adjusted for better readability */
    font-weight: 700; /* Bold */
    margin: 0; /* Removed left margin */
}

.home .home-content .text-3 {
    font-size: 50px; /* Adjusted for better readability */
    margin: 20px 0; /* Added top and bottom margin */
}

.home .home-content .text-3 span {
    color: crimson;
    font-weight: 700; /* Bold */
}

.home .home-content {
    color: #fff;
}

.cv-button {
    padding: 15px 30px;
    font-size: 18px;
    color: #fff;
    background-color: crimson; /* Button background color */
    border: none;
    border-radius: 25px; /* Rounded corners */
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px; /* Added top margin */
    font-family: poppins, sans-serif; /* Matching font family */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Box shadow for a 3D effect */
}

.cv-button:hover {
    background-color: darkred; /* Darker red on hover */
    transform: translateY(-3px); /* Slight upward movement on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* Increased shadow on hover */
}

.cv-button:active {
    transform: translateY(-1px); /* Slightly less upward movement when clicked */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Reduced shadow when clicked */
}

@media (max-width: 768px) {
    .home .home-content .text-1 {
        font-size: 30px;
    }

    .home .home-content .text-2 {
        font-size: 60px;
    }

    .home .home-content .text-3 {
        font-size: 35px;
    }

    .cv-button {
        font-size: 16px;
        padding: 10px 20px;
    }
}

/* about stil */

.about .lorem33 {
    color: #fff;
}

.about .title {
    font-size: 60px;
    text-align: center;
    text-decoration: underline;
}

.about .about-content .left {
    width: 45%
}

.about .about-content .left img {
    height: 400px;
    width: 400px;
    object-fit: cover;
    border-radius: 5px
}

.about .about-content .right {
    width: 55%
}

.about .about-content .right .text {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px
}

.about .about-content .right .text span {
    color: crimson
}

.about .about-content .right p {
    text-align: justify
}

.about .about-content .right span {
    color: crimson;
    font-weight: 500
}

#photoimg {
    border-radius: 10%;
    cursor: pointer;
    width: 66%;
    height: 400px;
}


/* skills stil */

.skills .lorem33 {
    color: #fff;
}

.skills .title {
    font-size: 50px;
    text-align: center;
    text-decoration: underline;
}

.skills .skills-content .column {
    width: calc(50% - 30px)
}

.skills .skills-content .left .text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px
}

.skills .skills-content .left p {
    text-align: justify
}

.skills .skills-content .right .bars {
    margin-bottom: 10px
}

.skills .skills-content .right .info {
    display: flex;
    margin-bottom: 5px;
    align-items: center;
    justify-content: space-between
}

.skills .skills-content .right span {
    font-weight: 500;
    font-size: 18px
}

.skills .skills-content .right .line {
    height: 5px;
    width: 100%;
    background: lightgrey;
    position: relative
}

.skills .skills-content .right .line::before {
    content: "";
    position: absolute;
    height: 100%;
    left: 10;
    top: 10;
    background: #000;
}

.skills-content .right .html::before {
    width: 50%
}

.skills-content .right .css::before {
    width: 50%
}

.skills-content .right .js::before {
    width: 50%
}

.skills-content .right .python::before {
    width: 60%
}

.skills-content .right .c::before {
    width: 70%
}

.skills-content .right .cplusplus::before {
    width: 80%
}


/* Grow Shadow */ 
.hvr-grow-shadow {
    flex: 1;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    padding: 100px;
    font-size: 25px;
    color: #fff;
    background-color: #070505;
    border: 5px solid #fff;
    cursor: pointer;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(7, 7, 7, 0);
    transition-duration: 0.3s;
    transition-property: box-shadow, transform;
  }
  .container {
    display: flex;
    gap: 30px; 
  }
  .hvr-grow-shadow:hover, .hvr-grow-shadow:focus, .hvr-grow-shadow:active {
    box-shadow: 0 20px 20px -20px rgba(255, 255, 255, 0.8);
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }


/* Kutuların genişliği, ekran genişliği 992 pikselin altında ise tek kutu göster */
@media screen and (max-width: 992px) {
    .hvr-grow-shadow {
        flex: none; 
        width: 80%; 
    }
}
/*project*/


.arkaplan-project {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(lamborghini.jpg) no-repeat center;
    height: 50vh;
    color: #fff;
    min-height: 1000px;
    background-size: cover;
    background-attachment: fixed;
}
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.box {
    width: 25%;
    height: 300px; 
    margin: 20px;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.hvr-bounce-to-top {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    transition-property: color;
    transition-duration: 0.5s;
}

.hvr-bounce-to-top:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #2098D1;
    transform: scaleY(0);
    transform-origin: 50% 100%;
    transition-property: transform;
    transition-duration: 0.5s;
    transition-timing-function: ease-out;
}

.hvr-bounce-to-top:hover, .hvr-bounce-to-top:focus, .hvr-bounce-to-top:active {
    color: white;
}

.hvr-bounce-to-top:hover:before, .hvr-bounce-to-top:focus:before, .hvr-bounce-to-top:active:before {
    transform: scaleY(1);
    transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

img {
    width: 100%;
    height: auto;
}

p {
    text-align: center;
    padding: 10px;
}

.project .title {
    font-size: 60px;
    text-align: center;
    text-decoration: underline;
}


/* contact */
.contact .lorem33 {
    color: #fff;
}
@-webkit-keyframes hvr-buzz-out {
    10% {
      -webkit-transform: translateX(3px) rotate(2deg);
      transform: translateX(3px) rotate(2deg);
    }
    20% {
      -webkit-transform: translateX(-3px) rotate(-2deg);
      transform: translateX(-3px) rotate(-2deg);
    }
    30% {
      -webkit-transform: translateX(3px) rotate(2deg);
      transform: translateX(3px) rotate(2deg);
    }
    40% {
      -webkit-transform: translateX(-3px) rotate(-2deg);
      transform: translateX(-3px) rotate(-2deg);
    }
    50% {
      -webkit-transform: translateX(2px) rotate(1deg);
      transform: translateX(2px) rotate(1deg);
    }
    60% {
      -webkit-transform: translateX(-2px) rotate(-1deg);
      transform: translateX(-2px) rotate(-1deg);
    }
    70% {
      -webkit-transform: translateX(2px) rotate(1deg);
      transform: translateX(2px) rotate(1deg);
    }
    80% {
      -webkit-transform: translateX(-2px) rotate(-1deg);
      transform: translateX(-2px) rotate(-1deg);
    }
    90% {
      -webkit-transform: translateX(1px) rotate(0);
      transform: translateX(1px) rotate(0);
    }
    100% {
      -webkit-transform: translateX(-1px) rotate(0);
      transform: translateX(-1px) rotate(0);
    }
  }
  @keyframes hvr-buzz-out {
    10% {
      -webkit-transform: translateX(3px) rotate(2deg);
      transform: translateX(3px) rotate(2deg);
    }
    20% {
      -webkit-transform: translateX(-3px) rotate(-2deg);
      transform: translateX(-3px) rotate(-2deg);
    }
    30% {
      -webkit-transform: translateX(3px) rotate(2deg);
      transform: translateX(3px) rotate(2deg);
    }
    40% {
      -webkit-transform: translateX(-3px) rotate(-2deg);
      transform: translateX(-3px) rotate(-2deg);
    }
    50% {
      -webkit-transform: translateX(2px) rotate(1deg);
      transform: translateX(2px) rotate(1deg);
    }
    60% {
      -webkit-transform: translateX(-2px) rotate(-1deg);
      transform: translateX(-2px) rotate(-1deg);
    }
    70% {
      -webkit-transform: translateX(2px) rotate(1deg);
      transform: translateX(2px) rotate(1deg);
    }
    80% {
      -webkit-transform: translateX(-2px) rotate(-1deg);
      transform: translateX(-2px) rotate(-1deg);
    }
    90% {
      -webkit-transform: translateX(1px) rotate(0);
      transform: translateX(1px) rotate(0);
    }
    100% {
      -webkit-transform: translateX(-1px) rotate(0);
      transform: translateX(-1px) rotate(0);
    }
  }
  .hvr-buzz-out {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  }
  .hvr-buzz-out:hover, .hvr-buzz-out:focus, .hvr-buzz-out:active {
    -webkit-animation-name: hvr-buzz-out;
    animation-name: hvr-buzz-out;
    -webkit-animation-duration: 0.75s;
    animation-duration: 0.75s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
  }
  
  
.logoo {
    display: inline-block;
    margin: 8px;
    text-align: center;
    margin-top: -35px;
}

.logoo a {
    color: rgb(13, 11, 19);
    font-size: 60px;
    transform: all ease-in-out 298ms;
}

.logoo a:hover {
    color: #b9b9b9;
}


.contact {
    padding: 10px 0;
    margin: auto 15%;
}

.conicon {
    font-size: 20px;
}

.contact-contact {
    margin-top: 60px;
    display: flex;
    justify-content: space-evenly;
    background-color: #fff;
}


.contact-item {
    width: 34%;
    height: 126px;
    flex-direction: column;
    background-color: rgb(240, 4, 4);
    border-radius: 10px;
    margin: 20px;
    border: 20px;
    text-align: center;
}
/*footer*/

.footer {
    background: #111;
    padding: 15px 23px;
    color: #fff;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.social-icons a {
    color: #fff;
    margin: 0 5px;
    font-size: 24px;
}



/* Mobil cihazlar için genel düzenlemeler */
@media screen and (max-width: 768px) {
    .max-width {
        padding: 0 20px;
    }

    .navbar .logo {
        font-size: 30px;
    }

    .navbar .menuu li a {
        font-size: 30px;
        margin-left: 10px;
    }

    .home .home-content .text-1,
    .home .home-content .text-2,
    .home .home-content .text-3 {
        font-size: 30px;
    }

    .about .title,
    .skills .title,
    .contact .title,
    .project .title {
        font-size: 30px;
    }

    .about .about-content,
    .skills .skills-content,
    .project .project-content,
    .contact .contact-content {
        flex-direction: column;
    }

    .about .about-content .left,
    .about .about-content .right,
    .skills .skills-content .column {
        width: 100%;
        margin-bottom: 20px;
    }

    .skills .skills-content .right .bars,
    .skills .skills-content .right .info,
    .skills .skills-content .right .line {
        margin-bottom: 10px;
    }

    .project .container .box {
        width: 100%;
    }

    .contact .contact-contact {
        flex-direction: column;
        align-items: center;
    }

    .contact .contact-item {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer {
        padding: 10px;
        text-align: center;
    }

    .social-icons a {
        font-size: 20px;
    }
}


/* Büyük ekranlar için küçük resmi gizle */
.small-screen {
    display: none;
}

/* Küçük ekranlar için büyük resmi gizle ve küçük resmi göster */
@media screen and (max-width: 768px) {
    .large-screen {
        display: none;
    }
    .small-screen {
        display: block;
    }
}


/* Hide the menu and show the hamburger icon on smaller screens */
.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
}

.menuu {
    display: flex;
    list-style: none;
}

.menuu li {
    display: inline-block;
}

@media (max-width: 768px) {
    .menuu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #000;
    }

    .menuu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .menuu li {
        display: block;
        width: 100%;
        text-align: center;
    }

    .menuu li a {
        display: block;
        padding: 15px;
        color: #fff;
        text-decoration: none;
    }

    .menuu li a:hover {
        background-color: crimson;
    }
}

