@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Rubik+Mono+One&family=Sixtyfour&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
h1{
    background: #09192b;
}
.submitart, .translation {
    background: #fcee0a;
    color: var(--backcolor);
    border: none;
    width: 100%;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-family: 'Sixtyfour', sans-serif;
}


.backtohome{
    
}
:root{
    --h2color: #F75049;
    --backcolor:#09192b;
}

.translation {
    left: 20px; /* Align to the left */
}
body {
    font-family: 'Oswald', sans-serif;
    background: url('../img/pageside.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    line-height: 1.6;
}

/* Header styling */
header {
    background: #0D1B2A;
    text-align: center;
    padding: 20px 0;
    font-family: 'Sixtyfour', sans-serif;
    font-size: 2.5rem;
    color: #bd00ff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    width: 100vw; /* Make header full-width */
    position: relative;
}


/* Main container */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: calc(100vh - 168px);
}

/* Content area */
.content {
    background: #fcee0a;
    border-radius: 15px;    
    padding: 30px;
    width: 60%;
    max-width: 1000px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

/* Articles container */
.articles {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Individual article styling */
.article {
    background: #0D1B2A; /* rgba(0, 88, 56, 0.8) */
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.article h2 {
    font-family: 'Rubik Mono One', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--h2color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.location {
    color: #00FFFF;  /*#000; */
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.artmain {
    font-size: 1.45rem;
    margin-bottom: 15px;
    text-align: justify;
}

.meta {
    font-size: 0.9rem;
    color: #ccc;
    text-align: right;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content {
        width: 90%;
        padding: 20px;
    }
    
    header {
        font-size: 2rem;
    }
    
    .article h2 {
        font-size: 1.5rem;
    }
    
    .artmain {
        font-size: 1rem;
    }
}
/* css for reg/login form */
h2{
    font-family: 'Sixtyfour', sans-serif;
    color: var(--h2color);
}
label {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-family: 'Sixtyfour', sans-serif;
    color: var(--h2color);
}

.buttonsubmit {
    width: 100%;
    padding: 10px;
    
    background: var(--h2color);
    border: none;
    font-size: 1rem;
    font-family: 'Sixtyfour', sans-serif;
    color: #000;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}
form[class="reg" / class="login"] {
    background: rgba(0, 0, 0, 0.8); /* Dark semi-transparent */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 10px var(--h2color);
    width: 350px;
    margin: auto;
}
.buttonsubmit:hover {
    background: var(--h2color);
    box-shadow: 0 0 10px var(--h2color);
}
input {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--h2color);
    background: #222;
    color: #fff;
    border-radius: 5px;
    outline: none;
    transition: 0.3s;
}
/* css for submit form*/
.formsubmit{
    display:flex;
}
.submitartinput{

    width: 100%;
    height: 250px;
    padding: 29px;
    border: 2px solid var(--h2color);
    background: #222;
    color: #fff;
    border-radius: 5px;
    outline: none;
    transition: 0.3s;
}
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    background: #fcee0a;
    color: var(--backcolor);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    width: 170px;
    margin-bottom: 10px;
    font-family: 'Sixtyfour', sans-serif;
}
.subarth2{
    padding-left: 32%;
}
.form-group {
    
}
.translation{
    width: 250px;
}