
/* Font family 

/* Bruno Ace  -   font-family: "Bruno Ace", sans-serif;*/
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders:opsz,wght@10..72,100..900&family=Bruno+Ace&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Karla:ital,wght@0,200..800;1,200..800&family=Lexend+Deca:wght@100..900&family=Libre+Franklin:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');



/* Bruno Ace SC - font-family: "Bruno Ace SC", sans-serif;  */
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders:opsz,wght@10..72,100..900&family=Bruno+Ace&family=Bruno+Ace+SC&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Karla:ital,wght@0,200..800;1,200..800&family=Lexend+Deca:wght@100..900&family=Libre+Franklin:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

/* Css Reset */

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

  /* Body Style */

  body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #004643;
  }
  /* popup blur effect */

  body.swal2-shown > *:not(.swal2-container) {
    filter: blur(5px);
    transition: 0.3s ease-in-out;
}

/* Prevent content shifting when SweetAlert2 modal is open */
html {
    overflow-y: scroll; /* Always show the scrollbar */
}

body.swal2-shown {
    overflow-y: hidden; /* Disable scrolling but keep the scrollbar */
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Main Card - Glass effect style */

  .background-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #004643, #195e59);
    z-index: 0;
  }

.glass-blur {
    position: absolute;
    width: 1100px;
    height: 700px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    /* box-shadow: 0 0 40px rgba(0, 0, 0, 0.2); */
    border: 1px solid rgba(255, 255, 255, 0.55);
    z-index: 1;
    box-shadow: 0px 4px 250px 90px rgba(255, 255, 255, 0.25);
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 110px;
    flex-direction: column;
}


/* parent div style */

.parent {
    display: flex;
    gap: 30px;

}

/* user input style */


.user-name {
    width: 300px;
    height: 50px;
    border-radius: 40px;
    border: none;
    font-family: 'Bruno Ace SC', sans-serif;
    box-shadow: 0px 2px 3px black;
    background-color: #FFFDFD;
    padding-left: 20px;
    transition: 0.35s;
    cursor: pointer;
    font-size: 1.1em;
}
.user-name:hover {
    width: 310px;
}

.user-name:focus {
    outline: none;
    box-shadow: 0px 4px 25px 9px rgba(255, 255, 255, 0.25);

}

::placeholder {
    color: 000000;
    font-weight: bolder;
    font-size: 1.1em;   
    padding-left: 0px;
    letter-spacing: 2px;

}


/* Button Style */



.search {
    width: 150px;
    height: 50px;
    background-color: #F9BC60;
    border-radius: 40px;
    border: none;
    color: black;
    font-weight: lighter;
    font-family: "Bruno Ace", sans-serif;
    font-size: 1.3em;
    box-shadow: 0px 2px 3px black;

    transition: 0.35s;
    cursor: pointer;
}
.search:hover {
    width: 160px;
}


.search:focus {
    outline: none;
    box-shadow: 0px 4px 25px 9px rgba(249, 188, 96, 0.25);

}

/* div in main  */



.child-div {
    width: 800px;
    height: 400px;
    border-radius: 20px;
    
    border-radius: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(171, 209, 198, 0.25));
    backdrop-filter: blur(23px);
    -webkit-backdrop-filter: blur(23px);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.55);
    z-index: 1;
    box-shadow: inset 2px 2px 22.8px 2px rgba(0, 0, 0, 0.25);

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 90px;
}


.child-div h1 {
    color: white;
    text-transform: capitalize;
    font-family: 'Bruno Ace SC', sans-serif;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.child-div-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;  
    gap: 30px;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
} 

 .child-div img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
}



/* a link */

a {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-all; 
    white-space: normal;
    text-overflow: ellipsis; 
    color: #e16162;
    font-size: 22px;
    padding-left: 10px;
}


/* Three JS Toy */

#app {
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
}

/* sweetalert style */

.custom-popup {
    background-color: rgba(113, 1, 130, 0.1);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgb(231, 151, 243);
    z-index: 1;
    box-shadow: 14px 14px 250px 90px rgba(255, 255, 255, 0.25);
    padding: 30px;
}

.custom-title {
    color: red;
    font-family: 'Bruno Ace SC', sans-serif;
}

.custom-btn {
    width: 230px;
    height: 55px;
    font-family: 'Bruno Ace', sans-serif;
    background-color: rgba(113, 1, 130, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgb(231, 151, 243);
    z-index: 1;
    box-shadow: 14px 14px 250px 90px rgba(255, 255, 255, 0.25);
}


.custom-progress-bar {
    font-size: 3em;
    background-color: rgb(231, 151, 243);
}

.custom-loader {
    border-top-color: rgb(163, 77, 170);
    border-bottom-color: rgb(231, 151, 243);
}


@media (max-width: 1024px) {
    .glass-blur {
        width: 95%;
    }
    .child-div {
        width: 95%;
    }
}


@media (max-width: 425px) { 
    .parent {
        flex-direction: column
    }
    .parent .user-name {
        width: 350px;
        padding-left: 20px;
        
    }

    .parent .search {
        width: 300px;
        margin-left: 20px;
    }

    .child-div h1 {
        font-size: 1.6em;
    }

    .child-div-content {
        flex-direction: column;
        gap: 20px;
        font-size: 0.7em;
    }
    .child-div-content img {
        width: 100px;
        height: 100px;
    }

    .div1 {
        margin-top: -150px;
        width: 150px;
        height: 150px;
    }

 
}

@media (max-width: 375px) {
    .parent .user-name {
        width: 320px;
    }

    .parent .search {
        width: 270px;
        margin-left: 24px;
    }
}


@media (max-width: 320px) {
    .parent .user-name {
        width: 280px;
    }

    .parent .search {
        width: 220px;
        margin-left: 29px;
    } 
}