html {
    scroll-behavior: smooth;
    width: 100%;
    font-size: 16px;
}

.logo {
    width: 400px;
    padding-left: 35px;
    padding-top: 20px;
}

@media (max-width: 1000px) {
    .logo {
        display: flex;
        padding-left: 0px;
        margin-left: auto;
        margin-right: auto;
        width: 80%;
    }
}

body {
    Font-family: Consolas, monaco, monospace;
    background-color: white;
    color: black;
}

ul {
    list-style: none;
}

nav a {
    font-size: 18px;
    font-weight: 100;
    color: inherit;
    text-decoration: inherit;
}

@media (max-width: 1000px) {
    nav {
        text-align: center;
    }
    
    nav a {
        /* display: inline-block; */
        font-size: 42px;
        font-weight: bold;
        padding-left: 12px;
        padding-right: 12px;
        /* border-bottom: 2px black solid; */
    }

    ul {
        padding-left: 0px;
    }

    ul li {
        display: inline;
    }
}

nav a:hover {
    color: #ffffff;
    background-color: darkblue;
}

div {
    display: block;
}

.width-wrapper {
    max-width: 85vw;
    padding: 15px;
    margin: auto;
    width: 1250px;
}

.text-wrapper {
    margin-left: auto;
    margin-right: auto;
    width: 70%
}

@media (max-width: 1000px) {
    .text-wrapper {
        font-size: 34px;
    }
}

.gallery-grid {
    /* background-color: bisque; */
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    flex-wrap: wrap;
}

@media (max-width: 1000px) {
    .gallery-grid {
      display: block;
      text-align: center;
    }
}

@media (max-width: 1000px) {
    .gallery-item {
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
}

.item-wrapper {
    /* background-color: aquamarine; */
    padding: 1rem;
}

.item {
    /* background-color: crimson; */
    padding-top: 100%;
    position: relative;
    transition: all 1s ease-out;
    overflow: hidden;
    max-width: 100%;
    min-width: 325px;
}

.item img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
    max-width: 90%;
}

.item-desc {
    color: black;
    text-decoration: none;
    overflow-wrap: break-word;
}

.item-desc p {
    color: black;
    text-decoration: none;
    text-align: center;
}

/* .item-desc p:hover {
    color: #ffffff;
    background-color:darkblue;
} */

@media (max-width: 1000px) {
    .item-desc p{
        font-size: 34px;
    }
}

/*PRODUCT CONTENT*/

.product-content {
    /* background-color: cornflowerblue; */
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.product-images {
    /* background-color: gainsboro; */
    flex-basis: 400px;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 0 2vw;
}

.product-images img {
    width: 600px;
}

@media (max-width: 1000px) {
    .product-images img{
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 900px;
        padding: 25px;
    }
}

.product-description {
    /* background-color: forestgreen; */
    flex-basis: 400px;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 0 2vw;
}

.store-button {
    text-align: center;
}

.size-chart {
    width: 400px;
}

.size-chart, .size-chart-r, .size-chart-d {
    border:1px solid black;
    text-align: center;
  }

.debug-form {
    /* background-color: darkcyan; */
    width: 100%;
}

.debug-sizetable {
    /* background-color: coral; */
    width: 100%;
}

.debug-sizetable select{
    width: 100px;
    padding-left: 10px;
    border: 1px solid black;
    cursor: pointer;
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
    /* box-sizing: border-box; */
}

.debug-button {
    /* background-color: cornflowerblue; */
    padding-top: 10px;
}

.button input[type="image"]{
    width: 100px;
}

.button input[type="submit"]{
    width: 100px;
    cursor: pointer;
    background: rgb(219, 219, 219);
    border: 2px solid rgb(0, 0, 0);
    border-style: outset;
    border-radius: 0;
    color: rgb(0, 0, 0);
    display: block;
    font-weight: bold;
    padding: 3px 0;
    text-align: center;
}

.button input[type="submit"]:hover{
    background-color: rgb(219, 219, 219);
    border: 2px solid rgb(0, 0, 0);
    border-style: inset;
    color: rgb(255, 251, 0);
    transition: 0.3s;
}

@media (max-width: 1000px) {
    .product-description p{
        font-size: 34px;
        text-align: center;
    }
    .size-chart, .size-chart-r, .size-chart-d {
        font-size: 34px;
        padding: 10px;
        margin-left: auto;
        margin-right: auto;
    }
    .debug-form {
        /* background-color: darkcyan; */
        width: 100%;
        padding: 20px;
    }
    .debug-sizetable {
        /* background-color: coral; */
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .debug-sizetable select{
        height: 80px;
        width: 300px;
        padding: 10px;
        border: 1px solid black;
        text-align: center;
        -moz-appearance:none; /* Firefox */
        -webkit-appearance:none; /* Safari and Chrome */
        appearance:none;
    }
    .debug-button {
        /* background-color: cornflowerblue; */
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .debug-button input {
        display: block;
        margin : 0 auto;
    }
    .button form, table, tr, input{
        text-align: center;
    }
    .button {
        padding: 10px;
        display:flex;
        justify-content:center;
        align-items:center;
    }
    .button form{
        font-size: 36px;
        padding: 50px;
    }
    .button select{
        font-size: 32px;
    }
    .button option{
        font-size: 14px;
    }
    .button input[type="image"]{
        width: 250px;
        padding-top: 20px;
    }
    .button input[type="submit"]{
        width: 200px;
        font-size: 35px;
    }
}

/*DRAWING APPLICATION*/

.drawing-wrapper {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin: 10px;
    padding: 10px;
    height: 70vh;
    width: 60vw;  
}

.mobile-message {
    display: none;
}

@media (max-width: 1000px) {
    .drawing-wrapper{
        display: none;
    }
    .mobile-message {
        display: block;
        margin-left: auto;
        margin-right: auto;
        font-size: 32px;
    }
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.clear {
    margin: 5px;
    border: none;
    height: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
}

.save {
    margin: 5px;
    border: none;
    height: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;  
    cursor: pointer;
}

.drawingCanvas {
    overflow: hidden;
}
  
.drawing-form {
    width: 800px;
}

/* COPYRIGHT */

.copyright {
    position: fixed;
    bottom: 14px;
    right: 14px;
}

@media (max-width: 1000px) {
    .copyright {
    font-size: 36px;
}
}

/* SECRET */

.secret {
    position: fixed;
    bottom: 0px;
    right: 200px;
    opacity: 0;
}

.secret img {
    width: 120px;
}

.secret:hover {
    opacity: 1;
    -webkit-transition: all 5s ease-in-out;
    -moz-transition: all 5s ease-in-out;
    -o-transition: all 5s ease-in-out;
    transition: all 5s ease-in-out;
  }

@media (max-width: 1000px) {
    .secret{
        display: none;
    }
}