/* Font options */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    margin: 0;
    height: 100%;
    background-color: rgb(14, 14, 14);
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
}

/* Center the toggle container */
.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5vh; /* Set the height to 100% of the viewport height */
}

/* Switch styles */
.switch {
    position: relative;
    display: inline-block;
    width: 80px; /* Increase the width */
    height: 44px; /* Increase the height */
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 34px; /* Increase the height */
    width: 34px; /* Increase the width */
    left: 5px; /* Adjust the left position */
    bottom: 5px; /* Adjust the bottom position */
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(36px); /* Adjust the translation value */
    -ms-transform: translateX(36px);
    transform: translateX(36px);
}

/* Image container styles */
#imageContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh; /* Adjust the height as needed */
}

#randomImage {
    display: block;
    -webkit-user-select: none;
    margin: auto;
    background-color: hsl(0, 0%, 0%);
    transition: background-color 300ms;
}

/* Toggle option text styles */
.toggle-container label:first-of-type {
    /* font-family: 'Arial', sans-serif; Change the font family */
    font-size: 18px; /* Change the font size */
    color: #ffffff; /* Change the font color */
    margin-right: 10px; /* Add some space between the text and toggle */
}

/* Refresh button styles */
.refresh-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#refreshButton {
    padding: 10px 5px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#refreshButton:hover {
    background-color: #45a049;
}


/* Generate button styles */
.generate-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#generateLink {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #008CBA;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
}

#generateLink:hover {
    background-color: #0077B6;
}


/* Generate.html styles */

/* Image container styles */
#imageContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

#displayImage {
    display: block;
    -webkit-user-select: none;
    margin: auto;
    background-color: hsl(0, 0%, 0%);
    transition: background-color 300ms;
}