html {
    scroll-behavior: smooth;
}

body {
    background-color: #191919;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    /*transition: 300ms ease-in-out;*/
}

a {
    color: white;
    text-decoration: none;
    transition: 300ms ease-in-out;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lyyra Extended', Helvetica, Arial, sans-serif;
}

p {
    font-family: Arial,sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

@media ( min-width: 375px ) {
    .container {
        max-width: 320px;
        width: 100%;
    }
}

@media ( min-width: 768px ) {
    .container {
        max-width: 740px;
        width: 100%;
    }
}

@media ( min-width: 1200px ) {
    .container {
        max-width: 1024px;
    }
}

.btn {
    border: 1px solid #191919;
    padding: 10px 25px;
}

.btn--primary {
    background-color: #fff;
    color: #191919;
}

.btn--primary:hover {
    background-color: #191919;
    color: #fff;
}

.btn--secondary {
    background: #191919;
    color: white;
}

.btn--secondary:hover {
    background-color: #fff;
    color: #191919;
}

/* Header */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: 400ms ease-in-out;
}

.header.scrolled {
    background-color: rgba(25, 25, 25, 0.8);
}

.header--logo {
    max-width: 90px;
    overflow: hidden;
}

.header--logo img {
    display: block;
    width: 100%;
    height: auto;
}

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

.header ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header li {
    display: inline-block;
    margin: 0 12px;
}

.header a {
    font-family: 'Lyyra Extended', Arial, sans-serif;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 2px 0;
    border-bottom: 1px solid transparent;
    transition: 450ms ease-in-out;
}

.header a:hover {
    border-bottom: 1px solid #fff;
}

.header--close,
.header--open {
    display: none;
}

.header--open {
    margin-left: 30px;
}

.header--btns {
    display: flex;
    align-items: center;
}

@media (max-width: 1199px) {

    .header--close,
    .header--open {
        display: block;
    }

    .header--menu {
        position: fixed;
        padding: 100px 0 0;
        left: -100%;
        top: 0;
        bottom: 0;
        width: 100%;
        background: #444241;
        transition: 600ms ease-in-out;
        z-index: 1;
    }

    .header--menu.open {
        left: 0;
    }

    .header--close {
        position: absolute;
        right: 30px;
        top: 30px;
        padding: 20px;
        z-index: 100;
    }

    .header li {
        display: block;
        margin: 0 0 20px;
        text-align: center;
    }

    .header a {
        font-size: 30px;
    }

}

@media (max-width: 600px) {
    .header--logo {
        max-width: 65px;
    }
}

    /*  Footer */

.footer--wrp {
    display: flex;
    justify-content: space-between;
    padding: 20px 0 50px;
}

.footer--wrp p {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}


@media (max-width: 600px) {
    .footer--wrp {
        display: block;
    }

    .footer--wrp p {
        margin-bottom: 15px;
    }
}

/* Read More */

.read-more {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.read-more--btn {
    order: 1;
    background: transparent;
    color: white;
    border: 0;
    text-align: left;
    padding: 0;
    text-decoration: underline;
    margin-bottom: 20px;
}

.read-more--btn.collapsed + .read-more--text {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.text-container {
    margin: 200px 0 150px;
}

.text-container strong {
    text-decoration: none;
    border-bottom: 1px solid;
}

th, td {
    padding: 5px 10px;
}

/* styles.css */
.theme-toggle {
    position: relative;
    width: 50px;
    height: 24px;
}

.theme-switch-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-switch-label {
    display: block;
    width: 50px;
    height: 24px;
    background-color: #ccc;
    border-radius: 12px;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.theme-switch-label:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

.theme-switch-checkbox:checked + .theme-switch-label {
    background-color: #191919;
}

.theme-switch-checkbox:checked + .theme-switch-label:before {
    transform: translateX(26px);
}

.theme-toggle--hint {
    position: absolute;
    bottom: -20px;
    font-size: 11px;
    left: 3px;
}

.light-theme .theme-toggle--hint {
    color: #191919;
}
/* light theme */

.light-theme {
    background: whitesmoke;
    color: #191919;
}

.light-theme a {
    color: orangered;
}

.light-theme .header a {
    color: #191919;
}

.light-theme .header a:hover {
    border-bottom: 1px solid orangered;
}

.light-theme .btn--primary {
    background-color: #191919;
    color: whitesmoke;
}

.light-theme .btn--primary:hover {
    background-color: whitesmoke;
    color: #191919;
}

.light-theme .btn--secondary {
    background: whitesmoke;
    color: #191919;
}

.light-theme .btn--secondary:hover {
    background-color: #191919;
    color: whitesmoke;
}

.light-theme .header.scrolled {
    background-color: rgba(230, 230, 230, 0.8);
}

.light-theme .header--close rect,
.light-theme .header--open rect{
    fill: #191919;
}

.light-theme .about--info p {
    color: #191919;
}

@media (max-width: 1199px) {

    .light-theme .header--menu {
        background: #bbbbbb;
    }

}
