:root {
    --primary-light-one: #5daa68;
    --primary-light-two: #4a9455;
    --primary-semidark-one: #356c3c;
    --primary-dark-one: #17311b;
    --secondary-light-one: #faf1cf;
    --secondary-light-two: #e1d7b5;
    --background-one: var(--primary-light-one);
    --background-two: var(--primary-light-two);
    --background-three: var(--secondary-light-one);
    --background-four: var(--primary-dark-one);
    --highlight-one: var(--primary-dark-one);
    --highlight-one-text: var(--secondary-light-one);
    --highlight-two: var(--primary-semidark-one);
    --text-one: var(--secondary-light-one);
    --shadow-one: var(--primary-dark-one);
    --text-two: var(--primary-dark-one);
    --text-three: var(--primary-light-one);
    --shadow-three: var(--primary-dark-one);
}

body {
    margin: 0;
    background: var(--background-one);
    color: var(--text-two);
}
.content {
    margin: 10px;
}

h1, h2 {
    word-wrap: break-word;
    color: var(--text-one);
    text-shadow: 2px 2px var(--shadow-one);
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    padding-left: 0px;
}

.container-form {
    background: var(--background-three);
    color: var(--text-two);
    border-radius: 10px;
    padding: 20px;
}

.input-element {
    margin: 20px;
}

.output-element {
    margin: 20px;
}

label {
    font-weight: bold;
    word-break: break-word;
    font-size: x-large;
}

.slidecontainer {
    width: 100%;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 23px;
    height: 24px;
    border: 0;
    background: url('../img/logo_transparent.png');
    background-size: 100% 100%;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 23px;
    height: 24px;
    border: 0;
    background: url('../img/logo_transparent.png');
    background-size: 100% 100%;
    cursor: pointer;
}


.input-group {
    display: flex;
    align-items: center;
}

.input-group button {
    padding: 10px;
    border: none;
    background-color: var(--primary-dark-one);
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.input-group input {
    width: 50px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #ccc;
    background-color: var(--secondary-light-one);
    height: 36px;
}

.cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}


.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    margin: 0.4em;
    min-width: 300px;
    padding: 10px;
    border-radius: 10px;
}

@media screen and (max-width: 800px) {
    flex: 0 1 calc(25% - 0.5em);
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.card-active {
    border: 3px solid var(--highlight-two);
}

.info-container {
    padding: 2px 16px;
}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 200px;
}


.measurement {
    width: 100px;
}

.cage-selector {
    display: flex;
    flex-wrap: wrap;
}

input[type="checkbox"] {
    display: none;
}


.form-measurements {
    max-height: 90%;
}

.form-measurements input {
    width: 70%;
}

input.measurement {
    margin-top: 5%;
}

.container-inputs {
    display: flex;
    flex-wrap: wrap;
}

.top-navigation {
    margin: 0;
    border: none;
    width: 100%;
    display: flex;
}

.homebutton {
    background-color: var(--secondary-light-one);
    color: var(--primary-light-one);
    border-bottom-right-radius: 8px;
    font-weight: bold;
    padding: 16px;
    width: 20%;
}

.language-switcher {
    background-color: var(--secondary-light-one);
    color: var(--primary-light-one);
    padding: 16px;
    border-bottom-left-radius: 8px;
    border: none;
    font-weight: bold;
    width: 15%;
    margin-left: auto;
}


.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: var(--primary-dark-one);
    color: #ffffff;
    text-align: center;
    padding: 10px;
    border-radius: 5px;

    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

select, option {
    background-color: var(--primary-light-one);
    border-radius: 0.2rem;
    border: none;
    color: var(--text-one);
    width: 100%;
}