@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700');

/* color root */
:root {
    --white: #f5f5f5;
    --black: #111;
    --primary-background: #444;
    --second-background: #333;
    --magenta: #f0f;
    --aqua: #0ff;
    --box-shadow: #000000cc;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-image: url(111.jpg);
    backdrop-filter: blur(10px);
    font-family: 'Roboto', sans-serif;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: transparent;
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Roboto', sans-serif;
}


html{
    font-size: 62.5%;
}



body{
    width: 100%;
    height: 100vh;
    overflow-x: hidden; 
    background-color: black;
    color: white;  
}


header{
    margin-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: transparent;
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    aling-items: center;
    z-index: 100;
}


.logo{
    font-size: 3rem;
    color: #6fbeec;
    text-shadow: 0 0 5px #2b6485, 0 0 10px #2b6485, 0 0 15px #2b6485, 0 0 20px #2b6485, 0 0 25px #2b6485, 0 0 30px #2b6485, 0 0 35px #2b6485;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}


.logo:hover{
    transform: scale(1.1);
}


nav a{
    font-size: 1.8rem;
    font-weight: 500;
    margin: 0 1rem;
    color: white;
    transition: 0.3s ease;
    margin-left: 5rem;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active{
    color: #86cef8;
    border-bottom: 3px solid #2b6485;
    text-shadow: 0 0 5px #2b6485, 0 0 10px #2b6485, 0 0 15px #2b6485, 0 0 20px #2b6485, 0 0 25px #2b6485, 0 0 30px #2b6485, 0 0 35px #2b6485;
}

@media (max-width: 995px){
    nav {
    background-color: #222; /* Set the background color for the navigation bar */
    color: #fff; /* Set the text color for the navigation bar */
    position: absolute;
    display: none;
    top: 0;
    right: 0;
    width: 40%;
    border-left: 3px solid white;
    border-bottom: 3px solid #2b6485;
    border-bottom-left-radius: 2rem;
    padding: 1rem solid;
    border-top: 0.1rem solid rgba(0,0,0,0.1);
    }


    nav.active{
        display: block;
    }

    nav a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    nav a:hover,
    nav a.active{
        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid #b400a5;
    }

}

section{
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}

.home{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8rem;
    background-color: black;
}

.home .home-content{
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

span {
    color: #59afe0;
    text-shadow: 0 0 5px #2b6485, 0 0 10px #2b6485, 0 0 15px #2b6485, 0 0 20px #2b6485, 0 0 25px #2b6485, 0 0 30px #2b6485, 0 0 35px #2b6485;

}



.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center; 
    flex-wrap: wrap;
    margin-top: 100px;
}

.card {
    position: relative;
    cursor: pointer;
    margin: 1rem;
}

.face {
    width: 300px;
    height: 200px;
    transition: all 0.3s;
}

.face.face1 {
    position: relative;
    border-radius: 3%;
    background: #3e7a9d;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transform: translateY(100px);
}

.card:hover .face.face1 {
    transform: translateY(0);
    box-shadow: inset 0 0 60px var(--white), inset 20px 0 80px var(--magenta), inset -20px 0 80px var(--aqua), inset 20px 0 300px var(--magenta), inset -20px 0 300px var(--aqua), 0 0 50px var(--white), -10px 0 80px var(--magenta), 10px 0 80px var(--aqua);
}

.face.face1 .content {
    opacity: 0.6;
    transition: 0.5s;
    text-align: center;
}


.card:hover .face.face1 .content {
    opacity: 1;
}

.face.face1 .content i {
    font-size: 3em;
    color: white;
    display: inline-block;
}

.face.face1 .content h3 {
    font-size: 34px;
    color: white;
    text-align: center;
}

.face.face2 {
    
    position: relative;
    border-radius: 12%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 20px 50px var(--box-shadow);
    transform: translateY(-100px);
}

.card:hover .face.face2 {
    transform: translateY(0);
    border-radius: 0%;
    
}

.face.face2 .content p, .face.face2 .content a {
    font-size: 14px;
    margin: 0;
    padding: 0;
    color: black;
}

.face.face2 .content a {
    text-decoration: none;
    color: black;
    box-sizing: border-box;
    outline: 1px dashed var(--second-background);
    padding: 10px;
    margin: 15px 0 0;
    display: inline-block;
}

.face.face2 .content a:hover {
    background: var(--second-background);
    color: white;
    box-shadow: inset 0 0 10px var(--box-shadow);
}

.btn {
    display: inline-block;
    padding: 0.5rem 1.4rem; 
    font-size: 1.2rem; 
    font-weight: 500;
    background-color: black;
    color: #2b6485;
    border-radius: 4rem;
    margin-top: 2rem;
    transition: 0.3s ease;
    letter-spacing: 0.3;
    font-weight: 600;
    border: 2px solid #2b6485;
    cursor: pointer;
    text-align: center;
    margin: 2rem auto;
}

.btn:hover {
    transform: scale3d(1.03);
    background-color: #2b6485;
    color: black;
    box-shadow: 0 0 25px #2b6485;
}

