* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* header start */
header {
    background-color: #d8859f;
    display: flex;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    margin: 10px;
    height: 98px;
    width: 450px;
    display: inline-block;
    transition: all 0.2s ease;
    /* background-color: beige; 
    border-radius: 10px;
    box-shadow: 0px 0px 5px 3px #ebdadf; */
}

.navbar:hover {
    transform: translateY(-2px);
    text-shadow: 0 5px 8px rgba(0, 0, 0, 0.3);

}

.logo {
    padding-left: -10px;
    display: flex;
    float: left;
}

.logo img {
    margin-top: -25px;
    width: 160px;
    height: 160px;
    object-fit: cover;
}

.Schoolname {
    padding: 8px;

}

.Schoolname h2 {
    color: beige;
    margin-top: 10px;

}

.navli {
    width: 580px;
    margin-left: 280px;
    padding: 15px;
}

.navli nav {
    display: flex;
    gap: 40px;
    font-size: large;
    font-weight: 700;
    padding-top: 25px;
}

.one a {
    color: beige;
    display: inline-block;
    padding: 10px;
    transition: all 0.2s ease;
    align-items: center;
    text-align: center;
    text-decoration: none;
    /* background-color: beige; 
    border-radius: 5px;
    box-shadow: 0px 0px 5px 3px #ebdadf; 
    color:rgb(179, 5, 5); */
}
.one a:hover {
    cursor: pointer;
    transform: translateY(-2px);
    text-shadow: 0 5px 8px rgba(0, 0, 0, 0.3);
    color: rgb(75, 70, 70);
}
/* header end */

/* main start */
.package{
    margin-top: 40px;
    display: flex;
    gap: 40px;
    height:240px;
    justify-content: space-evenly;
}
.pack img{
    width:380px;    
    height: 240px;
    border-radius: 8px;
    box-shadow: 0 9px 12px rgb(75, 70, 70);
    animation: popup 0.7s ease-out;
}

@keyframes popup{

        0% {
        opacity: 0;
        transform: scale(0.5);
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
    
}

.pack img:hover {
    cursor: pointer;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px rgb(75, 70, 70);
}


/* main end */

/* footer start */
.back{ 
    margin-top: 80px;
    height: 450px;
    background-color: #C60C3D;
    background:linear-gradient(whitesmoke -50%,#C60C3D);
    display: flex;
}
.backlog{
    margin: 35px 50px 40px 50px;
    height: 380px;
    width: 400px;
    background-color: rgb(233, 233, 233);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 15px 25px rgb(75, 70, 70);
    transition: all 0.2s ease;
}
.backlog:hover{
    transform: translateY(-2px);
     box-shadow:0 7px 9px rgb(247, 228, 228);
     background-color:#d8859f; 

}
.titl{
    padding-top: 15px;  
}
.packet{
    display: flex;
    gap: 20px;
}
.back1{
    width: 20px;
    height: 20px;
    padding-top: 20px;
    padding-left:20px;
    font-size: 25px;    
}
 .back2{ 
    width: 295px; 
    padding-left:26px;
    padding-top:20px ;
    font-weight: 900;
    font-size: 18.5px;
    text-align: left;
}
.back2 a{
    text-decoration: none;
    color: black;
}
.last{
    background-color:#d8859f;
    height: 60px;
    text-align: center;
    padding-top: 20px;
    font-size: larger;
    font-weight: 900;

}

/* footer end */

/* =========================================
   MOBILE VIEW
   ========================================= */

@media screen and (max-width: 768px) {

    /* ---------- HEADER ---------- */

    header {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .navbar {
        width: 100%;
        height: auto;
        margin: 5px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo {
        padding: 0;
        float: none;
    }

    .logo img {
        width: 75px;
        height: 75px;
        margin: 0;
    }

    .Schoolname {
        padding: 5px;
    }

    .Schoolname h2 {
        font-size: 15px;
        margin: 0;
        text-align: center;
    }


    /* ---------- NAVIGATION ---------- */

    .navli {
        width: 100%;
        margin: 0;
        padding: 5px;
    }

    .navli nav {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 5px;
        padding: 5px;
        font-size: 13px;
    }

    .one a {
        padding: 7px;
    }


    /* ---------- MAIN IMAGE PACKAGE ---------- */

    .package {
        width: 100%;
        height: auto;
        margin-top: 25px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        justify-content: center;
    }

    .pack {
        width: 90%;
        display: flex;
        justify-content: center;
    }

    .pack img {
        width: 100%;
        height: auto;
        max-height: 240px;
        object-fit: cover;
        border-radius: 8px;
    }


    /* ---------- FOOTER ---------- */

    .back {
        width: 100%;
        height: auto;
        margin-top: 50px;
        padding: 20px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .backlog {
        width: 90%;
        height: auto;
        min-height: 300px;
        margin: 15px 0;
        padding-bottom: 20px;
    }

    .titl {
        padding-top: 15px;
    }

    .titl h2 {
        font-size: 20px;
    }


    /* ---------- FOOTER CONTENT ---------- */

    .packet {
        width: 100%;
        display: flex;
        gap: 10px;
        align-items: flex-start;
    }

    .back1 {
        width: 40px;
        height: auto;
        padding: 15px 5px 0 15px;
        font-size: 20px;
        flex-shrink: 0;
    }

    .back2 {
        width: auto;
        flex: 1;
        padding: 15px 10px 0 5px;
        font-size: 15px;
        text-align: left;
        word-break: break-word;
    }

    .back2 a {
        font-size: 15px;
    }


    /* ---------- COPYRIGHT ---------- */

    .last {
        width: 100%;
        height: auto;
        min-height: 60px;
        padding: 15px 10px;
        font-size: 14px;
        line-height: 1.5;
    }

}