/*---------------------------index.html-------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Lora', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    line-height: 1.6;
    text-align: left;
    font-size: large;
    background-color: #0a0a0a;
    color: #e0e0e0;
}
#home, #about, #projects, #contact, #intrests, #pictures {
    margin: 1.5rem;
    padding: 2rem;
    background-color: #1a1a1a;
    border-radius: 12px;
    border-left: 4px solid #1793d1;
    box-shadow: 0 4px 6px rgba(23, 147, 209, 0.1);
}
.left {
    margin-left: auto;
}
#home {
    margin-top: 5rem;
}
section {
    scroll-margin-top: 5rem;
}
nav {
    background-color: #0c0c0c;
    padding: 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 2px solid #1793d1;
    border-radius: 0 0 12px 12px;
}
nav a {
    color: #e0e0e0;
    text-decoration: none;
    margin: 0 1.5rem;
    transition: color 0.3s ease;
}
nav a:hover {
    color: #1793d1;
}
h1 {
    margin-bottom: 1rem;
    color: #1793d1;
}
h3 {
    color: #1793d1;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
ul {
    list-style-position: inside;
    list-style-type: square;
}
a {
    color: #1793d1;
    transition: color 0.3s ease;
}
a:hover {
    color: #f00d0d;
}
footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #0c0c0c;
    color: #e0e0e0;
    text-shadow: #1793d1 0px 0px 3px;
    border-top: 2px solid #1793d1;
    border-radius: 12px 12px 0 0;
    margin-top: 2rem;
}
/* Loading dots animation */
@keyframes dots {
    0% { content: '.'; }
    33% { content: '..'; }
    66% { content: '...'; }
    100% { content: '.'; }
}
#visit-counter.loading::after {
    animation: dots 1.5s infinite;
}
/*----------------------form styling------------------------*/
input[type="text"],
input[type="email"],
textarea {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border: 2px solid #1793d1;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    width: 100%;
    max-width: 500px;
    margin: 0.5rem 0;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #52bfe8;
    box-shadow: 0 0 8px rgba(23, 147, 209, 0.3);
}
button {
    background-color: #1793d1;
    color: #000;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 1rem;
}
button:hover {
    background-color: #52bfe8;
    box-shadow: 0 4px 12px rgba(23, 147, 209, 0.4);
}
/*----------------------ham.html------------------------*/
#meishodotoham {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 2rem auto;
    border-radius: 12px;
    border: 3px solid #1793d1;
    box-shadow: 0 4px 12px rgba(23, 147, 209, 0.2);
}

/*----------------------reference.html------------------------*/
#listreference {
    margin: 2rem;
    padding-left: 1.5rem;
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #1793d1;
}