header {
    font-size: xxx-large;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 3px darkgray;
    margin-top: 10px;
    position: sticky;
    top: 0;
}

body {
    margin: 0px;
    padding: 0px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: gainsboro;
}

ul {
    list-style-type: none;
    list-style: none;
    box-shadow: 0px 0px 3px gray;
    background-image: linear-gradient(deepskyblue, dodgerblue);
    padding: 2px;
    text-align: center;
    top: 0;
    transition: 1s;
}

li {
    display: inline-block;
    padding: 3px;
    transition: 1s;
}

li a {
    color: black;
    text-decoration: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: bolder;
    font-size: large;
    text-shadow: 1px 1px 4px grey;
    transition: 1s;
}

li a:hover {
    text-shadow: 1px 1px 4px black;
    box-shadow: 1px 1px 4px gray;
    background-image: linear-gradient(skyblue, steelblue);
    padding: 5px;
    transition: 0.5s;
    color: rgba(127, 255, 212, 0.856);
}

li a:active {
    text-shadow: 1px 1px 5px black;
    box-shadow: 1px 1px 5px gray;
    background-image: linear-gradient(skyblue, steelblue);
    padding: 7px;
    transition: 0.1s;
    color: rgba(127, 255, 212, 0.856);
}

.footer {
    background-image: linear-gradient(darkgray, rgb(100, 100, 100));
    bottom: 0;
    width: 100%;
    text-align: center;
    position: fixed;
    font-weight: bold;
    padding: 2px;
}

.preview {
    margin: 15px;
    width: 7%;
    height: auto;
    box-shadow: 0px 0px 1px gray;
    border-radius: 8px;
}

.title {
    font-size: x-large;
    font-weight: bold;
    text-shadow: 1px 1px 2px gray;
}

.paragraph {
    margin: 0px;
    padding: 0px;
    font-size: large;
    font-weight: 500;
    margin-right: 15px;
    margin-left: 15px;
}

.main {
    display: flex;
    align-items: center;
    margin: 20px;
}

.text-content {

    flex-direction: column;
    margin-left: 20px;
    top: auto;
    margin: 0 auto;
}

.guide {
    text-align: center;
    clear: both;
    font-size: large;
    font-weight: 500;
}

.guide a {
    color: black;
    font-weight: 700;
    text-decoration: none;
    transition: 0.8s;
    display: inline-block;
}

.guide a:hover {
    color: steelblue;
    transition: 0.5s;
    text-shadow: 1px 1px 2px gray;
    font-size: larger;
}

@media only screen and (max-width: 600px) {
    .preview {
        width: 45%;
    }
    
    .main {
        flex-direction: column;
        align-items: flex-start;
    }

    .text-content {
        margin-left: 0;
    }

    .column, input[type=submit] {
        width: 100%;
        margin-top: 0;
      }
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        width: 95%;
    }

    .main {
        align-items: flex-start;
    }
    li a:hover, li a:active{
        transition: 0.05s;
    }
}

.shoptitle {
    text-align: center;
    font-size: xx-large;
    text-shadow: 1px 2px 3px gray;
    font-weight: 700;
}

.mainshop {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.items {
    background-color: rgb(241, 241, 241);
    width: 300px;
    height: 495px;
    margin: 30px;
    box-shadow: 1px 0px 5px gray;
    border-radius: 8px;
    font-weight: 600;
    transition: 1s;
}

.items:hover{
    box-shadow: 1px 0px 10px rgb(172, 172, 172);
    background-color: rgb(117, 117, 117);
    transition: 0.5s;
}

.gallery {
    width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 1px 1px gray;
    border-style: none, none, solid, none;
}

.shoptitle {
    font-weight: 700;
    font-size: larger;
    padding-left: 15px;
    margin-left: 0px;
    text-align: center;
}

.shoptext {
    margin: 0px;
    padding-left: 15px;
}

.shopprice {
    padding-left: 15px;
}

.addcart, .info {
    background-image: linear-gradient(deepskyblue, dodgerblue);
    border-radius: 6px;
    border-width: 2px;
    float: right;
    margin: 15px;
}

.addcart:active {
    background-image: linear-gradient(dodgerblue, deepskyblue);
}

#info-popout-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#info-popout-container #info-popout-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px #000;
    max-width: 600px;
    max-height: 80%;
    overflow-y: auto;
}

#close-info-popout {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.container h2{
    text-align: center;
    text-shadow: 1px 1px 2px gray;
}
.container{
    text-align: center;
}

.container{
    box-sizing: border-box;
    font-weight: 600;
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 10px           ;
    width: 60%;
    margin: 0 auto;
    align-items: center;
    margin-bottom: 20px;
    transition: 5s;
}
.contactimage{
    width: 100%;
    height: auto;
    float: left;
    border-radius: 8px;
    box-shadow: 1px 1px 3px gray;
    margin-bottom: 10px;
}

.column{
    float: left;
    width: 50%;
    margin-top: 6px;
    padding: 20px;
}

.row::after{
    content: "";
    display: table;
    clear: both;
}

input[type=text],
select,
textarea{
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    font-weight: 500;
    border-radius: 8px;
}

input[type=submit]{
    background-image: linear-gradient(deepskyblue,dodgerblue);
    transition: 2s;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 10px;
    border-width: 2PX;
    box-shadow: 1px 1px 1px gray;
    padding: 2px;
    border-radius: 6px;
}

input[type=submit]:hover{
    background-image: linear-gradient(skyblue, steelblue);
    box-shadow: 1px 1px 8px gray;
    transition: 0.6s;
    padding: 4px;
}

#toggleForm {
    background-image: linear-gradient(deepskyblue, dodgerblue);
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    padding: 2px;
    border-width: 2px;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.6s;
    box-shadow: 1px 1px 1px gray;
}

#toggleForm:hover {
    background-image: linear-gradient(skyblue, steelblue);
    box-shadow: 1px 1px 8px gray;
    padding: 4px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 20px auto;
    width: 80%;
    justify-items: center;
}

.gallery-item {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 1px 3px gray;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
}

#popout-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#popout-container img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 10px #fff;
}

#close-popout {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

