@keyframes slideInFromRight {
    from {
        transform: translateX(+75%);
        opacity: 0;
    }

    20% {
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRightDelay {
    from {
        transform: translateX(+75%);
        opacity: 0;
    }

    30% {
        transform: translateX(+75%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(+15%);
        opacity: 0;
    }

    20% {
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUpDelay {
    from {
        transform: translateY(+20%);
        opacity: 0;
    }

    30% {
        transform: translateY(+20%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUpSelectors {
    from {
        transform: translateY(+40%);
        opacity: 0;
    }

    10% {
        opacity: 0;
    }
    
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUpShop {
    from {
        transform: translateY(+10%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

html {
    scroll-behavior: smooth !important;
}

* {
    transition-behavior: allow-discrete;
}

body {
    background-color: rgb(25, 25, 25);
    font-family: "Montserrat", sans-serif;
    margin: 8px;
    overflow-x: clip;
}

p, ul, ol, dl {
    margin-top: 1em;
    margin-bottom: 1em;
}

main {
    color: white;
}

nav {
    display: flex;
    justify-content: space-between;
}

h2 {
    font-weight: 500;
}

.smallheader {
    font-weight: bold;
    font-size: 1.15em;
    margin-top: 0.5em;
    margin-bottom: 1em;
}

button, a {
    background-color: rgb(35, 35, 35);
    border-radius: 15px;
    border: none;
    cursor: pointer;
    color: rgb(240, 240, 240);
    padding: 8px;
    font-size: medium;
    padding-left: 18px;
    padding-right: 18px;
    transition: background-color 0.25s ease, font-size 0.25s ease;
}

.none {
    background-color: rgb(25 , 25, 25);
    border-radius: 0;
    border: none;
    cursor: pointer;
    padding: 0;
    padding-left: 0;
    padding-right: 0;
}

.none:hover {
    background-color: rgb(25 , 25, 25);
}

.none > img {
    transition: transform 0.1s ease;
}

.none > img:hover {
    transform: scale(105%);
}

a {
    text-decoration: none;
}

button:hover, a:hover {
    background-color: rgb(40,40,40);
}

input {
    background-color: rgb(40, 40, 40);
    border-radius: 15px;
    color: rgb(225, 225, 225);
    cursor: pointer;
    border: solid 1px rgb(70, 70, 70);
    transition: background-color 0.25s ease;
    padding: 12px;
    margin-top: 8px;
}

input:hover {
    background-color: rgb(45, 45, 45);
}

textarea:hover {
    background-color: rgb(45, 45, 45);
}

input:focus {
    background-color: rgb(45, 45, 45);
}

input::placeholder {
    font-style: italic;
}

input[type='checkbox'] {
    appearance: none;
    border-radius: 8px;
    background-color: rgb(20, 20, 20);
    outline: solid 1px rgb(70, 70, 70);
    transition: transform 0.05s ease;
    margin-bottom: 0;
    padding: 12px;
}

input[type='checkbox']:checked {
    background-color: #3670f0;
}

textarea {
    background-color: rgb(40, 40, 40);
    border-radius: 15px;
    color: rgb(225, 225, 225);
    cursor: pointer;
    border: solid 1px rgb(70, 70, 70);
    transition: background-color 0.25s ease;
    padding: 12px;
    margin-top: 8px;
    resize: vertical;
    width: 100%;
    min-height: 80px;
    max-height: 400px;
    height: 50px;
}

.title {
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-style: italic;
    color: white;
    font-size: xx-large;
    display: inline;
    vertical-align: middle;
    margin-top: auto;
    margin-left: 20px;
}

.required::after {
    color: #3670f0;
    content: " *";
}

.checkcontainer {
    display: flex;
    align-items: center;
    width: 50%;
}

.checklabel {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10px;
}

.topselected {
    background-color: rgb(24, 24, 24);
}

.topselected:hover {
    background-color: rgb(25, 25, 25);
}

.subtitle {
    color: gray;
    font-size: small;
    font-style: italic;
}

.headlinelistelement {
    background-color: rgb(30, 30, 30);
    padding: 10px;
    margin: 15px;
    border-radius: 15px;
    width: 98%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.25s ease;
}

.headlinelistelement:hover {
    transform: translateX(-2%);
}

.reviewelement {
    background-color: rgb(30, 30, 30);
    padding: 10px;
    margin: 10px;
    border-radius: 15px;
    width: 98%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    transition: transform 0.25s ease;
}

.reviewelement:hover {
    transform: scale(103%);
}

.accountcontainer {
    width: 33%;
}

.accountcontainer img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 30px;
}

.namecontainer {
    width: 67%;
}

#cart {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-left: 20px;
}

#cartleft {
    width: 70%;
}

.cartitem {
    animation: 1.25s ease-out 0s slideUp;
    display: grid;
    grid-template-columns: 300px 1fr 33%;
    height: 240px;
}

.cartitem p {
    margin-top: 8px;
    margin-bottom: 8px;
}

.cartitemtext{
    margin-left: 30px;
    margin-top: 10px;
}

.cartitemprice {
    margin-left: 30px;
    margin-top: 10px;
}

.unbold {
    font-weight: normal;
}

.cartimg {
    animation: 1.15s ease-out 0s slideUp;
    width: 100%;
    height: 215px;
    max-width: 300px;
    object-fit: cover;
    background-color: rgb(30,30,30);
    align-self: center;
    border-radius: 15px;
    transition: transform 0.2s ease;
    cursor: pointer;
    box-shadow: 10px 15px 20px 0 rgba(0,0,0,0.75);
}

.cartimg:hover {
    transform: scale(102%);
}

#cartinfo {
    animation: 1s ease-out 0s slideInFromRight;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 4em 1em 3em 2.5em 2.5em 1em 2.5em 1em 4em;
    background-color: rgb(30,30,30);
    width: 28%;
    margin: 8px;
    padding: 12px;
    margin-right: 40px;
    border-radius: 15px;
    box-shadow: 10px 30px 80px 0 rgba(0,0,0,0.75);
    transition: transform 0.2s ease;
}

#cartinfo:hover {
    transform: translateX(-2%) rotate(-0.25deg);
}

#cartinfo > * {
    margin-top: 8px;
    margin-bottom: 8px;
}

#cartinfo > h1 {
    grid-column: 1 / 3;
}

#cartinfo > hr {
    grid-column: 1 / 3;
}

#checkout {
    grid-column: 1 / 3;
    padding: 10px;
    background-color: rgb(20,20,20);
}

#checkout:hover {
    font-size: 17px;
    background-color: rgb(25,25,25);
}

.price {
    text-align: right;
}

.thick {
    height: 2px;
    color: gray;
    background-color: gray;
}

#map {
    animation: 2.25s ease-out 0s slideUpDelay;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 20px;
}

#map iframe {
    width: 80%;
    border: rgb(20, 20, 20);
    border-radius: 15px;
    height: 450px;
}

.quote {
    font-size: 15px;
    font-style: italic;
    height: 3.5em;
}

.companynameelement {
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}

.listelementcontainer {
    width: 80%;
    margin: 10px;
    text-align: left;
}

.listelementcontainer p {
    margin-bottom: 0;
}

.listelementcontainer h3 {
    margin-top: 0;
}

.iconcontainer {
    background-color: rgb(50, 50, 50);
    width: 60px;
    height: 60px;
    padding-top: 12.5px;
    border-radius: 15px;
    margin: 15px;
    text-align: center;
    vertical-align: middle;
}

.iconcontainer img {
    width: 60%;
}

#hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px;
}

#hero button {
    margin-right: 15px;
    height: 50px;
}

#herodiv {
    animation: 1s ease-out 0s slideUp;

    width: 45%;
}

#heroimgdiv {
    animation: 1s ease-out 0s slideInFromRight;

    width: 55%;
    transition: left 0.4s ease;
    text-align: right;
}

#heroimg {
    box-shadow: 10px 30px 80px 0 rgba(0,0,0,0.75);
    border-radius: 10px;
    transition: width 0.4s ease, transform 0.4s ease;
    width: 50%;
    cursor: pointer;
}

#heroimg:hover {
    width: 52%;
}

#heroimg2 {
    box-shadow: 10px 30px 80px 0 rgba(0,0,0,0.75);
    border-radius: 10px;
    transition: width 0.4s ease, transform 0.4s ease;
    width: 70%;
    cursor: pointer;
}

#heroimg2:hover {
    width: 72%;
}

#hero button:hover {
    font-size: 17px;
    box-sizing: border-box;
}

#hero a {
    margin-right: 15px;
    height: 50px;
}

#hero a:hover {
    font-size: 17px;
    box-sizing: border-box;
}

#headline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px;
}

#reviews {
    animation: 2s ease-out 0s slideUpDelay;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px;
}

#headlinediv {
    animation: 1.25s ease-out 0s slideUpDelay;

    width: 45%;
}

#headlinelistdiv {
    animation: 1.25s ease-out 0s slideInFromRightDelay;

    width: 55%;
    transition: left 0.4s ease, width 0.25s ease;
    text-align: right;
}

#topbar {
    animation: 1s ease-out 0s slideUpShop;

    text-align: right;
    display: inline;
    right: 0;
}

#topdiv {
    display: inline;
    margin-right: 15px;
    background-color: rgb(35, 35, 35);
    padding: 12px;
    border-radius: 15px;
    padding-right: 0;
    padding-left: 4px;
}

.contact {
    transform: translateX(100%);
    opacity: 0;

    z-index: 200;
    background-color: rgb(20, 20, 20);
    color: rgb(240, 240, 240);
    position: fixed;
    right: 0;
    top: 0;
    padding: 18px;
    padding-left: 40px;
    padding-right: 20px;
    height: 100vh;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease;
}

.contacttop {
    display: flex;
    justify-content: space-between;
}

.contactrow {
    display: flex;
    justify-content: space-between;
}

.contacttop button {
    width: 50px;
    height: 50px;
    padding: 4px;
    border-radius: 40px;
    font-size: x-large;
    margin-top: 0.7em;
}

.contacttop h2 {
    width: 50%;
    font-size: larger;
    display: inline;
}

.contactitem {
    margin: 8px;
}

.contactbutton {
    border: solid 2px rgb(230, 230, 230);
    background-color: rgb(25, 25, 25);
    color: white;
    padding: 10px;
    padding-right: 10px;
    padding-left: 10px;
}

.contactbutton:hover {
    background-color: rgb(35, 35, 35);
}

.cartbutton {
    background-color: rgb(230, 230, 230);
    color: rgb(40, 40, 40);
    padding: 10px;
    padding-right: 10px;
    padding-left: 10px;
    margin-right: 20px;
    cursor: pointer;
}

.cartbutton:hover {
    background-color: white;
}

#email {
    width: 100%;
    margin-right: 8px;
}

footer {
    animation: 2.5s ease-out 0s slideUpDelay;
    text-align: center;
    font-size: small;
    color: gray;
}

footer span {
    margin-left: 20px;
    margin-right: 20px;
}

#footertop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px;
    text-align: left;
    font-size: medium;
    color: white;
}

footer .title {
    margin-left: 0;
}

footer button {
    height: 50px;
}

footer button:hover {
    font-size: 17px;
    box-sizing: border-box;
}

#links {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 20px;
}

.fakelink {
    text-decoration: underline;
    cursor: pointer;
}

#selectors {
    animation: 0.75s ease-out 0s slideUpSelectors;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin-right: 20%;
    margin-left: 20%;
    margin-top: 30px;
    margin-bottom: 10px;
    text-align: center;
    height: 60px;
}

#selectors span {
    vertical-align: top;
    margin-left: 20px;
    margin-right: 20px;
    cursor: pointer;
    transition: font-size 0.2s ease;
}

#selectors span:hover {
    font-size: 18px;
}

.categoryselected {
    text-decoration: underline;
}

.shopcategory {
    animation: 0.5s ease-out 0s slideUpShop;
    
    display: none;
    text-align: center;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 450px 450px;
}

#appliances, #misc {
    grid-template-rows:  450px;
}

.activecategory {
    display: grid;
}

.shopimage {
    box-shadow: 10px 30px 80px 0 rgba(0,0,0,0.75);
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: width 0.25s ease, height 0.25s ease, transform 0.25s ease;
    position: relative;
    cursor: pointer;
}

.shopimage:hover {
    width: 310px;
    height: 310px;
    transform: rotate(2deg);
}

.shopitemname {
    font-size: large;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
}

