/*
Theme Name: Simple Theme
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A simple WordPress theme with black background and responsive grid layout
Version: 1.0.0
License: GPL v2 or later
Text Domain: simple-theme
*/

@font-face {
    font-family: 'Open Sans';
    src: url('assets/Open_Sans/static/OpenSans-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,html {
    background-color: #010302;
    color: #fff;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100dvh;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 2vw;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    display: flex;
    align-items: center;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(300px, 40%) 1fr;
    grid-template-rows: 1fr 1fr;
    gap: clamp(20px, 3vw, 50px);
    width: 100%;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
}

.column-image-wrapper {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.column-text {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
}

.column-button {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
}



h1, h2, h3 {
    margin-bottom: 15px;
}

p {
    margin-bottom: 10px;
}

a {
    color: #4a9eff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.column-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 5px;
    display: block;
}



.centered-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #ffdc18;
    text-transform: uppercase;
    text-align: left;
    line-height: .8;
}

.centered-text span {
    color: #000;
    background-color: #ffdc18;
    padding: 3px;
    margin: 0;
    display: inline-block;
    line-height: .8;
}

.button {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    background-color: #ffdc18;
    color: #000;
    padding: clamp(5px, 1vw, 10px) clamp(10px, 2vw, 20px);
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
}

.button-revert {
    background-color: #000;
    color: #ffdc18;
}

.column-button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    
}

.button:hover {
    opacity: 0.9;
}

.link {
    color: #ffdc18;
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
    body,html {
        overflow-y: auto;
        height: 100dvh;
    }
    
    .container {
        height: 100dvh;
        min-height: 100dvh;
        max-height: 100dvh;
        padding: 20px;
        display: flex;
        align-items: stretch;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        height: 100%;
    }
    
    .column-text {
        grid-column: 1;
        grid-row: 1;
        order: 1;
    }
    
    .column-image-wrapper {
        grid-column: 1;
        grid-row: 2;
        order: 2;
    }
    
    .column-button {
        grid-column: 1;
        grid-row: 3;
        order: 3;
        
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .centered-text {
        font-size: 2em;
        text-align: center;
        padding: 0 10px;
    }
    
    .column-image {
        max-height: 50vh;
        width: auto;
        height: auto;
    }
}