@import url('https://fonts.googleapis.com/css2?family=Comic+Relief:wght@400;700&family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    position: relative;
    margin: 0;
    min-height: 100vh;
    z-index: 0;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-color: #ffffff;
    background-image:
        linear-gradient(#e0e0e0 1px, transparent 1px),
        linear-gradient(90deg, #e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
}

/* header */
.head h1 {
    font-family: 'Poppins';
    font-size: 40px;
    margin-bottom: 0%;
    background: linear-gradient(45deg, #007bff, #6200ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

/* main */
.sec {
    margin-top: 25px;

    h2 {
        text-align: center;
        font-family: 'Comic Relief';
    }

}


.sec a {
    background-color: #00103e;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    justify-self: center;
    color: white;
    font-family: 'Montserrat';
    text-decoration: none;
    font-weight: 550;
    border-radius: 11px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 15px;
    height: 45px;
    width: 500px;
    margin: 10px 5px 10px 5px;
    p{
        font-size: 8px;
        text-align: center;
    }
}

.sec a:hover {
    transform: translateY(-4px);
    /* Moves up slightly */
    box-shadow: 0 10px 20px rgba(98, 0, 238, 0.4);
}

/* Socials */
.social {
    display: flex;
    justify-content: center;
    padding-top: 0px;
    margin-bottom: 0px;
}

.social img {
    height: 18px;
    padding-left: 5px;
    padding-right: 5px;
    filter: grayscale(100%) brightness(0.9) contrast(1.2);
    opacity: 0.7;
}


@media (max-width:768px) {
    .head h1{
        font-size: 30px;
    }
    .sec a{
        width: 300px;
    }
}