@charset "utf-8";

/*

   Styles for the checkout page
   Author: Kyle Snyder
   Date:   12/14/24

   Filename: checkout.css

*/


div#twoSections {
    display: grid;
    grid-template-columns: 2fr 3fr;
    grid-template-areas: "item1 item2";
    width: 70%;
    margin: 0 auto;
}

section:first-of-type {
    grid-area: item1;
}

section:first-of-type {
    margin: 0px auto;
    border: 0px solid red;
    width: 90%;
}

article {
}

table {
    width: 100%;
    margin: 50px 0px;
    border: 5px solid black;
}

table img {
    width: 100px;
    margin: 20px;
}

table caption {
    font-size: 3em;
    font-weight: bold;
}

thead {
    font-size: 1.5em;
}

th:nth-of-type(2) {
    text-align: left;
}

table h4 {
    font-size: 1.2em;
    font-family: "Play Pretend";
    font-weight: lighter;
    line-height: normal;
}

table h5 {
    font-size: 1.5em;
}

table h6, table p {
    font-size: 1.3em;
    margin: 0 0 20px;
}

tr {
    height: 70px;
    line-height: 0px;
}

td > h6,
td > p {
    display: inline-block;
    line-height: 0px;
}

col#itemCol {
    width: 30%;
}

col#detailCol {
    width: 50%;
}


section:nth-of-type(2) {
    width: 90%;
    margin: 20px;
    justify-items: center;
    text-align: center;

}

section:nth-of-type(2) h1 {
    font-size: 3em;
    border: 0px solid red;
}



form {
    margin: 0 auto;
    font-size: 1.5em;
}

form label {
    margin-top: 20px;
}

form div {
    width: 100%;
}

fieldset {
    padding: 20px;
    border: 5px solid black;
    box-shadow: 0px 0px 10px rgb(200, 200, 200);
}

fieldset:first-of-type {
    justify-items: left;
    text-align: left;
}

fieldset:first-of-type div {
    display: grid;

}

fieldset:last-of-type {
    justify-items: left;
    text-align: left;
}

fieldset:last-of-type div {
    display: grid;


}

section:last-of-type {
    margin: 0px 0 0 50px;
}

section:last-of-type h1 {
    margin-bottom: 10px;
    margin-top: 40px;
}


.smallInputs,
#stateSelect {
    width: 50%;
}



select.smallInputs:last-of-type {
    width: 100%;
}

input, select {
    height: 50px;
    border-radius: 5px;
    background-color: black;
    color: yellow;
}

div#radioDiv {
    vertical-align: center;
}

div#radioDiv fieldset label {
    
}

div#radioDiv fieldset input {
    width: 20px;
}

#submit {
    margin: 50px;
    margin-bottom: 0;
    margin-left: 0;
    background: yellow;
    color: black;
    font-family: Grenze;
    font-weight: bold;
    width: 100%;
    font-size: 1em;
}

#submit:hover {
    background-color: rgb(200, 200, 0);
}

#submit:active {
    background-color: purple;
    color: black;
}

@media only screen and (max-width:769px) {
    div#twoSections {
        display: block;
    }

    section:last-of-type {
        margin: 0px 0 0 25px;
    }
}

@media only screen and (max-width:479px) {
    div#twoSections {
        width: 90%;
    }
    nav.navlist ul li{
        font-size: 1.5em;
    }
}