html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background-color: white;
    color: #222222;
    min-height: 100vh;
}

.container {
    margin: 0 auto;
    max-width: 1480px;
    display: grid;
    grid-template-columns: 20px auto 20px;
    grid-template-rows: 140px auto 60px;
    grid-template-areas: ". header ." ". main . " ". footer .";
    min-height: 100vh;
    box-sizing: border-box;
}

.header {
    grid-area: header;
    text-align: center;
}

.main {
    grid-area: main;
    padding: 20px 0;
}

.footer {
    grid-area: footer;
    text-align: center;
    line-height: 60px;
    border-top: 1px solid #aaaaaa;
}

.footer a {
    color: #222222;
}

.bg-home {
    background-image: url('bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

h1 {
    font-size: 3rem;
    margin: 30px 0 0 0;
    font-style: italic;
}


.home, .detail {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: space-evenly;
}

.item {
    width: 30%;
    box-sizing: border-box;
    border: 1px solid black;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 40px;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: #222222;
}

.item h2 {
    margin: 0 0 15px 0;
    font-size: 1.25rem;
    text-align: center;
}

.item p {
    margin: 0;
    font-size: .875rem;
    text-align: center;
}

.item:hover {
    color: black;
    background-color: rgba(255,255,255,.4);
}

.arab h2 {
    margin: 0 0 10px 0;
    font-size: 2rem;
}

.arab p {
    font-size: 1.125rem;
}

.heb h2 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

.heb p {
    font-size: 0.9375rem;
}

.chi h2 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

.chi p {
    font-size: 0.9375rem;
}

p.rtl {
    direction: rtl;
}

.detail-text {
    width: 40%;
}

.detail-text p {
    margin: 30px 0;
    font-size: 1.25rem;
}

.detail-image {
    width: 33%;
}

.img-responsive {
    width: 100%;
    height: auto;
}

audio {
    width: 100%;
}

@media screen and (max-width: 992px) {
    .item {
        width: 40%;
    }
    .detail-text {
        width: 45%;
    }
    .detail-text p {
        font-size: 1rem;
    }
}
@media screen and (max-width: 600px) {
    .item, .detail-text, .detail-image {
        width: 100%;
    }
    .detail-image {
        margin-top: 30px;
    }
    .detail-text p {
        font-size: 1rem;
    }
}