/* Special */

@font-face {
    font-family: 'GoogleSans';
    src: url(Fonts/googlesans.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'StoryScript';
    src: url(Fonts/storyscript.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ShoreBreak';
    src: url(Fonts/shorebreak.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Elements */

input {
    background: lightgray;
    border: 2px solid gray;
    border-radius: 4px;
    margin: 2px;
    font-family: 'GoogleSans', Arial, sans-serif;
}

textarea {
    background-color: lightgray;
    resize: none;
    width: 50%;
    height: 5em;
    border: 2px solid gray;
    border-radius: 4px;
    margin: 2px;
    font-family: 'GoogleSans', Arial, sans-serif;
}

p {
    margin-top: 1px;
    margin-bottom: 1px;
}

ul {
    text-align: right;  
    display: flex;
    flex-direction: column;
    list-style-type: none;
    background: rgb(255, 241, 223);
    border-radius: 2px;
    padding: 4px;
    vertical-align: middle;
    font-size: large;
}

ul * {
    margin-right: 10px;
    margin-bottom: 10px;
    margin-left: 18px;
    margin-top: 4px;
}

h1 {
    font-size: 30px;
    margin-bottom: 8px;
}

h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

h3 {
    font-size: 18.75px;
    margin-bottom: 8px;
}

a {
    transition: color 0.3s;
}

a:hover {
    color: goldenrod;
}

b {
    font-weight: bold;
}

ol li {
    margin-bottom: 2px;
}

/* Dividers */

html {
    background-color: rgb(128, 128, 128);
}

body {
    background-color: antiquewhite;
    font-family: 'StoryScript', 'GoogleSans', Arial, sans-serif;
}

main {
    font-family: 'StoryScript', 'GoogleSans', Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

nav {
    background-color: rgb(187, 7, 7);
    padding: 10px;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
} 

section {
    padding: 5px;
}

footer {
    display: flex;
    background-color: rgb(128, 128, 128);
    justify-content: space-around;
    text-align: center;
    align-items: center;
    font-family: 'StoryScript', 'GoogleSans', Arial, sans-serif;
}

footer div {
    padding: 15px;
    margin: 15px;
}

/* Classes */

.headerimage {
    width: 90%;
}

.header3 {
    font-size: 18.75px;
    margin-bottom: 8px;
}

.center {
    text-align: center;
}

.header {
    margin-bottom: 5px;
    margin-top: 10px;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
}

label:has(+ input:required)::after {
    color: darkred;
    content: "*";
}

.contact {
    border-top: 2px solid black;
    margin-top: 0;
    padding: 8px;
    background-color: darkgray;
    text-align: center;
}

.burger {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    justify-content: right;
    font-family: 'GoogleSans', sans-serif;
}

.burger li {
    transition: color 0.3s;
}

.burger li:hover {
    color: goldenrod;
}

.column {
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    flex-direction: row;
}

.material-symbols-outlined {
    vertical-align: bottom;
}

.phone {
    background-color:rgb(187, 7, 7);
    border-radius: 4px;
    border: solid 4px rgb(150, 5, 5);
}

.headerdiv {
    text-align: center;
}

.headerdiv img {
    text-align: center;
    border-radius: 4px;
}

.headerdiv p {
    margin-bottom: 8px;
}

.pizzamenu {
    margin-top: 4px;
    margin-bottom: 4px;
    display: none;
    text-align: center;
}

.pizzamenu.activemenu {
    display: block;
}

.menuselector {
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s;
}

.menuselector.active {
    text-decoration: underline;
}

.menuselector:hover {
    color: goldenrod;
}

.line {
    border-bottom: 2px solid black;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 10px;
    text-align: center;
}

.menuflex {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.menuitem {
    width: 40vw;
    border: 2px solid black;
    border-radius: 4px;
    padding: 4px;
}

.menuimage {
    width: 40vw;
    margin-bottom: 4px;
    border-radius: 4px;
}

/* IDs */

#toppings {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

#toppings * {
    text-align: center;
    background: none;
}

#switch {
    display: flex;
    justify-content: space-around;
    margin: 20px;
}

#hours {
    text-align: center;
    border-radius: 0;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-evenly;    
}

#hours > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#hours div > div {
    border: 2px solid black;
    padding: 8px;
    width: fit-content;
    margin-bottom: 4px;
}

#ham {
    cursor: pointer;
    float: right;
    transition: color 0.3s;
}

#ham:hover {
    color: goldenrod;
}

#navtitle {
    font-family: 'ShoreBreak', Impact, sans-serif;
    font-weight: bold;
    color: goldenrod;
    font-size: 30px;
}

#close {
    margin-right: 0;
}

#pocatellopizza {
    width: 60%;
}

#map {
    width: 100%;
    height: 500px;

}