@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
*{
    box-sizing: border-box;
    margin: 0;
}
body{
    background: rgb(242, 242, 242);
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    scroll-behavior: smooth;
    font-family: "Ubuntu", sans-serif;
    cursor: default;
    padding-bottom:60px;
    opacity: 0;
    transition: .3s opacity;
    position: relative;
}
body.ready{
    opacity: 1;
}
h1{
    font-family: "Noto Serif", serif;
}
.banner{
    width: 96vw;
    max-width: 1500px;
    margin: 2vw auto;
    background: rgba(221, 221, 221, .6);
    padding: 100px 20px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, .3);
    box-sizing: border-box;
}
.banner h1{
    width: 90%;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: 2.5rem;
    line-height: 1.2;
    transition: filter .4s;
}
.banner .links{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.banner p, .banner a{
    margin: 0;
    opacity: .6;
    cursor: pointer;
    transition: transform .2s, opacity .3s, text-shadow .1s;
    font-weight: 500;
    color: black;
    text-decoration: none;
}
.banner p:hover, .banner a:hover{
    transform: translateY(-2px);
    opacity: 1;
}
.banner:has(.links:hover) h1{
    filter: blur(4px);
}
.labs-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    width: 96vw;
    max-width: 1500px;
    margin: 40px auto;
}
.lab-card{
    border-radius: 25px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.4s;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(221, 221, 221, 0.2));
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.05);
}
.lab-card:hover{
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(221, 221, 221, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}
.lab-content h2{
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.lab-content p{
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
}
.lab-card:hover{
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: rgba(221, 221, 221, 0.5);
}
.tech-stack{
    display: flex;
    gap: 10px;
}
.tech{
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 5px 12px;
    border-radius: 20px;
    color: rgba(0, 0, 0, 0.7);
    transition: all 0.2s;
}
.tech:hover{
    background: rgba(0, 0, 0, 0.8);
    color: white;
}
.lab-card a{
    width: 95%;
    color: rgb(0, 0, 0);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 40px;
    margin-left: 2.5%;
    text-decoration: none;
    border-radius: 10px;
    margin-top: 10px;
    padding-top: 10px;
}
.contact-container{
    display: flex;
}
.contact-card{
    width: 47vw;
    max-width: 1500px;
    margin-left: 2vw;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
    box-sizing: border-box;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(221, 221, 221, 0.2));
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.05);
}
.email-form h1{
    margin-bottom: 15px;
}
.email-form input{
    width: 100%;
    height: 40px;
    border-radius: 10px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, 0.5);
    outline: none;
    padding-left: 7px;
    transition: .2s all;
    margin-bottom: 10px;
}
.email-form textarea{
    width: 100%;
    height: 100px;
    border-radius: 10px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, 0.5);
    outline: none;
    padding: 7px;
    transition: .2s all;
    margin-bottom: 10px;
    resize: none;
}
.email-form input:focus, .email-form textarea:focus, .contact-card button:hover{
    border: 2px solid #9fc7ff85;
}
.contact-card button{
    width: 100%;
    color: rgb(0, 0, 0);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 40px;
    backdrop-filter: blur(15px);
    border-radius: 10px;
    transition: .2s border ease-in-out, .2s scale cubic-bezier(.65,-0.01,.47,1.25);
}
.contact-card disclaimer{
    opacity: .5;
    font-size: 13px;
}
.contact-card button:active{
    scale: .97;
    border: 1px solid #9fc7ffc9;
}
@media screen and (max-width: 768px){
    .banner{
        padding: 60px 20px;
        width: 92vw;
    }
    .banner h1{
        font-size: 1.8rem;
        width: 100%;
        text-align: center;
    }

    .banner .links{
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .banner p, .banner a{
        font-size: 1.1rem;
        padding: 10px;
    }
    
    .email-form{
        width: 96vw;
    }
}

alert-container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 9999999999999;
    transition: opacity .5s;
}
alert-element{
    position: fixed;
    top: 50%;
    left: 50%;
    width: 340px;
    padding: 28px;
    padding-bottom: 70px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(221, 221, 221, 0.2));
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 25px;
    transform: translate(-50%, -50%) scale(0.98);
    animation: alert-in 0.25s ease-out forwards;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.25),
        0 8px 25px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.6);
    z-index: 9999999999999;
}

alert-button{
    width: 95%;
    height: 40px;
    bottom: 5%;
    left: 2.5%;
    position: absolute;
    color: rgb(0, 0, 0);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 17px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 
        0 8px 20px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.35);
    cursor: pointer;
    transition: 
        transform .15s ease,
        box-shadow .15s ease,
        filter .15s ease;
}
alert-button:hover{
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.4);
}
alert-button:active{
    transform: scale(0.97);
    box-shadow: 
        0 4px 10px rgba(0,0,0,0.25),
        inset 0 2px 4px rgba(0,0,0,0.2);
}
alert-button p{
    margin: 0;
}
alert-text{
    display: block;
    font-size: 15px;
    color: #1c1c1e;
    margin-bottom: 8px;
    font-weight: 500;
}
@keyframes alert-in{
    from{
        opacity: 0;
        transform: translate(-50%, -55%) scale(0.95);
    }
    to{
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}