/** 
 * Google Fonts
 * Inter Tight: 100, 400, 700
 * Space Mono: 400, 700
 */

.inter-tight-100w {
  font-family: "Inter Tight", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

.inter-tight-200w {
  font-family: "Inter Tight", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200w;
  font-style: normal;
}

.inter-tight-300w {
  font-family: "Inter Tight", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300w;
  font-style: normal;
}

.inter-tight-400w {
  font-family: "Inter Tight", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400w;
  font-style: normal;
}

.inter-tight-700w {
  font-family: "Inter Tight", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700w;
  font-style: normal;
}

/** <uniquifier>: Use a unique and descriptive class name
/** <weight>: Use a value from 400 to 700 **/

.kode-mono-400w {
  font-family: "Kode Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 400w;
  font-style: normal;
}

.kode-mono-400w {
    font-family: "Kode Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 500w;
    font-style: normal;
}

.kode-mono-400w {
    font-family: "Kode Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 600w;
    font-style: normal;
}

.kode-mono-400w {
    font-family: "Kode Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 700w;
    font-style: normal;
}

/***********************************************/
/**** HEADER ****/

nav > ul {
    list-style-type: none;
    margin-right: 20px;
}

header p {
    display: inline-block;
    font-family: "Inter Tight", sans-serif;
    font-weight: 700;
}


h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, p, .p {
    margin-top: 0;
    margin-bottom: 0;
}

header {
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
    height: 100%;
    gap: 8px;
}

header h1 {
    color: var(--foreground);
    font-family: "Inter Tight", sans-serif;
    font-size: 7em;
    font-weight: 700;
    line-height: 80%;
}

header p {
    color: var(--foreground);
    font-family: "Inter Tight", sans-serif;
    font-size: 1.25em;
    font-weight: 500;
    line-height: normal;
}

p {
    color: var(--foreground);
    font-family: "Inter Tight", sans-serif;
    font-size: 1em;
    font-weight: 500;
    line-height: normal;
}

h1 {
    color: var(--foreground);
    font-family: "Inter Tight", sans-serif;
    font-size: 4em;
    font-weight: 700;
    line-height: 80%;
}

h2 {
    color: var(--foreground);
    font-family: "Inter Tight", sans-serif;
    font-size: 3em;
    font-weight: 700;
    line-height: 80%;
}

h3 {
    color: var(--foreground);
    font-family: "Inter Tight", sans-serif;
    font-size: 2em;
    font-weight: 700;
    line-height: 80%;
}

.text-wrapper {
    max-width: 75ch;
    padding: 25px;
}

/***********************************************/
/****************** COLORS *********************/
/***********************************************/

:root {
    --foreground: #000;
    --background: #FFF;
}

@media (prefers-color-scheme: dark) {
    :root {
        --foreground: #FFF;
        --background: #000;
    }
}

body {
    color: var(--foreground);
    background: var(--background);
}


/***********************************************/
/************** GLOBAL CLASSES *****************/
/***********************************************/

a {
    text-decoration: underline;
    color: var(--foreground);
    transition: all 0.3s ease;
}

a:hover {
    font-weight: 700;
}

body {
    margin:0;
    padding:0;
}

section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: start;
    gap: 20px;
    padding: 24px;
}

section * {
    font-family: "Inter Tight", sans-serif;
}

/***********************************************/
/***************** BUTTONS *********************/
/***********************************************/

.button.primary {
    display: inline-flex;
    min-width: 64px;
    padding: 5px 20px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--foreground);
    background: var(--background);
    font-family: "Inter Tight", sans-serif;
    text-decoration: none;
    font-weight: 500;
}

.button img {
    width: 12px;
    height: 12px;
}

.button.primary:hover {
    font-weight: 700;
}

.button.primary span {
    font-size: 1.25em;
}

.button.secondary {
    display: inline-flex;
    min-width: 64px;
    padding: 5px 6px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--foreground);
    background: var(--background);
    font-family: "Inter Tight", sans-serif;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.button.secondary:hover {
    font-weight: 600;
}

.row {
    display: flex;
    flex-direction: row;
    align-items: stretch; /* changed from center to stretch */
    justify-content: center;
}

.row > section {
    width: 50%;
    min-height: 100%; /* Ensure the height is respected */
    border-bottom: 1px solid var(--foreground);
}

.row > section:nth-child(1) {
    border-right: 1px solid var(--foreground);
}



/***********************************************/
/*************** REST OF WEBSITE ***************/
/***********************************************/

main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
}


#socials {
    display: flex;
    padding: 10px 80px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-top: 1px solid var(--foreground);
    background-color: var(--background);
}

.buttons {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap:10px;
    position: static;
    bottom: 8px;
    right: 8px;
    margin-top: 8px;
}

/** If the user is on a mobile device, make the row stack */

@media screen and (max-width: 800px) {
    header h1 {
        font-size:4em;
    }

    .row {
        max-width: 100vw;
        flex-direction: column;
    }

    .row > section {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--foreground);
    }

    .buttons {
        flex-direction: column;
        align-items: flex-end;
    }

    .buttons > .button {
        width: 50%;
    }
} 