/*General Settings*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

.forum-regular {
    font-family: "Forum", serif;
    font-weight: 400;
    font-style: normal;
}

/*Background Image Setup*/
body {
    background-image: url('/MEDIA/bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    /* Adjusts the background image to cover the entire body */
}



/*-------------------------------------------------*/
/* NAVBAR STYLING STARTS */
header {
    box-shadow: 0 4px 19px rgba(0, 0, 0, 0.65);
    margin-bottom: 20px;

}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px;
    background-color: teal;
    color: #fff;
    transition: background-color 0.5s ease-in-out;
    transition: box-shadow 2s ease;
}

.navbar:hover {
    background-color: #036e70;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.nav-links a {
    color: #fff;
    margin-right: 15px;
}

/* LOGO */
.logo {
    padding: 3px;
    width: auot;
    height: 100px
}

/* NAVBAR MENU */
.menu {
    display: flex;
    gap: 1em;
    font-size: 25px;
    padding-right: 100px;
}

.menu li:hover {
    background-color: #4c9e9e;
    border-radius: 5px;
    transition: 1s ease;
}

.menu li {
    padding: 2px 14px;
    margin: 20px;
}

/* DROPDOWN MENU */
.services {
    position: relative;
}

.dropdown {
    background-color: rgb(1, 139, 139);
    padding: 1em 0;
    position: absolute;
    display: none;
    border-radius: 8px;
    top: 35px;
}

.dropdown li+li {
    margin-top: 10px;
}

.dropdown li {
    padding: 0.5em 1em;
    width: 8em;
    text-align: center;
}

.dropdown li:hover {
    background-color: #4c9e9e;
}

.services:hover .dropdown {
    display: block;
}

input[type=checkbox] {
    display: none;
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    font-size: 24px;
    user-select: none;
}



/*-------------------------------------------------*/
/*PAGE BELOW NAV*/
.pag {
    padding-top: 30px;

}

.titl {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: xx-large;
    padding: 15px;
    margin-bottom: 20px;
}




/*Pretty much default untill here*/
/*-------------------------------------------------*/
.servicii {
    justify-content: center;
    display: flex;
    align-items: center;
    flex-direction: column;

}

.srv2 {
    padding: 30px;
    margin: 30px;
    width: auto;
    text-align: center;
    width: 50%;


    background-image: url("/MEDIA/bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 20px;
    border-color: black;
    border-style: groove;
    border-width: 1px;

    transition: ease-out;
    transition-duration: 0.3s;

}

.srv2:hover {
    transition: ease-in-out;
    transition-duration: 0.6s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.container {
    padding: 10px;
    padding-bottom: 25px;
    line-height: 170%;
}



/*Button*/
.seeMoreB {

    display: inline-block;
    outline: 0;
    border: 0;
    cursor: pointer;
    background: #000000;
    color: #FFFFFF;
    border-radius: 8px;
    padding: 10px 20px 12px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    transition: transform 200ms, background 200ms;

}

.seeMoreB:hover {
    transform: translateY(-2px);
}




/*default from here*/
/*-------------------------------------------------*/
/*FOOOOOOOOOTER*/
footer {
    padding: 10px;
    padding-top: 0px;
    margin-top: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.2);
    /*background photo*/
    background-image: url("/MEDIA/bgGri.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.pcont {
    text-align: center;
    flex: 1;
    margin-left: 10em;

}

footer p {
    line-height: 220%;
    font-size: small;
    color: antiquewhite;
}

.fbcont {
    margin-right: 0px;
}

.fb {
    width: 20%;
    height: auto;
    margin-right: -40px;


}


/*-------------------------------------------------*/
/*for phones and stuff*/

/* Add this at the bottom of serv.css */

/* Small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .menu {
        flex-direction: column;
        gap: 0;
        padding-right: 0;
    }

    .menu li {
        margin: 10px 0;
        padding: 10px;
    }

    .hamburger {
        display: block;
    }

    .nav-links input[type=checkbox]:checked ~ .menu {
        display: flex;
        flex-direction: column;
    }

    .logo {
        width: 80px;
        height: auto;
    }

    .titl {
        font-size: large;
        text-align: center;
        padding: 10px;
    }

    .srv2 {
        width: 90%;
        padding: 20px;
        margin: 20px auto;
    }

    footer {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    footer p {
        font-size: small;
    }

    .fb {
        width: 50%;
    }
}

/* Medium devices (tablets, 600px to 768px) */
@media only screen and (min-width: 600px) and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .menu {
        flex-direction: column;
        gap: 0;
        padding-right: 0;
    }

    .menu li {
        margin: 10px 0;
        padding: 10px;
    }

    .hamburger {
        display: block;
    }

    .nav-links input[type=checkbox]:checked ~ .menu {
        display: flex;
        flex-direction: column;
    }

    .logo {
        width: 100px;
        height: auto;
    }

    .titl {
        font-size: x-large;
        text-align: center;
        padding: 10px;
    }

    .srv2 {
        width: 80%;
        padding: 20px;
        margin: 20px auto;
    }

    footer {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    footer p {
        font-size: small;
    }

    .fb {
        width: 60%;
    }
}
