/*
 Theme Name:   Full Spiker
 Theme URI:    https://elementor.com/
 Description:  Tema for Full Spiker // Hello Elementor Child Theme
 Author:       Elementor, Mediehuset Altaposten Marked
 Template:     hello-elementor
*/

@import url("../hello-elementor/style.css");

/* Lys modus */
body.light-mode {
    background-color: #ffffff;
    color: #000000;
}

.light-mode .elementor-widget-button a {
    background-color: #eeeeee;
    color: #000000;
}

.light-mode .elementor-section {
    background-color: #f9f9f9;
}

.light-mode .logo {
    content: url('https://fullspiker.no/wp-content/uploads/2021/08/1-3-e1628063088659.png');
}

/* Mørk modus */
body.dark-mode {
    background-color: #000000;
    color: #ffffff;
}

.dark-mode .elementor-widget-button a {
    background-color: #444444;
    color: #ffffff;
}

.dark-mode .elementor-section {
    background-color: #333333;
}

.dark-mode .logo {
    content: url('https://fullspiker.no/wp-content/uploads/2024/04/fullspiker_white.png');
}

.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin: 10px;
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display:none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
