@import url("fonts.css");

html {
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/*@media (prefers-color-scheme: dark) {
    html {
        background-color: black;
        color: white;
	}
}*/

body {
    margin: 0em;
    overflow-x: hidden;
}

article {
    padding: 1em 2em;
}

button {
    display: inline-block;

    margin-top: 0.2em;
    margin-bottom: 1em;
    padding: 0.4em 0.6em;

    background-color: white;

    border: 0.06em solid black;
    border-radius: 2rem;

    cursor: pointer;

    transition: background-color 0.2s;
}

button:hover {
    background-color: rgb(240, 240, 240);
}

button>p {
    margin: 0em !important;
    padding: 0em !important;
}

button>p>a {
    text-decoration: none;
    color: black;
}

.switch {
    display: inline-block;
    position: relative;

    margin: 0em 0.5em 0em 0.5em;

    width: 3.8em;
    height: 2em;
    }

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
  
.slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background-color: #ccc;
    cursor: pointer;
    border-radius: 2em;

    transition: 0.2s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 0.1em #2196F3;
}

.slider:before {
    position: absolute;
    left: 0.2em;
    bottom: 0.2em;

    height: 1.6em;
    width: 1.6em;

    background-color: white;
    border-radius: 50%;
    content: "";

    transition: 0.2s;
}


input:checked + .slider:before {
    transform: translateX(1.8em);
}