* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    font-family: sans-serif;
}


a {
    text-decoration: none;
}

body {
    /* height: 100vh;
    background-image: url('images/background.png');
    background-repeat: no-repeat; */
    /* background-size: cover; */

    display: block;
    /* justify-content: center;
    align-items: center; */
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #ADD8E6 0%, #9370DB 20%, #1c1c56 100%);
    /* background: linear-gradient(to bottom, #FDB813 0%, #FF6347 50%, #8B4513 100%); */
    /* background-repeat: no-repeat; */
    height: 100vh;
    /* background-size: cover; */
}

.container {

    width: 320px;
    margin: auto;

}

.navbar {
    height: 7vh;
    width: 100%;
    text-align: center;
    padding: 10px;
    margin-top: 5vh;
    margin-bottom: 5vh;
    border-radius: 10px;
    background-color: #000033;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 20px;
    color: white;
}

#textDisplay {
    padding: 20px;
    background-color: #fffbcc;
    box-shadow: 5px 5px #888888;
    border-radius: 5px;
    transition: all .3s ease-in-out;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    margin-bottom: 5vh;
}

button {
    width: 100%;
    padding: 10px;
    margin-bottom: 5vh;
    border-radius: 5px;
    border: none;
    background-color: #000033;
    color: white;
    cursor: pointer;

}

#start {
    background-color: #000033;
}

#start:hover {
    background-color: #ADD8E6;
}

#pick,
#copy {
    animation-name: slideFromBottom;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
}

button:hover {
    background-color: #ADD8E6;

}

.radio {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 5vh;
    animation-name: slideFromRight;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;

}

input[type="radio"] {
    position: absolute;
    opacity: 0;
}

label {
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
}

label:hover {
    background-color: #f2f2f2;
}

label:checked {
    background-color: #000033;
    color: #fff;
}

input[type="radio"]:checked+label {
    background-color: #000033;
    color: #fff;
}

dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    padding: 20px;
    background-color: #000033;
    width: 250px;
    height: 125px;
    text-align: center;
}

dialog p {
    color: white;
}

#closeModal {
    background-color: white;
    color: black;
    bottom: 0;

    margin-top: 30px;

    align-self: center;
}

#closeModal:hover {
    background-color: #ADD8E6;
}




.image-container {
    margin-top: 5vh;
    margin-bottom: 5vh;
    width: 320px;
    height: 320px;
    overflow: hidden;
    /* This will hide any part of the image that is larger than the container */
}

.image-container img {
    width: 100%;
    height: auto;
    /* This will maintain the aspect ratio of the image */
}


@keyframes slideFromRight {
    0% {
        transform: translateX(50%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideFromBottom {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}