body {
    font-family: Arial, sans-serif; 
    background-color: #f4f4f4;
    color: #333; 
    margin: 0; /*מחוץ לגבולות המוגדרים*/
    padding: 0; /*בתוך הגבולות המוגדרים*/
}

/*עיצוב האייקון שייבאתי*/
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

/*עיצוב המזהה(ID)*/
#close, #open{
    opacity: 0;
}



/* עיצוב ה-hero */
#hero {
    background-color: #00b3b3;
    color: white; 
    text-align: center; 
    padding: 50px 20px; 
}

#hero h2 {
    font-size: 36px; 
    margin-bottom: 10px; /* יצירת מרחב מתחת לכותרת מחוץ לגבולות המוגדרים*/
}

#hero p {
    font-size: 20px; 
    margin-bottom: 20px; /*  רווח מתחת לפסקה מחוץ לגבולות המוגדרים*/
}


/*  מעצב את הסקשן של שירותים */
#about, #services {
    padding: 40px 20px; /* עושה רווח פנימי */
    text-align: center;
}

#about p, #services p {
    margin-bottom: 20px; 
}

.navbar-container{
    height: 100px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items:center;
    background-color: #1a1a1a;
    text-align: center;
}

.navbar-container a:hover {
    background-color: #707070;
    color: white;
    border-radius: 7vh;
}


.left{
    margin-left:-10px ; 
    margin-right:-75px ;
}



.material-symbols-outlined{
    color: rgb(255, 255, 255);
    margin-right: auto;
}

#menu-open{
    display: none
}

.open-menu-button, .close-menu-button{
    display:none;
}

nav {
    height: 100px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center; /* מרכוז אופקי של הלוגו */
    align-items: center; /* מרכוז אנכי של הלוגו */
    background-color: #1a1a1a;
}

nav a{
    color: white;
    text-decoration: none;
}

#logo{
    height: 100px;
    margin: 0 auto; 
    top: 0;
}


footer {
    text-align: center;
    padding: 1px 0;
    background-color: #333; 
    color: rgb(255, 255, 255); 
    position: static; 
    bottom: 0; 
    width: 100%; 
    height: 6%;
}


@media(max-width: 560px){

    nav{
        display: flex;
        flex-direction: column;
        justify-content: center; /* מרכוז אנכי */
        align-items: center; /* מרכוז אופקי */
    }

    #logo{
        display: block; /* שמירה על הלוגו גלוי */
        height: 80px; /* גודל קטן יותר למסכים קטנים */
        margin: 20px auto; /* מרכוז עם מרווחים */
    }
    

    .navbar-container{
        flex-direction: column;
        align-items: center; /* מרכוז האלמנטים גם בתפריט הצד */
        justify-content: center; /* מרכוז אנכי */
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 10;
        width: 200px;
        height: 100vh;
        background-color: #1a1a1a;
        box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
        transition: 0.5s ease-out;
    }
    nav a{
        color: rgb(255, 255, 255);
        box-sizing: border-box;
        height: auto;
        width: 100%;
        padding: 20px 30px;
        justify-content: flex-start;
    }
    .open-menu-button, .close-menu-button{
        display: block;
        padding: 20px;
    }
    #menu-open:checked ~ .navbar-container{
        right: 0;
    }

    #menu-open:checked ~ #overlay{
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        background: rgba(255, 255, 255, 0.2);
        transition: 1s ease-out;
    }
}