/* style.css - single file */

/* GLOBAL */

:root {
    --color-base-dark: #101014;
    --color-border-dark: #2D2E33;
    --color-dark: #1B1C23;
    --color-primary: #e34a40;
    --color-secondary: #dc314c;
}

* {
    box-sizing: border-box;
}

html, body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--color-base-dark);
    color: white;
    display: flex;
    justify-content: center;
    height: 100%;
    margin: 0;
}

hr {
    display: block;
    width: 50%;
    background-color: var(--color-border-dark);
    height: 1px;
    padding: 0;
    border: none;
    margin: 35px auto;
}

h1, h2, h3, h4, h5, h6 {
    transition: font-size 0.2s ease-in-out;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 5px;
    line-height: 30px;
    margin: 0;
}

a {
    text-decoration: none;
    color: var(--color-secondary);
}

a:hover {
    text-decoration: underline;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* ### */
/* single page */

.logo {
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
}

.contact-me {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
    text-align: center;
}

.copyright-text {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    opacity: 0.2;
}

.overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center; /* Added to center items horizontally */
    justify-content: center; /* Added to center items vertically */
    background-color: var(--color-base-dark);
    height: 100%;
    width: 100%;
    opacity: 1;
    transition: 0.2s ease-in-out;
}

.overlay.hidden {
    opacity: 0;
}

.overlay img {
    width: 100%;
    max-width: 300px;
    margin: auto;
}



@media (max-width: 768px) {

    .container {
        padding: 0 20px;
    }
  
    h3 {
        font-size: 0.8rem;
    }
    
}

/* ### */