body, html {
    height: 100%;
    margin: 0;

    background: #f0f0f0;
    display: flex;
    flex-direction: column;

    font-family: 'Space Mono', 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, sans-serif;
}

header {
    background: #333;
    padding: 10px 0;
    color: white;
    text-align: center;
}

.nav-item {
    color: white;
    text-decoration: none;
    margin: 0 15px;
}

.container {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header {
    animation: fadeIn 2s ease-in-out forwards;
    opacity: 0;
}

.command {
    color: #555;
    font-style: italic;
}

h1 {
    margin: 10px 0;
    border-right: 2px solid;
    white-space: nowrap;
    overflow: hidden;
}

.typing-animation {
    animation: typing 3s steps(40, end), blink-caret .75s step-end infinite;
    max-width: 100%;
    margin: 0 auto;
}

.subtitle {
    color: #777;
    margin-bottom: 20px;
}

.socials {
    margin-top: 20px;
}
.socials i {
    font-size: 20px;
}
.social-link {
    text-decoration: none;
    color: #333;
    margin: 0 10px;
}
.social-link {
    transition: color 0.5s ease; 
}

.social-link[href*="github"]:hover {
    color: #171515; 
}

.social-link[href*="stackoverflow"]:hover {
    color: #F48024; 
}
.social-link[href*="linkedin"]:hover {
    color: #0077B5; 
}
.social-link[href*="pypi"]:hover {
    color: #0077B5; 
}
.social-link[href*="gdtechblog"]:hover {
    color: #2ecc71; 
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: black; }
}

.container_box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.box {
    border: 2px solid #d7d7d7;
    padding: 8px;
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    background-color: #f9f9f9; 
    max-width: 200px;
    text-align: center; 
    transition: transform 0.3s ease; 
}

.box:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); 
}
.django-quote {
    background-color: #333;
    color: #fff;
    font-family: 'Courier New', monospace;
    max-width: 600px;
    text-align: left;
    margin: 0 auto;
    padding: 20px;
}

.django-quote p {
    margin: 0;
    line-height: 1.5;
    text-align: center;
}
.no_color{
    text-decoration: none!important;
    color: #fff!important;
}
.no_color:hover{
    color: indianred!important;
}
.django-quote .keyword {
    color: #569CD6;
}

.django-quote .module {
    color: #9CDCFE;
}

.django-quote .function {
    color: #DCDCAA; 
}

/* Default styles for larger screens */
h1 {
    font-size: 2.5em; 
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.75em;
}

h4 {
    font-size: 1.5em;
}

h5 {
    font-size: 1.25em;
}

p, span {
    font-size: 1em;
}
@media(min-width:1024px){
    .box{
        width:50%;
    }
}
/* Media query for screens smaller than 768px */
@media (max-width: 768px) {
    h1 {
        font-size: 25px; 
    }

    h2 {
        font-size: 1.75em;
    }

    h3 {
        font-size: 15px;
    }

    h4 {
        font-size: 1.25em;
    }

    h5 {
        font-size: 1em;
    }

    p, span {
        font-size: 12px; 
    }
}
