@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

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

body {
    margin: 0;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #e0eafc, #cfdef3);
    font-family: 'Roboto', sans-serif;
    border: 1px solid black;
}

.container {
    text-align: center;
    min-height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0 auto;
    padding: 0;
}

nav a {
    color: #000;
    text-decoration: none;
    font-size: .75rem;
}
nav a:hover{
    color: #00f;
}
nav a:visited {
    color: #000;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 2vw;
    box-sizing: border-box;
}

nav ul {
    list-style-type: none;
    padding: 0 0.5em;
    margin: 0;
}

nav li {
    display: inline;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: center;
}

h4 {
    font-size: .75rem;
    margin-bottom: 20px;
}

.media-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 2vh 0 2vh 0;
}

#bird-image {
    max-height: 65vh;
    max-width: 80vw;
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 1;
}

.sound-button {
    background-color: transparent;
    border: none;
    font-size: 2.5em;
    cursor: pointer;
    margin-left: 2vw;
    margin-bottom: 0;
    align-self: center;
    transition: background 0.2s;
}

.sound-button:focus {
    outline: none;
}

.sound-button.active {
    background-color: #d1ecff;
    border-radius: 50%;
}


#next-button {
    margin-top: 2em;
    margin-bottom: 2em;
    padding: 10px 20px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#choices-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.choices {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 20px;
}

#choice {
    margin: 5px;
    padding: 30px 20px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#choice:hover {
    background-color: #2980b9;
}

.modal {
    display: flex;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    padding: 2em 3em;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    text-align: center;
}

.mode-btn {
    margin: 1em;
    padding: 1em 2em;
    font-size: 1.1em;
    border: none;
    border-radius: 5px;
    background: #3498db;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.mode-btn:hover {
    background: #217dbb;
}

