body{
margin:0;
font-family:Arial,sans-serif;
background:#0f172a;
color:white;
}

header{
background:#111827;
padding:15px;
}

.wrap{
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
}

nav a{
color:white;
text-decoration:none;
margin-left:20px;
}

.hero{
padding:80px 20px;
text-align:center;
}

.hero h1{
font-size:48px;
}

.btn{
display:inline-block;
padding:15px 30px;
background:#2563eb;
color:white;
border-radius:8px;
text-decoration:none;
}

.stats{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:20px;
max-width:1000px;
margin:auto;
padding:20px;
}

.box{
background:#1e293b;
padding:30px;
border-radius:10px;
text-align:center;
}

.top{
max-width:1000px;
margin:50px auto;
}

.site{
display:flex;
justify-content:space-between;
background:#1e293b;
padding:15px;
margin-bottom:10px;
border-radius:8px;
}

footer{
margin-top:50px;
padding:20px;
text-align:center;
background:#111827;
}
.auth-buttons{
    display:flex;
    gap:10px;
}

.auth-buttons button{
    border:none;
    padding:10px 16px;
    border-radius:8px;
    cursor:pointer;
}

.btn-login{
    background:#334155;
    color:#fff;
}

.btn-register{
    background:#2563eb;
    color:#fff;
}

.modal{
    display:none;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.75);
    z-index:9999;
}

.modal-content{
    width:420px;
    max-width:95%;
    background:#1e293b;
    margin:80px auto;
    padding:25px;
    border-radius:12px;
    position:relative;
}

.modal-content h2{
    margin-top:0;
    color:#fff;
}

.modal-content input{
    width:100%;
    box-sizing:border-box;
    padding:12px;
    margin-bottom:10px;
    border-radius:8px;
    border:1px solid #334155;
    background:#0f172a;
    color:#fff;
}

.modal-content button{
    width:100%;
    padding:12px;
    border:none;
    border-radius:8px;
    background:#2563eb;
    color:#fff;
    cursor:pointer;
}

.close{
    position:absolute;
    right:15px;
    top:10px;
    font-size:28px;
    color:#fff;
    cursor:pointer;
}
body{
    margin:0;
    font-family:Arial,sans-serif;
    background:#0f172a;
    color:white;
}


/* header */

header{
    background:#111827;
    padding:20px;
    box-shadow:0 5px 20px rgba(0,0,0,.3);
}

header h1{
    max-width:1200px;
    margin:auto;
}


/* konteineris */

.container{
    max-width:1000px;
    margin:50px auto;
    padding:20px;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:20px;
}


/* kortelės */

.card{

    background:#1e293b;

    padding:30px;

    border-radius:12px;

    box-shadow:
    0 10px 25px rgba(0,0,0,.35);

    transition:.2s;
}


.card:hover{
    transform:translateY(-5px);
}


.card h2 {
    margin-top: 17px;
    color: #60a5fa;
    text-align: center;
}
img {
    width: 58%;
    text-align: center;
}
/* mygtukai / nuorodos */

a{

    display:inline-block;

    background:#2563eb;

    color:white;

    padding:12px 25px;

    border-radius:8px;

    text-decoration:none;

    transition:.2s;
}


a:hover{
    background:#1d4ed8;
}


/* atsijungimas */

.card:last-child a{

    background:#ef4444;

}


.card:last-child a:hover{

    background:#dc2626;

}


/* jei bus navigacija */

nav a{

    color:white;
    text-decoration:none;
    margin-left:20px;

}


/* mobilus */

@media(max-width:600px){

    header h1{
        font-size:22px;
    }

    .container{
        margin:20px auto;
        grid-template-columns:1fr;
    }

}
form input{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border-radius:8px;
    border:1px solid #334155;
    background:#0f172a;
    color:white;
}


form button{
    border:none;
    cursor:pointer;
}
.wrap{
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
}


nav a{
color:white;
text-decoration:none;
margin-left:20px;
}


.hero{
padding:60px 20px;
text-align:center;
}


.hero h1{
font-size:42px;
}


.top{
max-width:1100px;
margin:40px auto;
}


.site{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
background:#1e293b;
padding:25px;
margin-bottom:20px;
border-radius:15px;
}



textarea{

width:100%;
height:80px;

background:#0f172a;

color:white;

border:1px solid #334155;

border-radius:8px;

padding:10px;

}



footer{

margin-top:60px;

background:#111827;

padding:25px;

text-align:center;

}



@media(max-width:700px){

.site{
grid-template-columns:1fr;
}

.wrap{
flex-direction:column;
}

nav{
margin-top:15px;
}

}