@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: 1fr 1fr;
    grid-template-rows: max-content;
    grid-template-areas: 
        'text form'
    ;
    font-family: "Inria Sans", sans-serif;
    font-size: 17px;
    font-weight: 300;
}

#iletisimtext {
    grid-area: text;
    width: 49vw;
    height: 50vh;
    padding: 100px 50px 0px 50px;
    animation: soldansaga 2s ease;
}

@keyframes soldansaga {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#iletisimform {
    grid-area: form;
    width: 50vw;
    height: 50vh;
    padding: 100px 50px 0px 50px;
    animation: sagdansola 2s ease;
}

@keyframes sagdansola {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#content_text h1 {
    position: relative;
    animation: soldansaga 2s ease;
}

#formugonder {
    text-align: center;
    text-decoration: none;
    color: #70689d;
    background-color:gainsboro;
    padding: 15px 40px;
    border: 1px solid #70689d;
    border-radius: 5px;
    font-size: 18px;
    margin-top: 10px;
    width: 100%;
}

#formugonder:hover {
    background-color:#70689d;
    color: white;
}

@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: 1fr 1fr;
        grid-template-rows: max-content;
        grid-template-areas:
            'text form'
        ;
    }
}

@media screen and (max-width:1000px) {
    section .alert {
        position: absolute;
        top: -100px;
        width: 100%;
        text-align: center;
        font-size: 18px;
    }

    section {
        height: 100vh;
        top:60px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #iletisimtext {
        width: 70vw;
        height: max-content;
        padding: 20px;
        
    }
    
    #iletisimform {
        width: 70vw;
        height: max-content;
        padding: 20px;
    }
}

@media screen and (max-width:850px) {
    section .alert {
        position: absolute;
        top: -100px;
        width: 100%;
        text-align: center;
        font-size: 18px;
    }

    section {
        height: 100vh;
        top:110px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #iletisimtext {
        width: 80vw;
        height: max-content;
        padding: 10px;
    }
    
    #iletisimform {
        width: 80vw;
        height: max-content;
        padding: 10px;
    }
}