@import url(color.css);
@import url(main.css);




/* body
{
    padding: 2rem;
    background-color: white;
} */

/* ---  HEADER  --- */

header
{
    width: 100%;
    height: auto;
}





.banner
{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100vh;
    width: 100%;
    background: url(banner.jpg);
    background-size: cover;
    background-position: center 10%;
    background-attachment: fixed;
    box-shadow: 0px 10px 30px 10px rgba(0,0,0,0.6)
}
.banner::before
{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    height: 100%;
    width: 100%;
    background: rgb(0,0,0);
    background: linear-gradient(to bottom, rgb(255, 255, 255,0.6) 0%, rgba(255,255,255,0) 100%);
}
.logo-box
{
    position: absolute;
    z-index: 5;
    top: 40px;
    left: 45%;
    height: 10rem;
    width: 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-box img
{
    position: relative;
    z-index: 5;
    height: 70%;
}
.logo-box::before
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-52%, -50%);
    display: block;
    content: "";
    height: 70%;
    width: 70%;
    background-color: rgba(255,255,255,0.5);
    border-radius: 20%;
}
.baslik-box
{
    display: flex;
    flex-direction: column;
    text-align: center;
}
.baslik-box h1
{
    color: white;
    font-size: 12rem;
    word-spacing: 20px;
    letter-spacing: 10px;
    font-weight: 400;
    font-family: 'Train One', cursive;
    /* background-color: rgba(0,0,0,0.5); */
}
.baslik-box p
{
    color: white;
    font-size: 4rem;
    word-spacing: 20px;
    letter-spacing: 10px;
    font-weight: 400;
    font-family: 'Lato', cursive;
    /* background-color: rgba(0,0,0,0.5); */
}
.aciklama
{
    padding-top: 13rem;
    font-size: 10rem;
}



/* ---  NAVİGATİON  --- */

nav
{
    width: 100%;
    height: auto;
    background-color: white;
    padding-top: 6rem;
}
.nav-baslik
{
    height: 10vh;
    width: 100%;
    text-align: center;
    font-size: 6rem;
}
nav section
{
    width: 100%;
    height: 30vh;
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
}
nav .item-box, .img-box, .title-box
{
    display: flex;
    justify-content: center;
    align-items: center;
}
.item-box
{
    position: relative;
    height: 100%;
    width: 45%;
    border: 2px solid black;
    border-radius: 20px;
    /* box-shadow: -20px 20px 30px 5px rgba(0,0,0,0.6); */
}
.img-box
{
    flex: 30%;
    height: 100%;
    width: 100%;
}
.img-box img
{
    height: 70%;
}
.title-box
{
    flex: 70%;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.title-box h2
{
    font-size: 3.5rem;
}
.title-box p
{
    font-size: 2rem;
}
nav a
{
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 20px;
    transition: all .3s ease-in-out;
}
nav a:hover
{
    box-shadow: -20px 20px 30px 5px rgba(0,0,0,0.6);
}




/* ---  FOOTER  --- */

footer
{
    width: 100%;
    height: 15vh;
    background-color: white;
    padding: 3rem;
    margin-top: 4rem;
    border-top: 1px solid black;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif
}
footer section
{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}
footer .first-box
{
    height: 100%;
    flex: 75%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    font-size: 1.6rem;
}
footer .iletisim-box
{
    height: 50%;
    flex: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    border-left: 1px solid black;
}



@media(max-width:550px)
{
    html
    {
        font-size: 7px;
    }
    header .islami-image
    {
        height: 20vh;
    }

    .baslik-box h1
    {
        font-size: 9rem;
    }
    .baslik-box p
    {
        padding-top: 3rem;
        font-size: 3.6rem;
        letter-spacing: 5px;
        font-weight: 700;
    }
    .logo-box
    {
        position: absolute;
        z-index: 5;
        top: 30px;
        left: 30%;
        height: 30rem;
        width: 23rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .logo-box::before
    {
        top: 50%;
        left: 50%;
        height: 70%;
        width: 95%;
    }

    nav .nav-baslik
    {
        font-size: 5rem;
        margin-bottom: 2rem;
    }
    nav section
    {
        height: auto;
        flex-direction: column;
        padding: 2rem;
    }
    section .title-box h2
    {
        text-align: center;
    }
    nav section .item-box
    {
        width: 100%;
        flex-direction: column;
        margin-bottom: 2rem;
    }
    section .item-box img
    {
        width: 30%;
        margin: 2rem;
    }

    .banner
    {
        height: 100vh;
    }
    .aciklama
    {
        font-size: 10rem;
    }
    footer section
    {
        flex-direction: column;
    }
    footer .iletisim-box
    {
        border: none;
        border-top: 1px solid black;
        width: 80%;
        padding: 2rem;
    }
    footer .first-box
    {
        padding: 2rem;
        justify-content: space-between;
    }
    footer .first-box p
    {
        width: 80%;
        text-align: center;
    }
}