/*=============== TIMELINE =============== */


html {
    height: 100%;
}

body {
    min-height: 100%;
}

body {

    font-weight: 500;

    background-color: #0f0f10;
    padding: 0 25px;
    display: flex;
    flex-direction: column;
    position: relative;
}



h1 {
    text-align: center;
    height: 38px;
    margin: 10px 0;
    font-family: 'Arial';
}

h1 span {
    white-space: nowrap;
}

.flex-parent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.input-flex-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    width: 80vw;
    max-width: 1000px;
    position: relative;
    z-index: 0;
    margin-left: calc((80vw - 25px) / 20);
}

input {
    width: 25px;
    height: 25px;
    background-color: #2C3E50;
    position: relative;
    border-radius: 50%;
    display: block;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

input:focus {
    outline: none;
}

input::before,
input::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 50%;
    transform: translateY(-50%);
    background-color: #2C3E50;
    width: 4vw;
    height: 5px;
    max-width: 50px;
}

input::before {
    left: calc(-4vw + 12.5px);
}

input::after {
    right: calc(-4vw + 12.5px);
}

input:checked {
    background-color: #2C3E50;
}

input:checked::before {
    background-color: #2C3E50;
}

input:checked::after {
    background-color: #AEB6BF;
}

input:checked~input,
input:checked~input::before,
input:checked~input::after {
    background-color: #AEB6BF;
}

input:checked+.dot-info span {
    font-size: 13px;
    font-weight: bold;
}

.dot-info {
    width: 25px;
    height: 25px;
    display: block;
    visibility: hidden;
    position: relative;
    z-index: -1;
    left: calc((((80vw - 25px) / 20) * -1) - 1px);
}

.dot-info span {
    visibility: visible;
    position: absolute;
    font-size: 12px;
}

.dot-info span.year {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.dot-info span.label {
    top: -65px;
    left: 0;
    transform: rotateZ(-45deg);
    width: 70px;
    text-indent: -10px;
}

#timeline-descriptions-wrapper {
    width: 100%;
    margin-top: 140px;
    font-size: 22px;
    font-weight: 400;
    margin-left: calc((-80vw - 25px) / 20);
}

#timeline-descriptions-wrapper p {
    margin-top: 0;
    display: none;
}

input[data-description="1910"]:checked~#timeline-descriptions-wrapper p[data-description="1910"] {
    display: block;
}

input[data-description="1920"]:checked~#timeline-descriptions-wrapper p[data-description="1920"] {
    display: block;
}

input[data-description="1930"]:checked~#timeline-descriptions-wrapper p[data-description="1930"] {
    display: block;
}

input[data-description="1940"]:checked~#timeline-descriptions-wrapper p[data-description="1940"] {
    display: block;
}

input[data-description="1950"]:checked~#timeline-descriptions-wrapper p[data-description="1950"] {
    display: block;
}

input[data-description="1960"]:checked~#timeline-descriptions-wrapper p[data-description="1960"] {
    display: block;
}

input[data-description="1970"]:checked~#timeline-descriptions-wrapper p[data-description="1970"] {
    display: block;
}

input[data-description="1980"]:checked~#timeline-descriptions-wrapper p[data-description="1980"] {
    display: block;
}

input[data-description="1990"]:checked~#timeline-descriptions-wrapper p[data-description="1990"] {
    display: block;
}

input[data-description="2000"]:checked~#timeline-descriptions-wrapper p[data-description="2000"] {
    display: block;
}

@media (min-width: 1250px) {
    .input-flex-container {
        margin-left: 62.5px;
    }

    input::before {
        left: -37.5px;
    }

    input::after {
        right: -37.5px;
    }

    .dot-info {
        left: calc((((1000px - 25px) / 20) * -1) - 1px);
    }

    #timeline-descriptions-wrapper {
        margin-left: -37.5px;
    }
}

@media (max-width: 630px) {
    .flex-parent {
        justify-content: initial;
    }

    .input-flex-container {
        flex-wrap: wrap;
        justify-content: center;
        width: 400px;
        height: auto;
        margin-top: 15vh;
        margin-left: 0;
        padding-bottom: 30px;
    }

    input,
    .dot-info {
        width: 60px;
        height: 60px;
        margin: 0 10px 70px;

    }

    input {
        background-color: transparent !important;
        z-index: 1;
    }

    input::before,
    input::after {
        content: none;
    }

    input:checked+.dot-info {
        background-color: #2C3E50;
    }

    input:checked+.dot-info span.year {
        font-size: 14px;
    }

    input:checked+.dot-info span.label {
        font-size: 12px;
    }

    .dot-info {
        visibility: visible;
        border-radius: 50%;
        z-index: 0;
        left: 0;
        margin-left: -70px;
        background-color: #AEB6BF;
    }

    .dot-info span.year {
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #ECF0F1;
    }

    .dot-info span.label {
        top: calc(100% + 5px);
        left: 50%;
        transform: translateX(-50%);
        text-indent: 0;
        text-align: center;
    }

    #timeline-descriptions-wrapper {
        margin-top: 30px;
        margin-left: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .input-flex-container {
        width: 340px;
    }
}

@media (max-width: 400px) {
    .input-flex-container {
        width: 300px;
    }

    .nav__close {
        position: absolute;
        font-size: 1.5rem;
        top: 1rem;
        right: 1rem;
        color: var(--white-color);
        cursor: pointer;
    }


    html,
    body {
        width: 100%;
        height: auto;
        margin-top: 20px;
        padding: 0px;
        overflow-x: hidden;
    }


}

@media (min-width: 1024px) {

   

.about-ouzby-h1{
    margin-top: 75px !important;
    font-family: 'Arial' !important;
}



.about-p-baslangic{
    margin-top: 80px !important;
    text-align: center;
    width: 50%;
    margin-left: 50%;
    margin-top: 100px !important;
    height: auto !important;
    transform: translate(-50%, -50%);
}

.about-p-veri{
   
    text-align: center;
    width: 50%;
    margin-left: 50%;
   
    
    transform: translate(-50%, -50%);
}

.about-p-veri2{
    margin-top: 25px !important;
    text-align: center;
    width: 50%;
    margin-left: 50%;
   padding-bottom: 25px;
    
    transform: translate(-50%, -50%);
}

.about-p-veri-turu{
    
    text-align: center;
    width: 50%;
    margin-left: 50%;
    margin-top: 25px !important;
    
    transform: translate(-50%, -50%);
}

.maddeler{
    list-style-type: circle;
    text-align: justify;
    width: 30%;
    margin-left: 50%;
   
    height: auto !important;
    transform: translate(-50%, -50%);
}

.maddeler2{
    list-style-type: circle;
    text-align: justify;
    width: 30%;
    margin-left: 50%;
    margin-top: 425px;
    height: 800px !important;
    transform: translate(-50%, -50%);
}

.about-p{
    margin-top: 2px;
}


}

@media screen and (max-width: 460px) {

    .about-ouzby-h1{
        margin-top: 25px !important;
        font-family: 'Arial' !important;
    }

    .about-img{
        margin-top: 20px;
    }
   
    .about-title{
       display: inline-block !important;
       overflow-x: hidden !important;
      
    }
   
    .about-p-baslangic{
        margin-top: 80px !important;
        text-align: center;
        width: 90%;
        margin-left: 10px;
        height: 250px !important;
    }

        .about-p-veri {
            margin-top: 150px !important;
            text-align: center;
            width: 90%;
            margin-left: 10px;
            
        }

        .about-p-veri2 {
            margin-top: 25px !important;
            text-align: center;
            width: 90%;
            margin-left: 10px;
            
        }

                .maddeler {
                    list-style: circle;
                    margin: auto;
                    text-align: center;
                    width: 90%;
                    margin-left: 25px;
                    
                }
                .maddeler2 {
                    list-style: circle;
                    margin: auto;
                    text-align: center;
                    width: 90%;
                    margin-left: 25px;
                    
                }

                                 .about-p-veri-turu {
                                     margin-top: 15px !important;
                                     text-align: center;
                                     width: 90%;
                                     margin-left: 10px;
                
                                 }

                                 .about-p{
                                    text-align: center;
                                        width: 90%;
                                        margin-left: 10px;
                                 }
                                                                 body {
                                                                     width: 100% !important;
                                                                     height: auto !important;
                                                                     margin: 0px !important;
                                                                     padding: 0px !important;
                                                                     overflow-x: hidden !important;
                                                                 }
}