html {
    margin: 0;
    padding: 0;
    font-size: 62.5%;
    overflow-x: hidden;
    background: url(Images/Html.jpg.png);
    background-repeat: none;
    background-size: cover;
}

body {
    margin: auto;
    padding: 0;
    max-width: 126rem;
    overflow-x: hidden;
}

@font-face {
    font-family: MyFont;
    src: url(Poppins-Light.ttf);
}

@font-face {
    font-family: MyFont1;
    src: url(Poppins-Bold.ttf);
}

a {
    font-size: 1.3rem;
    font-family: MyFont1;
    text-decoration: none;
}

h1 {
    font-family: MyFont1;
}

p {
    font-family: MyFont;
}

nav {
    width: 100%;
    max-width: 126rem;
    height: 15rem;
    /* background-color: aqua; */
    position: relative;
    z-index: 999;
    position: fixed;
    overflow-x: hidden;
}

.navbar-box {
    width: 100%;
    height: 10rem;
    background-color: white;
    position: absolute;
    display: flex;
}

.navbar-logo {
    width: 60rem;
    height: 8rem;
    /* background-color: #00152a; */
}

.navbar-logo img {
    width: 120px;
    margin-top: 2.5rem;
    margin-left: 30rem;
}

.navbar-socials {
    width: 65rem;
    height: 8rem;
    padding-top: 2.5rem;
    padding-left: 15rem;
    display: flex;
    box-sizing: border-box;
    /* border: red solid 0.2rem;   */
    /* background-color: aqua; */
}

.social-media a{
    font-size: 1.2rem;
    font-style: italic;
    font-family: MyFont;
    font-weight: bold;
    line-height: 1.5rem;
    color: #4d4c4c;
    letter-spacing: 0.09rem;
}

.social-media a i {
   font-size: 3rem;
}

.contact-info {
    padding-left: 3rem;
    padding-top: -2.5rem;
}

.contact-info p {
    font-family: MyFont;
    font-size: 1.2rem;
    color: #4d4c4c;
    display: block;
    line-height: 2rem;
    margin: 0;
    width: 35rem;
    padding-top: 0.4rem;
    line-height: 1.2rem;
}

.navbar-links {
    width: 100rem;
    height: 5rem;
    background-color: #e0e0e0;
    position: absolute;
    left: 14rem;
    top: 8rem;
    padding-left: 16.5rem;
    padding-top: 1.5rem;
    box-sizing: border-box;
}

.navbar-links a {
    margin-left: 8rem;
    color: #4d4c4c;
}


/* Main */

.box1 {
    width: 100%;
    height: 50rem;
    margin: 0;
    background-color: #00152a;
    box-sizing: border-box;
    display: flex;
    overflow: hidden;
    position: relative;
}

.box1 .textbox {
    width: 100%;
    height: 60rem;
    margin: 0;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
    /* background-color: white; */
}

.box1 h1 {
    color: white;
    width: 50rem;
    line-height: 3.5rem;
    font-size: 3.5rem;
    margin-bottom: 0;
    text-transform: uppercase;
}

.box1 p {
    color: white;
    width: 60rem;
    line-height: 1.5rem;
    word-spacing: 0.1rem;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.box1 .actionbox:hover {
    cursor: pointer;
    background-color: rgba(209, 54, 54, 0.683);
}

.image-box {
   width: 100%;
   height: 60rem;
   box-sizing: border-box;
   overflow: hidden;
   position: absolute;
   background: url(Images/School\ Management\ System.jpg);
    background-size: cover;
    opacity: 20%;
}


/* Box 2 */

.box2 {
    width: 100%;
    padding-bottom: 5rem;
    background-color: #e0e0e0;
    margin: 0;
    padding-top: 7rem;
}

.box2 .card-container{
    width: 80rem;
    height: 25rem;
    display: flex;
    margin: auto;
    margin-bottom: 2rem;
    padding-top: 2.4rem;
    padding-left: 2.7rem;
    border-radius: 2rem;
    background-color: #8ec8ff;
    box-sizing: border-box;
}

.box2 .card-container .card-title{
    width: 23rem;
    height: 20rem;
    text-align: center;
    border-radius: 2rem;
    position: relative;
    background-color: #00152a;
    margin-right: 1rem;
}

.box2 .card-container .card-title .image{
    width: 23rem;
    height: 20rem;
    background-size: cover;
    border-radius: 2rem;
    opacity: 15%;
    position: absolute;
    box-sizing: border-box;
}

.box2 .card-container .card-title .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2rem;
}


.box2 .card-container .card-title .text{
    width: 23rem;
    height: 20rem;
    position: absolute;
    justify-content: center;
    align-items: center;
    padding-top: 6.5rem;
}

.box2 .card-container .card-title .text p {
    color: white;
    font-size: 1.7rem;
    line-height: 1.8rem;
}

.box2 .card-container .card-content{
    width: 50rem;
    height: 20rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    border-radius: 2rem;
    box-sizing: border-box;
    border: #00152a solid 0.1rem;
}

.box2 .card-container .card-content h2{
    font-size: 2.5rem;
    margin-bottom: 0;
    font-family: MyFont;
    padding-bottom: 0;
}

.box2 .card-container .card-content p{
    margin-top: 0;
    margin-bottom: 2.5rem;
    padding-top: 0;
    padding-left: 0;
    font-size: 1.2rem;
    line-height: 1.5rem;
}

.box2 .card-container .card-content a {
    padding: 1.5rem 4rem 1.5rem 4rem;
    background-color: #00152a;
    border-radius: 1rem;
    color: white;
    font-family: MyFont;
}

.box2 .card-container .card-content a:hover {
    color: #00152a;
    background-color: white;
}



/* Footer */

.box7 {
    width: 100%;
    height: 35rem;
    display: block;
    padding-top: 7rem;
    box-sizing: border-box;
    background-color: #00152a;
}

.box7 .textbox {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(4, 23rem);
}

.box7 .textbox  .card {
    width: 26rem;
    height: 25rem;
    padding-left: 5rem;
    box-sizing: border-box;
    /* background-color: rgba(209, 54, 54, 0.37); */
}

#card1 {
    padding-left: 0;
}

.box7 h1 {
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
    line-height: 1rem;
}

.box7 p {
    width: 18rem;
    color: white;
    line-height: 2rem;
    font-size: 1.3rem;
}

.box7 a {
    color: white;
    display: block;
    margin-top: 1.5rem;
    font-size: 1.5rem;
    font-family: MyFont;
}

input {
    width: 22.4rem;
    height: 4rem;
    border-radius: 0;
    outline: none;
    border: 0;
    font-size: 1.2rem;
    font-style: italic;
    box-sizing: border-box;
    text-align: center;
}

.box7 button {
    width: 22.4rem;
    height: 4rem;
    border-radius: 0;
    outline: none;
    border: 0;
    color: white;
    font-family: MyFont1;
    font-size: 1.3rem;
    box-sizing: border-box;
    background-color: rgba(209, 54, 54, 0.683);
}



