@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geologica&display=swap');

* {
    margin: 0px;
    padding: 0px;
    color: white;
    font-family: 'Geologica', sans-serif;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    display: none;
    visibility: hidden;
    opacity: 0
}



body {
    background-image: url("background.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    margin: 0;
    padding: 0;
}

header {
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10%;
    height: 12vh;
    position: relative;
}

.burger-menu {
    display: none;
    cursor: pointer;
    z-index: 1000;
}

.burger-icon {
    width: 30px;
    height: 20px;
    position: relative;
}

.burger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .burger-menu {
        display: block;
        position: fixed;
        right: 10%;
    }

    .topnav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        z-index: 100;
    }

    .topnav.active {
        left: 0;
    }

    .nav_links {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .nav_links li {
        margin: 20px 0;
        display: block;
    }

    .burger-icon.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-icon.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-icon.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}



.logo {
    cursor: pointer;
}

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

.nav_links li a {
    transition: 0.3s;
}

.nav_links li a:hover {
    color: rgb(168, 168, 168);
}

.navbutton {
    padding: 16px 40px;
    border-radius: 30px;
    border: none;
    background-color: white;
    color: black;
    font-weight: bold;
    transition: 0.3s;
}

.navbutton:hover {
    background-color: rgb(168, 168, 168);
}







#maindiv {
    width: 100%;
    min-height: 370px;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 50px;

}

#maindivtext {
    height: 100%;
    width: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0 15%;
    text-align: center;
    color: white;
}

#maindivtext h1 {
    font-size: 100px;
    color: rgb(255, 255, 255);
    text-shadow: -5px 5px 30px black;
}

#maindivtext h2 {
    font-size: 40px;
    color: rgb(255, 255, 255);
    text-shadow: -5px 5px 30px black;
}

@keyframes colorChange {
    0% {
      background-color: blueviolet; /* İlk renk (tomato) */
    }
    50% {
      background-color: blue; /* İkinci renk (dodgerblue) */
    }
    100% {
      background-color: blueviolet; /* İlk renk (tomato) */
    }
  }



#rgbtext {
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    background-size: 400% 400%;
    animation: colorChange 5s infinite;
    text-shadow: -5px 5px 30px black;
}

#maindivtext p {
    color: rgb(167, 167, 167);
    font-size: 22px;
    text-shadow: -5px 5px 30px black;
}

@media (max-width:1453px) {
    #maindivtext h1 {
        font-size: 80px;
    }

    #maindivtext h2 {
        font-size: 30px;
    }

    #maindivtext p {
        font-size: 17px;
    }
}

@media (max-width:1295px) {
    #maindivtext h1 {
        font-size: 50px;
    }

    #maindivtext h2 {
        font-size: 22px;
    }

    #maindivtext p {
        font-size: 14px;
    }
}

@media (max-width:555px) {
    #maindivtext h1 {
        font-size: 30px;
    }

    #maindivtext h2 {
        font-size: 22px;
    }

    #maindivtext p {
        font-size: 14px;
    }
}


#mainbuttonsdiv {
    width: 100%;
    height: auto;
    min-height: 160px;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 768px) {
    #mainbuttonsdiv {
        flex-direction: column;
        align-items: center;
    }

    #mainbuttonsdiv a {
        width: 100%;
        max-width: 300px;
    }
}

#mainbuttonsprj {
    color: black;
    font-weight: bold;
    border-radius: 15px;
    width: 180px;
    height: 60px;
    background-color: white;
    border: none;
    margin: 0px 10px;
    transition: 0.3s;
    font-size: 100%;
    cursor: pointer;
}

@media (max-width: 768px) {
    #mainbuttonsprj {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 555px) {
    #mainbuttonsprj {
        width: 70%;
        margin: 0;
    }
}


#mainbuttonsprj:hover {
    background-color: rgb(99, 99, 99);
}

@keyframes mainbuttonsconanimation {
    0%{border-radius: 0%;}
    100%{border-radius: 15px;}
}


#mainbuttonscon {
    border: 1px solid white;
    border-radius: 0%;
    width: 180px;
    height: 60px;
    background-color: black;
    color: white;
    margin: 0px 10px;
    font-size: 100%;
    transition: 0.3s;
    cursor: pointer;
}

@media (max-width: 768px) {
    #mainbuttonscon {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 555px) {
    #mainbuttonscon {
        width: 70%;
        margin: 0;
    }
}


#mainbuttonscon:hover {
    border-radius: 15px;
}





#mainmenumid {
    background-color: transparent;
    min-height: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    

}

#mainmenumidleft {
    background-color: transparent;
    height: 400px;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 25px;
}

/* BURASI MAİN MANU SOL TABLO BAŞI */
#table {
    height: 300px;
    width: 500px;
    border-radius: 10px;
    border: 1px solid white;
}

.tablerow {
    height: 50px;
    width: 500px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
}

#tablerowtopcolors {
    width: 100px;
    height: 50px;
    border-top-left-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid white;
    border-right: 1px solid white;
}

.tablerowtopcolorsball {
    height: 10px;
    width: 10px;
    border-radius: 100%;

}

#tablerowtopcolorsballred {
    background-color: red;
    margin-right: 5px;
}

#tablerowtopcolorsballyellow {
    background-color: yellow;
}

#tablerowtopcolorsballgreen {
    background-color: green;
    margin-left: 5px;
}

#tablerowtoptext {
    width: 100px;
    height: 50px;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid white;
}

#tablerowtopright {
    height: 50px;
    width: 300px;
    border-bottom: 1px solid white;
}

.tablerowline {
    display: flex;
    align-items: center;
    justify-content: start;
    height: 25px;
    width: 500px;
    font-size: 14px;
}

.tablerowlineleft {
    width: 25px;
    height: 25px;
    background-color: rgb(54, 54, 54);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: rgb(136, 136, 136);

}

#tablerow1rad {
    margin-top: 2px;
}

#tablerow10rad {
    border-bottom-left-radius: 10px;
}

.tablerowlineright {
    padding-left: 15px;
    color: rgb(182, 182, 182);
}

@keyframes leftonoffan {
    0% { color: rgb(182, 182, 182); }
    50% { color: transparent; }
    100% { color: rgb(182, 182, 182); }
}


#leftonoff {
    color: rgb(182, 182, 182);
    animation: leftonoffan 1s infinite;
}


/* BURASI MAİN MANU SOL TABLO SONU */

#midmid{
    width: 1px;
    min-height: 400px;
    margin: 0;
    padding: 0;
    background-image: linear-gradient(transparent,white,transparent);
}

@media (max-width: 1165px){
    #midmid{
        display: none;
    }
}


#mainmenumidright {
    background-color: transparent;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 25px;
    flex-direction: column;
    text-align: center;
}

#mainmenumidright p:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

#mainmenumidrighttext {
    width: 80%;
    color: rgb(168, 168, 168);
    line-height: 1.5;
    font-size: 20px;
}

.mainmenumidrighticons {
    filter: brightness(0) invert(1);
    height: 35px;
    width: 35px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

@media (max-width: 1165px) {
    #mainmenumidright {
        width: 100%;
        padding-bottom: 25px;
    }

    #mainmenumidrighttext {
        width: 90%;
    }
}

@media (max-width: 742px) {
    #mainmenumidright p:first-child {
        gap: 10px;
    }

    .mainmenumidrighticons {
        height: 30px;
        width: 30px;
    }

    #mainmenumidrighttext {
        width: 95%;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #mainmenumidright p:first-child {
        gap: 8px;
    }

    .mainmenumidrighticons {
        height: 25px;
        width: 25px;
    }

    #mainmenumidrighttext {
        font-size: 12px;
    }
}




@media (max-width:1165px) {
    #mainmenumid {
        flex-direction: column;
    }

    #mainmenumidleft {
        margin-bottom: 25px;
    }
}

@media (max-width:575px) {
    #table {
        height: 210px;
        width: 350px;
    }

    .tablerow {
        height: 21px;
        width: 350px;
    }

    #tablerowtopcolors {
        width: 70px;
        height: 21px;
    }

    .tablerowtopcolorsball {
        height: 7px;
        width: 7px;

    }

    #tablerowtoptext {
        width: 70px;
        height: 21px;
        font-size: 8px;
    }

    #tablerowtopright {
        height: 21px;
        width: 210px;
    }

    .tablerowline {
        height: 18.9px;
        width: 350px;
        font-size: 7px;
    }

    .tablerowlineleft {
        width: 20px;
        height: 18.9px;
        font-size: 7px;

    }

    #tablerow1rad {
        margin-top: 2px;
    }

    .tablerowlineright {
        padding-left: 15px;
    }
}

@media (max-width:370px) {
    #mainmenumidleft {
        display: none;
    }
}



#aboutmebottom{
    min-height: 400px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    margin: 0px;
    padding-bottom: 50px;
    padding-top: 50px;
}

#aboutmebottomleft{
    height: 100%;
    width: 500px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: rgb(168, 168, 168);
}

#aboutmebottomleft h1{
    color: rgb(24, 24, 24);
}

#aboutmebottomleft p{
    color: rgb(24, 24, 24);
}

#aboutmebottomleftbutton{
    padding: 16px 40px;
    border-radius: 30px;
    border: none;
    background-color: black;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

#aboutmebottomleftbutton:hover{
    background-color: rgb(36, 36, 36);
}

#aboutmebottomright{
    height: 400px;
    width: 500px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px;
    padding: 0px;
}

#aboutmebottomright img{
    height: 350px;
    width: auto;
    object-fit: contain;
    border-radius: 100%;
    border: 5px solid black;
    box-sizing: border-box;
    background-color: black;
}


@media (max-width: 1020px){

    #aboutmebottom {
        flex-direction: column;
    }

    #aboutmebottomleft {
        order: 1;
        margin: 20px;
        width: 80%;
    }

    #aboutmebottomleft h1{
        font-size: 24px;
    }
    #aboutmebottomleft p{
        font-size: 14px;
    }
    #aboutmebottomright {
        order: -1;
        width: 100%;
    }
    #aboutmebottomright img{
        height: 80%;
    }
}

@media (max-width: 500px){
    #aboutmebottomright img{
        height: 250px;
    }
}
    
@media (max-width: 350px){
    #aboutmebottomright img{
        height: 200px;
    }
}
    

#extra{
    height: 400px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2px;
}

@media (max-width: 500px){
    #extra{
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
}



.extracard{
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
}

.extracard img{
    height: 70px;
    width: auto;
    object-fit: contain;
    margin-bottom: 5px;
}

.extracard:hover{
    transition: 0.3s;
    background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 700px){
    .extracard img{
        height: 50px;
    }
}
    

/* BURASI PROJELER BAŞI */

#projectbottom{
    height: 400px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 2px;
}

.projectbottomcard{
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    padding: 0px;
    margin: 0px;
    text-align: center;
}

.projectbottomcard img{
    height: auto;
    width: 90%;
    padding: 0px;
    margin: 0px;
    object-fit: contain;
    border-radius: 15px;
    border: 1px solid rgb(122, 122, 122);
    transition: 0.3s;
}

.projectbottomcard img:hover{
    transition: 0.3s;
    width: 92%;
}



@media (max-width: 1200px){
    #projectbottom{
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(3, 1fr);
        height: auto;
        gap: 10px;
    }
    .projectbottomcard img{
        width: 70%;
    }
    .projectbottomcard img:hover{
        width: 72%;
    }
}

/* BURASI PROJELER SONU */
















/* BURASI İLETİŞİM BAŞI */

.section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 5%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-light);
    padding: 1rem;
    border-radius: 5px;
}

.btn {
    padding: 16px 40px;
    border-radius: 30px;
    border: none;
    background-color: white;
    color: black;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background-color: rgb(99, 99, 99);
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--accent-color);
}

/* BURASI İLETİŞİM SONU */



footer{
    width: 100%;
    min-height: 200px;
    background-image: linear-gradient(to bottom , transparent,black,black);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    color: white;
    font-size: 15px;
    padding-bottom: 60px;
}

@media (max-width:400px){
    footer p{
        font-size: 12px;
    }
}

@media (max-width:300px){
    footer p{
        font-size: 10px;
    }
}