/* Inter Font - Regular, Italic, and Semi-Bold */
@font-face {
    font-family: 'Inter';
    src: url('./fonts/inter/Inter-Regular.woff2') format('woff2'),
        url('./fonts/inter/Inter-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('./fonts/inter/Inter-Italic.woff2') format('woff2'),
        url('./fonts/inter/Inter-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Inter';
    src: url('./fonts/inter/Inter-SemiBold.woff2') format('woff2'),
        url('./fonts/inter/Inter-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

/* Jacquarda Bastarda 9 Font - Regular */
@font-face {
    font-family: 'Jacquarda Bastarda 9';
    src: url('./fonts/jacquarda-bastarda/JacquardaBastarda9-Regular.woff2') format('woff2'),
        url('./fonts/jacquarda-bastarda/JacquardaBastarda9-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

.jacquarda {
    font-family: "Jacquarda Bastarda 9", serif;
    font-weight: 400;
    font-style: normal;
}

/* Dark Theme */
:root.dark {
    --primary-color: #D9D9D9;
    --secondary-color: #333;
    --background-color: #000;
}

/* Light Theme */
:root.light {
    --primary-color: #000;
    --secondary-color: #999;
    --background-color: #D9D9D9;
}

:root {
    --h1: 2.25rem;
    --h2: 1.25rem;
    --p: 0.85rem;
    --link-color: #1972e6;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 50px 60px;
    padding: 0;
    font-family: 'Inter', Arial, sans-serif;
    background-color: var(--background-color);
    /*background-color: #000;*/
    color: var(--primary-color);
    /*color: #D9D9D9;*/

    /* Anti-aliasing for cross-browser */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

header {
    height: 220px;
}

i {
    color: var(--primary-color);
    font-weight: normal;
    font-style: normal;
    cursor: pointer;
}

.header-container {
    display: block;
    position: relative;
    display: flex;
    justify-content: space-between;
    /* spreads left and right items */
    align-items: start;
    /* vertically centers items */
    width: auto;
    height: 275px;
}

.center {
    width: auto;
    display: flex;
    height: 140px;
    justify-content: space-between;
    /* pushes items to left and right edges */
    align-items: center;
    /* vertically centers them (optional) */
    font-size: 13px;

    #works-container {
        height: 63px;
        width: 130px;
        position: absolute;
        top: 14px;
        left: 90px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #works {
        cursor: pointer;
    }

    #contact-container {
        height: 63px;
        width: 118px;
        position: absolute !important;
        top: 63px;
        left: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #contact {
        cursor: pointer;
    }

    #shop-container {
        height: 63px;
        width: 118px;
        position: absolute !important;
        top: 63px;
        right: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #shop {
        cursor: not-allowed;
        font-size: 14px !important;
    }

    #shop:hover {
        animation: rainbow 5s infinite;
    }
}

.left {
    padding-top: 25px;
    height: 100%;
    flex: 1;
}

.icon-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 91px;
    height: 19px;
}

#twitter {
    fill: var(--primary-color);
}

#instagram {
    fill: var(--primary-color);
}

#youtube {
    fill: var(--primary-color);
}

#menu path {
    stroke: var(--secondary-color);
}

#star {
    fill: var(--primary-color);
}

#theme-switch {
    fill: var(--primary-color);
}

.right {
    padding-top: 25px;
    height: 100%;
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.theme-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 75px;
    height: 19px;
}

.selected-lang {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lang-container {
    display: flex;
    width: 48px;
    font-size: 12px;
    justify-content: space-around;
    align-items: center;
    gap: 0px 8px;
}

.settings-option {
    cursor: pointer;
    z-index: 1;
}

.invert {
    /*filter: invert(50%) sepia(100%) saturate(5000%) hue-rotate(200deg);*/
    filter: invert(100%) sepia(100%) saturate(20%);
}

main {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
    flex: 1;
}

.main-text {
    width: 326px;
    margin: auto;
    order: 2;

    #title {
        font-size: 36px;
        font-weight: 600;
        margin-bottom: 28px;
        color: var(--primary-color);
    }

    #subtitle {
        font-size: 20px;
        font-weight: normal;
        color: var(--primary-color);
        margin-bottom: 30px;
    }

    #right {
        font-size: 12px;
        color: var(--secondary-color);
    }
}

.img-placeholder {
    border-radius: 8px;
}

.main-left {
    padding-top: 25px;
    height: 100%;
    flex: 1;
    order: 1;
}

.main-left>img {
    width: 400px;
    height: auto;
}

.main-right {
    padding-top: 25px;
    height: 100%;
    flex: 1;
    order: 3;
}

.main-right>img {
    width: 400px;
    height: auto;
}

@media (max-width: 1200px) {
    .main-right>img {
        width: 370px;
    }

    .main-left>img {
        width: 370px;
    }
}

@media (max-width: 1050px) {
    .main-right>img {
        width: 330px;
    }

    .main-left>img {
        width: 330px;
    }
}

@media (max-width: 900px) {
    header {
        height: 160px;
    }

    .header-container {
        height: 160px;
        justify-content: center;
    }

    .main-container {
        justify-content: center;
        flex-direction: column;
    }

    .main-left {
        order: 2;
    }


    .main-text {
        order: 1;
        margin-bottom: 24px;
    }

    .main-right {
        order: 3;
    }

    .left {
        display: none;
    }

    .right {
        display: none;
    }
}

@keyframes rainbow {
    0% {
        color: var(--primary-color);
    }

    20% {
        color: violet;
    }

    40% {
        color: orange;
    }

    60% {
        color: limegreen;
    }

    80% {
        color: dodgerblue;
    }

    100% {
        color: var(--primary-color);
    }
}
