﻿/*For Dashboard Page and Login Page*/
*:before
*:after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-image: url(../images/nebula1.jpg);
    background-size: 100vw 100vh;;
}

.background {
    width: 530px;
    height: 480px;
    position: absolute;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
}

.background .shape {
    height: 130px;
    width: 130px;
    position: absolute;
    border-radius: 50%;
}

/*For Login page Name Email nad Password*/
.text1 {
    color:white;
    font-weight: bold;
    font-size: 18px;
}

.shape:first-child {
    background: linear-gradient( #1845ad, #23a2f6 );
    left: -20px;
    top: -70px;
}

.shape:last-child {
    background: linear-gradient( to right, #ff512f, #f09819 );
    right: -20px;
    bottom: -70px;
}

.form1 {
    height: 460px;
    width: 370px;
    background-color: rgba(255,255,255,0.13);
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 40px rgba(8,7,16,0.6);
    padding: 15px 15px;
}


    h3 {
        font-size: 32px;
        font-weight: 500;
        line-height: 42px;
        text-align: center;
    }

label {
    display: block;
    margin-top: 30px;
    font-size: 16px;
    font-weight: 500;
}

input {
    display: block;
    height: 50px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    padding: 0 10px;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 300;
}

::placeholder {
    color: grey;
}

.button {
    margin-top: 30px;
    width: 100%;
    background-color: #0c032e;
    color: white;
    padding: 5px 0;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
}

.social {
    margin-top: 30px;
    display: flex;
}

    .social div {
        background: red;
        width: 150px;
        border-radius: 3px;
        padding: 5px 10px 10px 5px;
        background-color: rgba(255,255,255,0.27);
        color: #eaf0fb;
        text-align: center;
    }

        .social div:hover {
            background-color: rgba(255,255,255,0.47);
        }

    .social .fb {
        margin-left: 25px;
    }

    .social i {
        margin-right: 4px;
    }

/* For textbox alert Message*/
.alert {
    color: red;
    background: none;
    font-size: medium;
}


.alert-box {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.alert-content {
    background-color: white;
    padding: 10px;
   
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}


span {
    color: #ed3980;
    
}

.alertMsg {
    padding: 20px;
    background-color: #f44336; /* Red */
    color: white;
    margin-bottom: 15px;
    position: absolute;
    right: 40%;
   
    width: 20%;
}

/* The close button */
.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
  color: black;
}


/*For Dashboard*/

.box-container {
   display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
    width:100%;
}

.box {
    height: 120px;
    width: 200px;
    border-radius: 20px;
    box-shadow: 3px 3px 10px rgba(0, 30, 87, 0.751);
    cursor: pointer;
    background: linear-gradient(135deg, #6a1b9a, #4a148c, #232734);
    align-items: center;
    justify-content: space-around;
    transition: transform 0.3s ease-in-out;
}
.mainbutton {
    position: relative;
    display: inline-block;
    outline: none;
    border: none;
    text-decoration: none;
    text-align: center;
    color: white;
    background:none;
    font-size: 16px;
    font-family: 'Poppins',sans-serif;
}

.box:hover {
    background: linear-gradient(135deg, #8e24aa, #6a1b9a, #3d5afe);
    transform: scale(1.08);
}

.box img {
    display: block; /* Removes inline gap */
    margin: 0 auto;
   height: 50px;
   width:50px;
    padding-top:3%;
}

.box .text {
    color: white;
    margin: 0 auto;
}