@font-face {
    font-family: 'Roboto Condensed';
    src: url('../fonts/RobotoCondensed-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('../fonts/NotoSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('../fonts/NotoSans-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans Hebrew';
    src: url('../fonts/NotoSansHebrew-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans Hebrew';
    src: url('../fonts/NotoSansHebrew-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: white;

}

body {
    width: 100vw;
    background-color: black;
    overflow-x: hidden;
    padding: 1.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

section {
    flex: 1;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    min-height: 0;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

h1,
p,
a,
span {
    margin: 0;
}

h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 2.5rem;
}

a {
    text-decoration: underline;
}


html[lang="ar"] p,
html[lang="ar"] span,
.lang-switch[lang="ar"] a span {
    font-family: 'Noto Sans Arabic', 'Noto Sans', sans-serif;
    text-align: right;
}

html[lang="he"] p,
html[lang="he"] span,
.lang-switch[lang="he"] a span {
    font-family: 'Noto Sans Hebrew', sans-serif;
    text-align: right;
}

html[lang="ru"] p,
html[lang="ru"] span,
.lang-switch[lang="ru"] a span {
    font-family: 'Noto Sans', sans-serif;
}

html[lang="en"] p,
html[lang="en"] span,
.lang-switch[lang="en"] a span {
    font-family: 'Noto Sans', sans-serif;
}

p,
span {
    font-size: 5.0rem;
}

a span {
    font-size: 1rem;
}

p {
    font-weight: 900;
}

span {
    font-weight: 400;
    font-style: italic;
}

.header-wrapper {
    padding: 5px 30px;
    border: 4px solid white;
    border-radius: 20px;
}

.lang-switch {
    padding: 5px 0;
}

.we-are {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#changing-word {
    transition: opacity 0.6s ease-in-out;
    display: inline-block;
}

.made-in-haifa {
    display: flex;
    align-items: center;
    gap: 25px;
}

.made-in-haifa img {
    width: 50px;
    height: 50px;
}

.made-in-haifa img:hover {
    transform: scale(1.5);
    transition: transform 0.3s ease;
}

.theme-toggle-btn {
    background: none;
    border: 2px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
    border-color: #ccc;
}

.theme-toggle-btn svg {
    width: 24px;
    height: 24px;
    color: white;
    transition: color 0.3s ease;
}

.made-in-haifa svg {
    width: 50px;
    height: 50px;
    color: white;
    transition: all 0.3s ease;
}

.made-in-haifa svg:hover {
    transform: scale(1.5);
}

body.light-theme .made-in-haifa svg {
    color: black;
}

/* Light theme styles */
body.light-theme {
    background-color: white;
    color: black;
}

body.light-theme * {
    color: black;
}

body.light-theme .header-wrapper {
    border-color: black;
}

body.light-theme .theme-toggle-btn {
    border-color: black;
}

body.light-theme .theme-toggle-btn svg {
    color: black;
}

body.light-theme a {
    color: black;
}

@media screen and (max-width: 768px) {
    body {
        padding: 2rem 1.2rem;
    }

    section {
        margin-top: 20px;
        gap: 20px;
        justify-content: center;
    }

    .lang-switch {
        padding: 10px 0;
    }

    p,
    span {
        font-size: 2.5rem;
    }

    a span {
        font-size: 0.8rem;
    }

    .made-in-haifa {
        flex-direction: column;
        align-items: flex-start;
    }
}