html {
    background-color: #FFFFFF;
    text-align: center;
    margin-top: 20px;
}

.section {
    display: block;
    margin: 5px auto;
    border-style: solid;
    border-width: 3px;
    border-color: black;
    border-radius: 40px;
    background-color: #EEE;
    max-width: 70%;
    padding: 20px;
}

header {
    background-color: #006699;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 50px 50px 0px 0px;
}

header h1 {
    margin: auto;
    text-align: center;
    cursor: pointer;
}

.container {
    display:inline-block;
    z-index: 1;
    position: relative;
    width: 100%;
    margin: auto;
    background-color: #fff;
}

#location {
    display: block;
    text-align: center;
    color: #006699;
    margin-top: 15px;
    margin-top: 30px;
}

h3 {
    text-align: center;
    margin-top: 10px;
}

p {
    display: block;
    line-height: 1.5;
    margin: 7%, 0%;
    text-align: center;
}

p.caption {
    margin: 10;
    text-align: center;
}

ul {
    padding-left: 0;
    list-style: none;
    text-align: left;
    display: inline-block;
}

ul li {
    display: list-item;
    text-align: left;
    margin-left: 20px;
}

ul li::before {
    content: "• ";
    color: black;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
  }

.link {
    text-decoration-color: blue;
    text-decoration: underline;
}

.link:hover {
    text-decoration-color: darkblue;
}

#buttonHolder {
    text-align: center;
}

#button {
    border-style: solid;
    border-width: 2px;
    border-radius: 6px;
}

#topBtn {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 20px; /* Place the button at the bottom right of the page */
    right: 20px;
    z-index: 99; /* Make sure it does not overlap */
    border: none;
    outline: none;
    background-color: #006699;
    color: white;
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; 
    border-radius: 10px;
    font-size: 18px;
}

#topBtn:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}

img {
    display: block;
    object-fit: contain;
    border-radius: 15px;
    margin-left: auto;
    margin-right: auto;
}

.media { 
    width: 70%;
    height: 70%; 
    object-fit: contain;
    border-radius: 15px;
}

.small-media { 
    width: 40%;
    height: 25%; 
    object-fit: contain;
    border-radius: 15px;
}

.internal-link {
    padding: 10px;
    background-color: #006699;
    color: white;
    text-decoration: none;
    border-color: black;
    border-style: solid;
    border-width: 2px;
    border-radius: 5px;
    transition: all .2s ease-in-out;
  }

  .internal-link:hover {
    transform: scale(1.1);
    background-color: #004477;
  }

iframe { 
    aspect-ratio: 2/1;
    width: 100%; 
    object-fit: contain;
    border-radius: 15px;
    overflow: scroll;
}

.code {
    aspect-ratio: 3/2;
}

.game {
    height: 325px;
    width: auto;
    display: inline;
    margin: 2.5px;
}


model-viewer{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    margin-bottom: 25px;
    width: 90%;
    height: 400px;
    background-color: #006699;
    border-radius: 40px;
}

.models a{
    display: block;
    color: #006699;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    text-decoration: none;
    width: fit-content;
}

.models a:hover{
    text-decoration: underline;
}


@media (max-width: 600px) {
    .section {
        max-width: 95%;
    }
    
    p {
        padding-left: 5%;
        padding-right: 5%;
    }

    .game {
        height: 180px;
    }

    .media { 
        width: 90%;
    }

    .small-media { 
        width: 80%;
    }

    model-viewer{
        width: 100%;
        height: 200px;
    }
}