* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior:smooth;
  }
body {
    width: 100%;
    height: 100%;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background: linear-gradient(to right, rgb(2, 97, 129), rgb(150, 149, 149));
    font-weight: bold;

}

.hidden {
    transform: scale(0.4);
    filter: blur(3px);
    transition: 0.5s ease;
}

.visible {
    transform: scale(1);
    filter: blur(0px);
    transition: 0.5s ease;
}

.menu-bar a {
    text-decoration: none;
    color: white;
    cursor: pointer;
}

.menu-bar-container {
    display: none;
    /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Add background for visibility */
    z-index: 1;
    
}


.menu-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100%;
    color: white;
    font-size: 80px;
}


.contents a{
    text-decoration: none;
    color: #efbf2f;
    margin: 20px;
    font-family: "Bruno Ace", sans-serif;
}



.container2 {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(1, 101, 135, 0.678), rgb(139, 139, 139));
    position: relative;
    top: 50px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.container{
    position: relative;
    top: 50px;
    z-index: 3;
    
}

.title-works{
margin: 100px;
    z-index: 2;
    color:orange;
    text-align: center;
    
}

.works-title{
padding-left: 30px;    
font-family: "Bruno Ace", sans-serif;
    text-shadow: 2px 2px 5px #c70404; /* Black shadow with blur */


}

.char{
    display: inline-block;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-in;
}

.char.visible{
    opacity: 1;
    transform: translateY(0);

}

h1 span {
    color: orange
}

.nav-div {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


.nav {
    position: fixed;
    background-color: rgb(0, 0, 0);
    border-radius: 10px;
    overflow: hidden;
    width: 95%;
    display: flex;
    top: 0;
    z-index: 4;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.menu-container {
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: fixed; /* Ensure the whole container is positioned */
    left: 20px;
    top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    display: none;
}
.menu::before {
    content: '';
    background-color: rgb(255, 255, 255);
    width: 30px;
    height: 5px;
    position: absolute;
    top: -10px;
    left: 0;
}

.menu {
    background-color: rgb(255, 255, 255);
    width: 30px;
    height: 5px;
    position: relative;
    z-index: 2;
    transition: 0.5s;
}

.menu::after {
    content: '';
    background-color: rgb(255, 255, 255);
    width: 30px;
    height: 5px;
    position: absolute;
    top: 10px;
    left: 0;
}

#input {
    position: absolute;
    left: 20px;
    top: 20px;
    visibility: hidden;
    width: 30px;
    height: 30px;
}

#input:checked+.menu-container .menu {
    transition: 0.5s;
    transform: rotate(225deg);
}


#input:checked~.menu-container .menu::before {
    transform: rotate(90deg);
    top: 0;
}

#input {
    display: none;
}

#input:checked~.menu-container .menu::after {
    transform: rotate(90deg);
    top: 0;
}

.nav .navigation {
    display: flex;
    margin-left: auto;
    z-index: 2;
    overflow: hidden;
}

.nav .navigation a {
    cursor: pointer;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-family: "Bruno Ace", sans-serif;
    font-size: 21px;
}

.navigation .bg-themes {
    cursor: pointer;
}

.nav p,
a {
    margin: 30px;
}

.head {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 100vh;
}

.img-title {
    display: none;
}

.head .title {
    margin: 20px 100px;
    width: 70%;
    height: 100%;
}

.head .img {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.head .img .img1 {
    width: 300px;
    height: 400px;
    z-index: 2;
    position: relative;
    right: 150px;
    bottom: 50px;
    border-radius: 30%;
}

.title .section {
    display: flex;
    flex-direction: column;
    margin: 80px 0;
    height: 20%;
    width: 100%;
    font-size: 25px;
}


.contact {
    list-style: none;
    color: white;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}


.contactMenu {
    text-align: center;
    list-style: none;
    margin-top: 15px;
}

.navigation ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.contact .contact-mail {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 60px;
    background-color: orange;
    border-radius: 2px;
}




.digital-twin {
    color: rgb(255, 255, 255);
    margin: 25px;
    font-weight: 200;
    padding: 10px;
}


.digital-twin-abstract,
.iot-aim,
.fuzzy-pid,
.desktop-project,
.calculator-app,
.weather-app,
.todo-app,
.note-app {
    text-align: justify;
    box-shadow: black 0 1.8px 5px;
    margin: 25px;
    padding: 10px;
    border-radius: 5px;
    font-weight: 150;
    color: rgb(255, 255, 255);
    background-color: rgba(3, 6, 35, 0.515);
    font-family: "Quattrocento", serif;
}
p{
    letter-spacing: 2px;
    word-spacing: 5px;
    line-height: 30px;
}
.real-factory,
.fuzzy-project-structures {
    border-radius: 10px;
    width: 450px;
    margin: 10px;
    box-shadow: black 0 1.8px 5px;

}
.color li{
    line-height: 30px;
}
.real-factory-ovens {
    width: 500px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: black 0 1.8px 5px;

}

.s11,
.website {
    border-radius: 10px;
    width: 300px;
    margin: 10px;
    box-shadow: black 0 1.8px 5px;
}

.app {
    border-radius: 10px;
    margin: 10px;
    box-shadow: black 0 1.8px 5px;
}

.ovens-img,
.app-img,
.circuit-img {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0;
    padding: 30px;
    height: auto;
}

.factory-img,
.website-img-container,
.ss11-img-container,
.fuzzy-circuit-img,
.desktop-structure-img {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0;
    padding: 30px;
    height: auto;

}




.factory-container,
.iot-img-container,
.fuzzy-pid-img,
.desktop-clock-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ovens-img p {
    color: #ffffff;
    margin-top: 0px;
    width: 400px;
    text-align: center;

}


.factory-img p {
    color: #ffffff;
    width: 400px;
    text-align: center;
}

.desktop-clock-structures {
    border-radius: 10px;
    width: 450px;
    margin: 10px;
    box-shadow: black 0 1.8px 5px;
}


.video-container {
    display: flex;
    align-items: center;
    justify-content: center;
margin: 15px;
}

.js-scroll {
    opacity: 0;
    transition: opacity 500ms;
  }
  
  .js-scroll.scrolled {
    opacity: 1;
  }

  .scrolled.slide-left {
    animation: slide-in-left 1s ease-in-out both;
  }


/*scroll bar styles*/

  ::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #888;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }


  .rights-workspage {

    word-spacing: 5px; 
    color: white;
}

.rights-container{
    margin-top: 10px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center;
}


/*--------------------------------------*/


@media screen and (max-width: 1080px) {
    .head .img {
        display: none;
    }


    .container2 {
        background: linear-gradient(to right, rgb(2, 97, 129), rgb(150, 149, 149));

        color: rgb(255, 255, 255);

    }

    .menu-bar {
        font-size: xx-large;
    }


    .head {
        display: flex;
        align-items: center;
        justify-items: center;
        width: 100%;
        height: 100vh;

    }

    .head .title {
        margin: 250px 100px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    #input {
        display: inline;
    }


    .menu-container {
        display: inline-flex;
        z-index: 4;
    }

    .nav .navigation,
    .logo {
        display: none;
    }

    .section {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;

    }

    .section p {
        padding: 15px;
        text-align: justify;

    }

    .img-title {
        display: inline;
        width: 110px;
        border-radius: 40%;
    }

    .factory-container,
    .iot-img-container,
    .fuzzy-pid-img,
    .desktop-clock-img {
        flex-direction: column;
        /* Stack images vertically */
    }

    .real-factory:hover,
    .real-factory-ovens:hover {
        transform: scale(1.2);

    }



    .real-factory,
    .real-factory-ovens {
        border-radius: 5px;
    }


    .fuzzy-project-structures:hover,
    .desktop-clock-structures:hover,
    .s11:hover,
    .website:hover,
    .app:hover {
        transform: scale(1.2);

    }

    .ovens-img,
    .factory-img,
    .real-factory,
    .real-factory-ovens,
    .fuzzy-project-structures,
    .desktop-clock-structures {
        width: 300px;
        /* Adjust width to fit the screen */
        margin: 20px;
        /* Center images and add space */
    }

    .ovens-img p {
        color: #fff;
        margin-top: 0px;
        width: auto;
    }

    .factory-img p {
        color: #fff;
        margin-top: 0px;
        width: auto;
    }

    .rights-workspage {
font-size: 12px;
        word-spacing: 5px; 
        color: white;
    }
}





@media screen and (min-width: 1050px) {

    .real-factory:hover,
    .real-factory-ovens:hover,
    .s11:hover,
    .website:hover,
    .app:hover,
    .fuzzy-project-structures:hover,
    .desktop-clock-structures:hover {
        transform: scale(1);

    }
}


/* Mobil Ekran Düzenlemeleri */
@media screen and (max-height:668px) {


    .menu-bar {
        display: grid;
        grid-template-columns: repeat(1, 50%);
    }
}


/*--------------------------------------------------*/

@keyframes slide-in-left {
    0% {
      -webkit-transform: translateX(-100px);
      transform: translateX(-100px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
      transform: translateX(0);
      opacity: 1;
    }
  }