@font-face {
    font-family: 'Get Schwifty';
    src: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/3089507/get-schwifty.woff') format('woff');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-wrapper {
    display: flex;
}

/*
 *  Main page-grid division
 */

.main-page {
    flex: 3;
    background-color: antiquewhite;
    font-family: "Signika Negative", "Roboto", sans-serif;
}

@keyframes scroll{
    0% {background-position:0 0;}
    50% {background-position:0 100%;}
    100%{background-position:0 0;}
}

.rick-fall-left, .rick-fall-right {
    flex: 1;
    display: none;
    background-position:0 0;
    animation:scroll 30s ease-in-out infinite;
    background-image: url("images/galaxy_bg.jpg");
}

/*
 *  Header styles
 */

header {
    display: flex;
    height: 170px;
    background-color: black;
}

.header-logo {
    display: flex;
    align-items: center;
    font-family: 'Get Schwifty';
    color: greenyellow;
    font-size: 50px;
    flex: 2;
    padding-left: 5px;
}

.header-logo span {
    text-shadow: black 3px 3px;
}

.header-logo img {
    width: 120px;
}

.header-navs {
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding-bottom: 10px;
    padding-right: 3px;
}

.header-navs a {
    color: greenyellow;
    padding-right: 2px;
}

/*
 *  Value prop styles
 */

.value-prop {
    display: flex;
    border: 2px solid black;
    border-radius: 25px;
    margin: 30px;
    padding: 20px;
    background-color: cornflowerblue;
    background-image: url("images/portal_gun_1.png");
    background-size: contain;
    background-repeat: round;
    align-items: center;
}

.value-prop img {
    transform: rotateY(180deg);
    height: 260px;
}

.value-prop-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Amaranth";
}

#order-now {
    transform: scale(0.5);
    cursor: pointer;
}

/*
 *  About styles
 */

.about-gun {
    margin: 10px;
    padding: 10px;
    padding-left: 20px;
    border-top: 2px solid gray;
    border-bottom: 2px solid gray;
}

.about-gun p, .about-gun li {
    padding-top: 20px;
    font-size: 25px;
}

/*
 * Falling Rick styles
 */

@keyframes scroll-mini{
    0% {background-position:0 9356.25%;}
    50% {background-position:0 0;}
    100% {background-position:0 9356.25%;}
}

.greenscreen {
    width: 250px;
    height: 320px;
    position: relative;
    top: -585px;
    left: 0px;
    z-index: 29;
    background-image: url("images/galaxy_bg.jpg");
    animation:scroll-mini 30s ease-in-out infinite;
    background-position:0 0;
    background-repeat: repeat-y;
}

.greenscreen.right {
    transform: translateX(20px);
}

.greenscreen.bottom{
    top: 1070px;
}

.spinning-portal {
    position: relative;
    transform: rotate(90deg) scale(0.5);
    z-index: 30;
    top: 0px;
    left: 30px;
}

.spinning-portal.bottom {
    top: 1340px;
}

.spinning-portal.right {
    transform: rotate(90deg) scale(0.5) translateY(-30px);
}

.falling-rick, .happy-rick {
    position: sticky;
    top: 300px;
}

.happy-rick {
    width: 250px;
    transform: translateX(20px);
}

/*
 *  Pricing styles
 */

.pricing {
    padding: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-image: url("images/galaxy_bg.jpg");
}

.pricing h1 {
    color: cornflowerblue;
}

.pricing img {
    width: 400px;
}

.price-boxes {
    display: flex;
    padding: 30px;
}

.price-boxes ul {
    list-style: none;
}

.item-overview {
    margin: 20px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid black;
    background-color: chartreuse;

    gap: 5px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.item-overview span {
    font-size: 30px;
}

.item-overview p {
    font-size: 13px;
}

.item-overview img {
    width: 130px;
}

.item-overview h3 {
    color: blueviolet;
}

/*
 *  Complaint form styles
 */

.complaint-form {
    display: flex;
    padding: 30px;
    align-items: center;
    background-image: url("images/galaxy_bg.jpg");
}

.complaint-form img {
    flex: 1;
    scale: 0.7;
    max-width: 500px;
}

.complaint-form form {
    flex: 1;
    padding: 15px;
    height: fit-content;
    border-radius: 10px;
    border: 2px solid black;
    background-color: gray;
    max-width: 540px;

    gap: 7px;
    display: flex;
    flex-direction: column;
}

.complaint-form h1 {
    text-align: center;
}

.complaint-form label, .complaint-form input, .complaint-form select {
    padding: 5px;
    font-family: inherit;
}

.complaint-form input, .complaint-form select {
    width: 100%;
    padding: 14px 20px;
    border-radius: 5px;
    border: 1px solid black;
}

.complaint-form input[type=submit]{
    cursor: pointer;
    background-color: chartreuse;
}

#complaint-desc {
    height: 130px;
    padding: 10px;
    font-family: inherit;
    border-radius: 5px;
    border: 1px solid black;
}

/*
 * Happy Portaling styles
 */

 .happy-portaling {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 100px;
    background-image: url("images/galaxy_bg.jpg");
}

.ricksies {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.happy-portaling .portaling-text {
    width: 500px;
    margin-bottom: 80px;
}

.ricksies .left-img, .ricksies .mid-img, .ricksies .right-img {
    width: 100%;
    height: 280px;
}

.ricksies .mid-img {
    height: 320px;
}

/*
 *  Footer styles
 */

footer {
    height: 100px;
    background-color: black;
    color: white;
    padding: 30px;
    text-align: right;
}

/*
 * Media query to enable falling Ricks on larger screens
 */

 @media (min-width: 1300px) {
    .rick-fall-left, .rick-fall-right {
        display: block;
    }
 }

/*
 * Easter-egg styles
 */

 /* psychedelic */
.falling-head {
    width: 100px;
    height: 82.3px;
    position: absolute;
    background: url("images/psychedelic_rick_head.png");
    background-size: 100% 100%;
}