
 @import url('https://fonts.googleapis.com/css2?family=Fredoka&family=Lato&family=Montserrat&display=swap');

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


:root {
    --ligth-text: #fff;
    --dark-text: #333;
}

a {
    text-decoration: none;
    text-transform: capitalize;
}

.grid {
    display: grid;
    justify-content: center;
}

body {
    font-family: "montserrat", sans-serif;
    font-weight: 400;
    font-size: 1em;
    background-color: #f5f8f8ec;
}

/* Header Section */
.main-header {
    background-color: #f5f8f8ec;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    align-items: center;
}

.menulogo {
    display: none;
}

nav ul {
    display: flex;
    justify-content: space-between;
}

nav ul li {
    list-style: none;
    margin: 0 5px;
}


nav ul li a:hover {
    border: solid 1.5px #000;
    border-radius: 5px;
    transform: scale(1.5);
}

nav ul li a {
    padding: 3px;
    color: #000;
}

/* Container Section */
.container {
    background-image: url('../Img/pexels-3.jpg');
    background-position: center;
    background-attachment: scroll;
    background-size: cover;
    object-fit: cover;
    background-repeat: no-repeat;
    max-width: 100%;
    height: 100vh;
    margin-top: 55px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    color: #2c2c29fd;
}

.container-text h1 {
    text-align: center;
    color: #ffffff;
    padding: 0 5px;
    font-size: 2.2em;
    margin: 2px auto;
}

.container-text p {
    margin: 10px auto;
    background-color: #e5f1eaec;
    color: #000;
    text-align: center;
    font-size: 1.2em;
    width: 50%;
}

.container-links {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    gap: 5px;
    font-weight: 600;
}

.btnlink {
    background-color: #e5f1eaec;
    color: #000;
    padding: 12px 25px;
    width: 300px;
    max-width: 300px;
    text-align: center;
}

.btnlink:hover {
    background-color: #4fb391;
    color: #000;
    padding: 12px 25px;
    width: 300px;
    max-width: 300px;
    text-align: center;
}

    
/* Media Query  for Tablets*/
@media screen and (max-width:768px) {
    
    /* Header Section */
    .menulogo {
        display: flex;
        cursor: pointer;
    }

    .menulogo .logomenu.active {
        display: none;
    }

    .menulogo .logoexit {
        display: none;
    }

    .menulogo .logoexit.active {
        display: block;
    }

    nav ul {
        background-color: #f5f8f8ec;
        display: none;
        position: fixed;
        top: 57px;
        left: 0%;
        right: 0%;
        width: 100%;
        height: auto;
        text-align: right;
        padding: 10px 0;
    }

    nav ul li {
        margin: 5px 10px;
    }

    nav ul li a:hover {
        border: none;
        border-radius: 0;
        border-bottom: solid 1.5px #000;
    }

    #navlinks.active {
        display: block;
    }

    /* Container Section */
    .container-text h1 {
        max-width: 100%;
        font-size: 2em;
    }
    .container-text p {
        font-size: 1em;
        max-width: 100%;
    }

    .container-links {
        flex-direction: column;
    }

}