﻿#turn_wrapper {
    width: 80px;
    height: 80px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

#turn_hideme {
    width: 85%;
    height: 85%;
    overflow: hidden;
    display: block;
    position: absolute;
    float: left;
    top: 0;
    left: 0;
    z-index: 1;
}

#turn_object {
    position: relative;
}

#turn_wrapper.right #turn_hideme *,
#turn_wrapper.right #turn_object {
    float: right !important;
}

#turn_wrapper.right #turn_hideme {
    float: right !important;
    right: 0 !important;
    left: auto;
}

#turn_wrapper.right #turn_object {
    right: 0 !important;
    left: auto !important;
}

#turn_wrapper.right {
    position: absolute;
    top: 0;
    width: 100%;
    height: 0;
    right: 0 !important;
}

    #turn_wrapper.right #turn_object * {
        position: absolute;
        right: 0 !important;
    }

#turn_wrapper #turn_object img#turn_fold {
    display: block;
    width: 100%;
    height: 100%;
    z-index: 1000;
    right: 0;
    position: absolute;
}

#turn_wrapper .ui-wrapper {
    left: 0 !important;
    top: 0 !important;
}

#turn_wrapper .ui-resizable-handle {
    border: none !important;
    border-width: 0 !important;
    /* I have NO idea why this works for IE7, but it does. Background none doesn't work. Go figure. */
    background: url(#none) !important;
    width: 100% !important;
    height: 100% !important;
}

/* CSS Document */

.block, #fruit {
    display: block;
    position: fixed;
    height: 20px;
}


.block, #fruit, .head {
    display: block;
    position: fixed;
    width: 20px;
}

.head, #head {
    background: #662D91;
    height: 20px !important; /* For the score! */
    color: white;
    padding: 0 0 4px 0;
    line-height: 1;
    font-size: 16px;
    text-align: center;
}

/* Green fruit */
#fruit {
    background: #00FF00;
}

/* Other snake colour */
.tail.two {
    background-color: #29ABE2 !important;
}

#head_two {
    background-color: blue !important;
}



/* @group default */

#wrapper {
    margin: 0 auto;
}

html {
    overflow-x: hidden;
}

#turn_wrapper {
    left: 10px !important;
}

body {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    overflow-y: scroll;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
}

@media only screen and (max-device-width:480px) {
    body {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        overflow: auto;
    }
}
/*Bilgi yarışması sayfası css başlangıç*/
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
}

.container {
    max-width: 800px;
    margin-top: 50px;
}

#question-container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

#question-text {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

.answer-button {
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    border: none;
    border-radius: 8px;
    background-color: #e0e0e0;
    color: #343a40;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

    .answer-button:hover {
        background-color: #007bff;
        color: white;
    }

    .answer-button.correct {
        background-color: #28a745;
        color: white;
    }

    .answer-button.incorrect {
        background-color: #dc3545;
        color: white;
    }

    .answer-button:focus {
        outline: none;
        box-shadow: none;
    }

#timer {
    font-size: 20px;
    font-weight: 600;
    color: #17a2b8;
    margin-bottom: 20px;
    text-align: left;
}

#correct-count {
    font-size: 20px;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 20px;
    text-align: right;
}

#category-select {
    margin-bottom: 30px;
}

    #category-select label {
        font-size: 18px;
        font-weight: 600;
        color: #2c3e50;
        margin-right: 10px;
    }

#category-dropdown {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

#start-quiz {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    background-color: #007bff;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Inter', sans-serif;
    margin: 0 auto;
    display: block;
}

    #start-quiz:hover {
        background-color: #0056b3;
    }

#results-container {
    display: none;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    text-align: center;
}

    #results-container h2 {
        font-size: 30px;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 20px;
    }

    #results-container p {
        font-size: 20px;
        color: #34495e;
        margin-bottom: 20px;
    }

    #results-container button {
        padding: 12px 25px;
        border: none;
        border-radius: 8px;
        background-color: #28a745;
        color: white;
        font-size: 18px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-family: 'Inter', sans-serif;
    }

        #results-container button:hover {
            background-color: #218838;
        }

.game-over-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.game-over-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 90%;
    max-width: 600px;
}

    .game-over-content h2 {
        font-size: 30px;
        color: #dc3545;
        margin-bottom: 20px;
    }

    .game-over-content p {
        font-size: 20px;
        color: #343a40;
        margin-bottom: 20px;
    }

    .game-over-content button {
        padding: 12px 25px;
        border: none;
        border-radius: 8px;
        background-color: #007bff;
        color: white;
        font-size: 18px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-family: 'Inter', sans-serif;
    }

        .game-over-content button:hover {
            background-color: #0056b3;
        }

#media (max-width: 768px) {
    .container

{
    margin-top: 30px;
}

#question-text {
    font-size: 20px;
}

.answer-button {
    font-size: 16px;
    padding: 12px;
}

#timer, #correct-count {
    font-size: 18px;
}

#category-select label {
    font-size: 16px;
}

#category-dropdown {
    font-size: 14px;
}

#start-quiz {
    font-size: 18px;
    padding: 12px 25px;
}

.game-over-content h2 {
    font-size: 24px;
}

.game-over-content p {
    font-size: 18px;
}

.fixed-element {
    position: fixed;
    top: 10px;
    right: 10px;
}


/*Bilgi yarışması sayfası css bitiş*/

/* @end */
