/*

==================
GLOBAL CSS
=================
*/
p{
    margin-top: -35px;
}
h1{
    font-size: 60px;
    margin-top: -10px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 35rem;
    margin: auto;
}



/*

================
HEADER CSS
================

*/

header {
    display: flex;
    justify-content: space-between;
    height: 180px;
    background-color: rgb(7, 144, 212);
    margin-bottom: 2rem;
}

#header__logo {
    height: 100%;
}

#burger {
    height: 100%;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: transform .5s;
    padding: 2rem;
    z-index: 199;

    &:hover {
        transform: translateY(-5px);
    }

    img {
        height: 100%;
    }
}

#desktop-navigation {
    a {
        &:last-child {
            margin-right: 2rem;
        }
    }
}

nav {

    display: flex;
    gap: 3rem;
    align-items: center;



    a {
        text-decoration: none;
        color: rgb(0, 0, 0);
        padding: 3rem;
        display: block;
        background-color: rgb(250, 250, 250);

        &:hover {
            background-color: rgb(237, 237, 237);
        }

        &.admin {
            background-color: rgb(12, 15, 212);
            height: 100%;
            display: flex;
            color: rgb(0, 81, 255);
            align-items: center;

            &:hover {
                background-color: rgb(64, 105, 255);
            }
        }
    }
}

#mobile-navigation {
    position: fixed;
    inset: 0;
    height: 100vh;
    gap: 0;
    transition: margin-left .25s;
    margin-left: 125%;
    z-index: 99;
    flex-direction: column;

    a {
        width: 100%;
        flex: 1;

        &.admin {

            height: auto;
        }
    }



}

@media (max-width: 1000px) {
    #desktop-navigation {
        display: none;
    }
}

@media (min-width: 1000px) {
    #burger {
        display: none;
    }

    #mobile-navigation {
        display: none !important;
    }
}


/*

=================
FOOTER CSS
================

*/
footer{
    width: 97vw;
}

footer, .push{
    height: 50px;
}

footer h2{
        color: blue;
        font-size: 75px;
        margin-top: -5px;
        margin-bottom: 0px;
    }
    footer h3{
        color: blue;
        font-size: 35px;

        
    }
    footer   .imgFoot{
        width: 98px;
        height: 98px;
        float: right;
        margin-left: auto;
    }


#FooterContainer1{
    display: grid;
    grid-template-columns: 50% 50%;
    margin-top: -25px;
    padding: 0;
    border: 0;
}
#FooterContainer2{
    margin-top: -145px;
}
#FooterContainer3{
    display: grid;
    grid-template-columns: 50% 50% ;
    padding: 0;
    border: 0;
    margin-top: -70px;
    margin-left: 0;
    align-items: right;
}
#followus{
    text-align: right;
    padding-right: 60px;
    font-size: 30px;

}

    
/* 

=================
HOME PAGE
================

*/
.homeBG{

    
    min-height: 5vh;
    margin-bottom: -50px;
}

/* 

=================
Login PAGE
================

*/

/*

================
ABOUT PAGE
=================

*/

/*

================
CONTACT PAGE
=================

*/
.contact{
    background-image: linear-gradient(rgba(255, 255, 255, 0), rgb(55, 192, 255),rgba(148, 75, 75, 0));
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;

}
.contact  body {
    background-image: url('/images/finding_us.jpg');
    background-size: 200vh;
  }
/*

================
Services PAGE
=================

*/

.Services{
    display: grid;
    grid-template-columns: 33% 33% 33%;
    margin-top: -25px;
    padding: 0;
    border: 0;}
.servicesBG{
    margin: 0;
    background-image: url('/images/Land/land (11).jpg');
    background-size: 200vh;
}
/*

================
ADMIN PAGE
=================

*/
#Users{
    margin-left: 32rem;
    margin-bottom:10px;
}
#Pages{
    margin-left: 24rem;
    margin-bottom:14px;
}
#CreateUser{
    margin-bottom:14px;
    margin-top: 5px;
    margin-left: 65.5rem;
}


/*

================
GALLERY PAGE
=================

*/

.gallery,  footer{
    h2{
        color: blue;
        font-size: 75px;
        margin-top: -5px;
        margin-bottom: 0px;
    }
     h3{
        color: blue;
        font-size: 35px;
        

        
    }
    footer   .imgFoot{
        width: 98px;
        height: 98px;
        float: right;
        margin-left: auto;
    }
}





.gallery{
    
    
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}
.gallery a{
    border-radius: 4px;
    height: 185px;
    box-shadow: 0 3px 4px #000;
    width: 300px;
    margin: 20px;
    overflow: hidden;
}
.gallery a img{
    height: 100%;
    width: 100%;
    object-fit:cover;
}
.gallery a img:hover{
    transform:scale(1.4);
}