/* Global styles */

body {
    background-color: #000000;
    color: #ffffff;
    font-family: Arial, sans-serif;
    padding: 40px;
}

a {
    color: #207960;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3 {
    margin-top: 0;
}
* {
    box-sizing: border-box;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue",  Arial, sans-serif;
    margin: auto;
}

.bg-image {
    position: absolute;
    bottom: -88%;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 165px 0 124px;
    width: 100%;
    margin: auto;
    border: #fbab40;
    height: 100vh;
    background-color: #242628;
    background-image: url("imgs/background.png");
    background-repeat: repeat;
    background-position-x: center;
    background-position-y: 70px;
    background-origin: padding-box;
}
/* Header */

.header {
    background-color: #000000;
    background-image: url("imgs/banner_dim.png");
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    padding: 20px;
}

.header h1 {
    font-size: 72px;
    margin: 0;
}

.header p {
    font-size: 18px;
    margin: 0;
    border-bottom-color: #207960;
    border-bottom-width: thick;
}

/* Navigation */

.navbar {
    display: flex;
    justify-content: space-between;
    background-color: #000000;
    padding: 10px 20px;
}

.navbar ul {
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar li {
    list-style: none;
    margin: 0 10px;
}

.navbar a {
    font-size: 18px;
}

/* visuals */
#screenshot {
    height:200px;
    width:auto;
    float:left;
    float-wrap: wrap;
    margin-right:10px;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 3px;
}

#ytclip {
    height:400px;
    width:auto;
    float:right;
    float-wrap: wrap;
    margin-left:10px;
    margin-top: 60px;
    margin-bottom: 15px;
    margin-right: 15px;
    align-self: center;
    /*display: flex;*/
    /*height: 500px;*/
    /*margin-left:auto;*/
    /*margin-right:auto;*/
    /*width:400px;*/

}

/* Hero section */

.hero {
    display: grid;
    justify-content: space-between;
    align-items: center;
    margin: 50px 0;
}

.hero h2 {
    font-size: 36px;
    margin: 0;
    margin-bottom: 15px;
}

.hero p {
    font-size: 24px;
    margin: 0;
}

.hero img {
    width: auto;
    height: 150px;
    flow: left;
    margin:10px;
    vertical-align: text-top;
}

/* About section */

.about {
    display: grid;
    margin: 50px 0;
}

.about h2 {
    font-size: 36px;
    margin: 0 0 20px;
}

.about p {
    font-size: 18px;
    line-height: 1.5;
}

.about iframe {
    width: 100%;
    height: 500px;
}

/* Gameplay section */

.gameplay {
    margin: 50px 0;
}

.gameplay h2 {

    font-size: 36px;
    margin: 0 0 20px;
    display: block;
}

.gameplay p {
    display: flex;
    font-size: 18px;
    line-height: 1.5;
}


/* Download section */

.download {
    width:550px;
    margin-left:auto;
    margin-right:auto;
    padding:20px;
    background-color: #500106;
}

.download h2 {
    font-size: 36px;
    margin: 0 0 20px;
}

.download a {
    display: block;
    margin: 20px 0;
    font-size: 24px;
    color: aquamarine;
}

.download img {
    width:30px;
    height:auto;
    margin:8px;
    float: left;
}

.download #google {
    width:80px;
    height:auto;
    margin:8px;
    float: none;
    vertical-align:bottom;
}

.download #qrcode {
    float: right;
    float-wrap: wrap;
    width:110px;
    height:110px;
    margin-right: 5px;
    margin-left: 20px;
}
/* Contact section */

.contact {
    margin: 50px 0;
}

.contact h2 {
    font-size: 36px;
    margin: 0 0 20px;
}

.contact p {
    font-size: 18px;
    line-height: 1.5;
}

.contact form {
    display: flex;
    flex-direction: column;
}

.contact input, .contact textarea {
    margin-bottom: 10px;
    padding: 10px;
    font-size: 18px;
    border: 2px solid #207960;
    background-color: #000000;
    color: #ffffff;
}

.contact input:focus, .contact textarea:focus {
    outline: none;
    border-color: #ff00ff;
}

.contact input[type="submit"] {
    background-color: #207960;
    color: #000000;
    border:2px solid #207960;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.contact input[type="submit"]:hover {
    background-color: #000000;
    color: #207960;
}

/* Footer */

.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

.footer p {
    font-size: 18px;
    margin: 0;
}

.footer a {
    color: #207960;
}

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

.pp {
    display: grid;
    width:50%;
    margin-left: auto;
    margin-right: auto;
}
