body {
    color: #fff;
    background-color: #000;
    font-family:'Courier New', Courier, monospace;
}


.title {
    text-align: center;
    font-size: 64px;
    padding-left: 20vw;
    padding-right: 20vw;
}

@media (max-width: 900px) {
    .title {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .title {
        font-size: 24px;
    }
}

.control-button {
    position: absolute;
    top: 48px;
    right: 24px;
    background-color: #333;
    border: 3px solid #fff;
    border-radius: 10px;
    font-size: 24px;
    text-decoration: none;
    color: #fff;
    padding: 10px;
}

@media (max-width: 900px) {
    .control-button {
        top: 12px;
        right: 12px;
        font-size: 16px;
    }
}

footer {
    text-align: center;
    font-size: 16px;
    padding-top: 16px;
    padding-bottom: 8px;
}

footer a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

/* MAIN PAGE */

.gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.gallery img {
    margin: 10px;
    padding: 10px;
    width: 800px;
    height: auto;
    background-color: #333;
    border: 5px solid #fff;
    border-radius: 32px;
}

@media (max-width: 900px) {
    .gallery img {
        width: 90vw;
    }
}

@media (max-width: 600px) {
    .gallery img {
        width: 85vw;
    }
}

.update-time {
    text-align: center;
    font-size: 16px;
}

@media (max-width: 900px) {
    .update-time {
        font-size: 12px;
    }
}

/* HELP PAGE */

.text {
    padding-left: 15vw;
    padding-right: 15vw;
    font-size: 20px;
}

.text h2 {
    font-size: 40px;
}

.text h3 {
    font-size: 30px;
}

@media (max-width: 600px) {
    .text {
        padding-left: 5vw;
        padding-right: 5vw;
        font-size: 16px;
    }

    .text h2 {
        font-size: 24px;
    }

    .text h3 {
        font-size: 20px;
    }
}

/* STOCK BOT */

.stock-bot {
    text-align: center;
}

.stock-bot img {
    max-width: 90vw;
}

@media (max-width: 600px) {
    .stock-bot h1 {
        font-size: 16px;
    }
}

.portfolio {
    max-width: 500px;
    width: 100%;
    margin: auto;
    padding: 10px;
}

.log {
    max-width: 600px;
    text-align: left;
    margin: auto;
    margin-top: 20px;
    padding: 20px;
    background-color: #111;
    border: 5px solid #fff;
    border-radius: 32px;
}

.log h3 {
    padding: auto;
    margin: auto;
}

.log p {
    padding: auto;
    margin: auto;
}

@media (max-width: 600px) {
    .log p {
        font-size: 12px;
    }
}

.swipe-element {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;     /* Firefox */
    -ms-user-select: none;      /* Edge */
    -webkit-user-drag: none;

    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.swipe-element.hide {
    opacity: 0;
    transform: translateX(100%);
}

#popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px #000;
    display: none;
    flex-direction: column;
    z-index: 1000;
    font-weight: bold;
    text-align: center;
}

#popup button {
    background-color: #069;
    color: #fff;
    border: none;
    padding: 5px 10px;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 3px;
}

#popup button:hover {
    background-color: #06F;
}
