@import url('https://fonts.googleapis.com/css2?family=Bowlby+One+SC&display=swap');

section .alert {
    position: absolute;
    top: -100px;
    width: 100%;
    text-align: center;
    font-size: 24px;
}

section {
    height: 100vh;
    top:104px;
    display: grid;
    grid-template-columns: 3fr 2.1fr;
    grid-template-rows: 600px;
    grid-template-areas: 
        'content_text content_image'
        'content_slider content_slider'
    ;
}

/*Anasayfa Fotoğraf*/
#content_image {
    margin-top: 50px;
    grid-area: content_image;
    position: relative;
    animation: sagdansola 2s ease;
    text-align: center;
}

@keyframes sagdansola {
    from {
        right:-200px;
    }
    to {
        right: 0px;
    }
}

#content_image img {
    width:100%;
    height:100%;
    object-fit:cover;
    margin: 0px;
}

/*Anasayfa Yazı*/
#content_text {
    padding-left: 50px;
    grid-area: content_text;
    font-family: "Inria Sans", sans-serif;
    font-size: 20px;
    font-weight: 300;
    animation: soldansaga 2s ease;
    position: relative;
}

@keyframes soldansaga {
    from {
        left:-200px;
        color: rgba(255, 255, 255, 0);
    }
    to {
        left: 0px;
        color: rgb(0, 0, 0);
    }
}

#content_text a {
    text-decoration: none;
    border: 2px solid #70689d;
    color: #70689d;
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 26px;
    margin-top: 5px;
    position: absolute;
}

#content_text a:hover {
    background-color:#70689d;
    color: white;
}

/*Anasayfa Slider*/
#content_slider {
    margin-top: 50px;
    grid-area: content_slider;
    font-family: "Inria Sans", sans-serif;
    font-size: 24px;
    color: white;
    text-align: center;
    background-image: url('../img/vizeturleri_background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#content_slider> p {
    font-family: "Inria Sans", sans-serif;
    text-align: center;
    color: #70689d;
    font-size:70px;
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

#guvenligoc {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 50px;
}

.accordion {
    width: 70%;
    text-align: center;
    z-index: 0;
}

.accordion-item {
    margin-bottom: 10px;
    text-align: center;
    background-color:#70689d;
}

.accordion-button {
    background-color:#70689d;
    color: white;
    font-size: 20px;
    text-align: center;
    outline: none;
    box-shadow: none;
}

.accordion-button:focus{
    background-color:#70689d;
    color: white;
    border: 0px;
    outline: none; /*Buton çevresindeki maviliği giderir.*/
    box-shadow: none;
}

.accordion-body {
    font-family: "Inria Sans", sans-serif;
    font-size: 17px;
    background-color:#70689d;
    color: white;
    font-weight: 300;
}

@media screen and (max-width:1200px) {
    section .alert {
        position: absolute;
        top: -100px;
        width: 100%;
        text-align: center;
        font-size: 18px;
    }

    section {
        height: 100vh;
        top:104px;
        display: grid;
        grid-template-columns: 2fr 2fr;
        grid-template-rows: 600px;
        grid-template-areas: 
            'content_text content_image'
            'content_slider content_slider'
        ;
    }

    #content_image img {
        width:100%;
        height:100%;
        object-fit:cover;
        margin: 0px;
    }

    #content_text {
        padding-left: 30px;
        font-size: 19px;
    }
}

@media screen and (max-width:1000px) {
    section .alert {
        position: absolute;
        top: -100px;
        width: 100%;
        text-align: center;
        font-size: 18px;
    }

    section {
        height: 100vh;
        top:104px;
        display: grid;
        grid-template-columns: 2fr 2.2fr;
        grid-template-rows: 600px;
        grid-template-areas: 
            'content_text content_image'
            'content_slider content_slider'
        ;
    }

    #content_image img {
        width:95%;
        height:90%;
        object-fit:cover;
        margin: 0px;
        padding: 10px;
    }

    #content_text {
        padding-left: 40px;
        font-size: 18px;
    }

    #content_slider p {
        font-size: 50px;
    }

    .accordion-body {
        font-size: 15px;
    }
}

@media screen and (max-width:850px) {
    section .alert {
        position: absolute;
        top: -100px;
        width: 100%;
        text-align: center;
        font-size: 18px;
    }

    section {
        height: 100vh;
        top:84px;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 500px max-content max-content;
        grid-template-areas: 
            'content_image'
            'content_text'
            'content_slider'
        ;
    }

    #content_image img {
        width:100%;
        height:90%;
        object-fit:contain;
        margin: 0px;
    }

    #content_text {
        padding: 40px;
        font-size: 18px;
    }

    #content_slider p {
        font-size: 25px;
    }
}