﻿/* style for body*/
body {
    margin: 0;
    padding: 0;
    background-color: #EDEDED;
    text-align: center;
}

/* welcome page header*/
#welcome h3{
    text-align: center;
    font-size: 80pt;
    color: #519DD9;
    font-family: heading;
}

/* welcome page buttons */
#welcome button{
    font-family: heading;
    color: #F7C200;
    margin: 20px;
    padding: 10px;
}

#welcome button:hover{
    cursor: pointer;
}
/* welcom page image*/
#welcome img{
    border: none;
    width: 25%;
    position: absolute;
    left: 15px;
    display: none;
}

/* header for add game page*/
#add-game h3{
    text-align: center;
    font-size: 40pt;
    color: #DB0038;
}

/* labels on add game table form*/
#add-game label{
    color: #53BAC1;
    display: inline-block;
    font-family: heading;
    font-size: 20pt;
}

/* align text in add game form*/
#add-game{
    text-align: left;   
    margin-bottom: 50px;
}

/* padding in game form div*/
#game-form{
    padding-left: 10px;
}

/* drop down list*/
#add-game select {
    font-family: body;
    font-size: 20pt;
    color: #519DD9;
    padding: 5px;
    margin-top: 10px;
    align-content: center;
}

#add-game select:hover{
    cursor: pointer;
}

/* input fields*/
#add-game input{
    font-family: body;
    font-size: 20pt;
}

/* image on add game page*/
#add-game img{
    border: none;
    width: 40%;
    height: 80%;
    position: absolute;
    right: 100px;
    top: 170px;
    display: none;
}

/* button to submit form and add game*/
#add-game button{
    position: relative;
    top: 10px;
    color: #F7C200;
    margin-left: 10px;
}

#add-game button:hover{
    cursor: pointer;
}

/* main page header*/
#main-page-header{
    font-family: heading;
    text-align: center;
    font-size: 55pt;
    padding: 4px;
    color: #53BAC1;
    margin-bottom: 10px;
}

/* table element*/
#game-display{
    padding: 10px;
    text-align: center;
    width: 100%;
    height: 100%;
    margin: 0;
}

/* table header*/
#search-by-platform-header{
    font-family: body-bold;
    font-size: 40pt;
    color: #F7C200;
}

/* table labels*/
#search-by-platform-div label{
    font-family: body-bold;
    font-size: 25pt;
    padding-right: 4px;
    color: #DB0038;
}

/* table drop down list*/
#search-by-platform-div select {
    font-family: body;
    font-size: 20pt;
    color: #519DD9;
    padding: 5px;
    margin-top: 10px;
    align-content: center;
}

#search-by-platform-div select:hover {
    cursor: pointer;
}

/* div that displays the games*/
#game-display{
    width: 100%;
    height: 100%;
    margin-top: 150px;
}

/* image styles for smaller screens*/
img{
    width: 100%;
    border: 5px solid #F7C200;
}

/* header styling*/
h3 {
    font-family: body;
    font-size: 30pt;
    color: #519DD9;
    text-align: left;
}

/* paragraph styling*/
p{
    font-family: body;
    color: #53BAC1;
    font-size: 25pt;
    text-align: center;
    margin-top: 100px;
}

/* button to select different platform to search*/
#select-different-platform {
    font-family: heading;
    font-size: 20pt;
    color: #53BAC1;
    background-color: #ffffff;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    border-radius: 8px;
    padding: 5px;
    top: 20px;
}

#select-different-platform:hover{
    cursor: pointer;
}

/* button styling*/
button {
    position: relative;
    bottom: 15px;
    border-radius: 8px;
    font-family: heading;
    font-size: 20pt;
    color: #519DD9;
    background-color: #ffffff;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

#button:hover {
    cursor: pointer;
}

/* button to go back*/
#back-button {
    border-radius: 8px;
    font-family: heading;
    font-size: 20pt;
    color: #519DD9;
    background-color: #ffffff;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

#back-button:hover {
    cursor: pointer;
}

/* button to go back to original search*/
#back-to-search-button{
    font-size: 20pt;
}

#back-to-search-button:hover{
    cursor: pointer;
}

/* div that holds filter buttons*/
#filter-div{
    position: relative;
    top: -70px;
}

/* filter heading*/
#filter-header {
    font-family: body;
    color: #F7C200;
    font-size: 30pt;
    text-align: center;
}

/* price heading*/
#price-header {
    font-family: body;
    color: #F7C200;
    font-size: 30pt;
    text-align: center;
    margin-bottom: 10px;
}

/* text box for price input*/
#price-text-box{
    font-family: body;
    font-size: 20pt;
    text-align: right;
}

/* price label*/
#price-label{
    font-size: 25pt;
}

#back-to-main:hover{
    cursor: pointer;
}

/* back to welcome page button*/
#back-to-main{
    color: #DB0038;
}

#price-label{
    font-family: body-bold;
    font-size: 25pt;
    padding-right: 4px;
    color: #DB0038;
}

/* styling for larger screens*/
@media screen and (min-width: 600px) {
    #game-display{
        display: inline-block;
        text-align: center;
        margin: 0;
        padding: 0;
        height: auto;
        position: relative;
        top: 30px;
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
    }
    #filter-div{
        top: 20px;
        margin-bottom: 100px;
    }
    /*.platform{
        width: 45%;
        height: 720px;
        border: 10px solid blue;
    }

    .platform img{
        width: 100%;
        height: 600px;
        object-fit: cover;
        
    }
    #row{
        width: 100%;
        text-align: center;
    }*/
    

    .paragraph{
        margin-top: 100px;
        position: relative;
    }
    .platform {
        width: 45%;
        height: auto;
        vertical-align: top;
        position: relative;
        float: left;
        margin: 30px;
        margin-bottom: 40px;
        object-fit: fill;
    }
    #selected-platform-header{
        position: relative;
        top: 60px;
        text-align: center;
    }

    #game-display img {
        width: 100%;
        height: 650px;
        vertical-align: top;
        float: left;
        object-fit: fill;
    }
    .genre {
        width: 45%;
        height: auto;
        vertical-align: top;
        position: relative;
        float: left;
        margin: 30px;
        margin-bottom: 40px;
    }
    #more-details-display img{
        width: 50%;
        margin-top: 50px;
    }
    #more-details-display{
        padding: 20px;
    }
    .affordable {
        width: 45%;
        height: auto;
        vertical-align: top;
        position: relative;
        float: left;
        margin: 30px;
        margin-bottom: 40px;
    }
}

/* image styling for larger screens*/
@media screen and ( min-width: 1024px) {
    #welcome img {
        display: block;
        bottom: 0px;
    }
    #add-game img {
        display: block;
        border: none;
        width: 40%;
        height: 80%;
        position: absolute;
        right: 90px;
        top: 170px;
    }
}














@font-face{
    font-family: heading;
    src: url(fonts/SfAtarianSystemExtended-7jDV.ttf);
}
@font-face{
    font-family: body-bold;
    src: url(fonts/SfAtarianSystem-d5LR.ttf);
}
@font-face{
    font-family: "body";
    src: url(fonts/SfAtarianSystemBold-w3rz.ttf);
}