
a {
    text-decoration: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "sans";
}
body{
    margin:0;
    padding:0;
    background:#f4f6f9;
}

main {
    transform: translate(0 , -10px);
}



.main-header{
    position:relative;
    height:500px;
    margin-bottom:50px;

    background:url("../../assets/img/image.png") center/cover no-repeat;
    
}

.main-header::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:120px;

    background:linear-gradient(
        to bottom,
        transparent,
        #f4f6f9
    );
}

.box {
    margin: 8px;
    height: 100px;
    width: 150px;
    border: 1px solid gray;
    border-radius: 10px;
    text-align: center
}

.box img {
    margin-top: 9px;
    width:45px;
    height:45px;
}

.box:hover {
    box-shadow: 3px 4px 4px gray ;
}


.boxes{
    display:flex;
    justify-content:center;
    gap:30px;
    margin-bottom:40px;
    flex-wrap:wrap;
}

.main-panels{
    display:flex;
    gap:35px;
    align-items:flex-start;
}
div strong {
    text-decoration: none;
    color: #053734;
}

.main-panels{
    display: flex;
    justify-content:center;
    gap: 35px;
    align-items: flex-start;
}


.fast-acc{
    height: auto;
    
    border: 0.5px solid gray;
    border-radius: 10px;
    direction: rtl;

}


.fast-acc div a{
    text-decoration: none;
    color: #053734;
    margin: 10px 10px;
    font-size:15px;
    transition: 0.3s;
}

.fast-acc div a:hover{
    margin:20px 20px;
    color: #D4AF37;
    padding-right: 8px;
}

.banner{
    text-align:center;
    color: white;
    background-color: #053734;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.events {
    height:auto;
    
    direction:rtl;
    border: 1px solid gray;
    border-radius: 10px;

}
h3 {
     text-align:center;
    color: white;
    background-color: #053734;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}


.info {
    direction:rtl;
    height:auto;
    border: 0.5px solid gray;
    border-radius: 10px;
}

.info h3 {
    text-align:center;
    color: white;
    background-color: #053734;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;

}
.big-box{
    position:relative;
    top:50%;
    transform:translateY(-50%);

    width:400px;
    max-width:90%;
    margin:0 auto;

    background:rgba(5,55,52,.55);
    border-radius:12px;

    padding:30px 25px;

    display:flex;
    flex-direction:column;
    align-items:center;      /* centers the button and all children */
    justify-content:center;
    text-align:center;
}

.big-box button {
    height:auto;
    width:auto;
    margin: 10px;
    background-color:#D4AF37;
    color:white;
    border-radius:7px;
    border:none;
    height:30px;
    font-size:18px;
    transition:0.3s;

}
.big-box button:hover{
    background:#b89220;
    cursor:pointer;
}
.big-box h2,
.big-box p {
    text-align: center;
    color: white;
    margin: 10px;
}



.fast-acc,
.info,
.events {
    width: 100%;
    max-width: 600px;
    
    max-height: fit-content;
}
.menu-btn {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 15px;
}



/*dialog box*/

.modal {
   
    display: none;              /* Hidden by default */
    position: fixed;            /* Covers the entire screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;

}

.modal-content {
 
    background: rgb(26, 143, 113);
    width: 350px;
    max-width: 90%;
    padding: 20px;
    border-radius: 10px;
    text-align: center;

}

.modal-content a {
    text-decoration: none;
    color: #053734;
    display: block;
    padding: 10px;
}

.close {
    float: left;
    font-size: 28px;
    cursor: pointer;
}

/*===============================inside event (news)========================*/

.news-item{
    padding:15px;

}



.news-item h4{
    color:#053734;
    margin-bottom:8px;
}

.news-item p{
    color:#444;
    line-height:1.8;
    margin-bottom:8px;
}


.all-news-link{
    text-align:center;
    margin:20px 0;
}

.all-news-link a{
    text-decoration:none;
    color:#053734;
    font-weight:bold;
    font-size:17px;
    transition:.3s;
}

.all-news-link a:hover{
    color:#D4AF37;
}