html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.home-hero-head h1 {
    font-size: 50px;
}

.home-hero-head {
    margin-top: 50px;
    text-align: center;
}

.home-hero-app-icon {
    height: 150px;
    width: auto;
}

.home-hero-app-name {
    margin-top: 25px;
    margin-bottom: 25px;
    font-size: 48px;
}

.home-hero-app-description {
    max-width: 65%;
    margin: 0 auto;
    margin-top: 15px;
}

.home-hero-app-description span {
    display: block;
}

.home-hero-actions {
    margin-top: 50px;
    text-align: center;
    margin-right: 10px;
}

.home-hero-actions a p {
    display: inline;
    margin-left: 20px;

    color: rgba(2, 111, 201, 1);
    font-weight: bold;
    margin-bottom: 0px;
    font-size: 22px;
}

.home-hero-actions a p {
    display: inline-block;
    text-align: center;
    margin-left: 20px;
}

.hero-action-img {
    color: rgba(2, 111, 201, 1);
    height: 1.0em;
    width: 1.0em;

    margin-top: -2px;
    margin-left: 3px;
}

.home-hero-image-holder {
    position: relative;
    margin-top: 50px;
    padding-bottom: 60%;
    width: 100%;
    overflow: hidden;
}

.home-hero-image {
    position: absolute;
    width: 120%;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    /* transition: top 1s ease 0s; */
}

.home-hero-app-subdescription {
    margin: 0 auto;
    margin-top: 150px;
    margin-bottom: 250px;
}

.home-hero-app-subdescription span {
    display: block;
}

.features {
    background-color: black;
    color: white;
    text-align: left;
    padding-top: 25px;
    padding-bottom: 25px;
}

.features-header {
    margin-top: 50px;
    padding-left: 20%;
    padding-right: 20%;
}

.features-header h2 {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    padding-right: 40%;
}

.features-icons {
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-column-gap: 5em;
    width: 70%;
}

.features-icons .icon {
    text-align: center;
}

.features-icons .icon img {
    height: 80px;
    filter: invert(54%) sepia(0%) saturate(0%) hue-rotate(75deg) brightness(100%) contrast(92%);
}

.features-icons .icon h4 {
    margin-top: 10px;
    font-size: 24px;
    color: #888888;
}

.features-icons .selected h4 {
    color: #0091FF!important;
}

.features-icons .selected img {
    filter: invert(35%) sepia(84%) saturate(2156%) hue-rotate(189deg) brightness(106%) contrast(104%);
}

.feature-info .screenshot {
    max-height: 900px;
}

.feature-info {
    margin-left: 50px;
    display: flex;
    flex: 1;
    width: 50%;
}

.feature-info ul {
    list-style: none;
}

/* recipes features */

.recipes-feature-1, .recipes-feature-3 {
    margin-left: 150px;
}

.recipes-feature-1 ul, .recipes-feature-3 ul {
    margin-top: 150px;
}

.recipes-feature-1 .feature-detail, .recipes-feature-3 .feature-detail {
    margin-left: 30px;
}

.recipes-feature-2 {
    margin-top: 80px;
}

.recipes-feature-2 .screenshot {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.recipes-feature-2 ul {
    list-style: none;
    display: block;
    margin: 0 auto;
    width: 25%;
}

.recipes-feature-2 .feature-detail p {
    width: auto;
}

/* Ingredient features */

.ingredient-feature-1 {
    margin-left: 150px;
}

.ingredient-feature-1 ul{
    margin-top: 150px;
}

.ingredient-feature-1 .feature-detail {
    margin-left: 30px;
}

/* Cart features */

.cart-feature-1 {
    margin-top: 80px;
}

.cart-feature-1 .screenshot {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.cart-feature-1 ul {
    list-style: none;
    display: block;
    margin: 0 auto;
    margin-top: -40px;
    width: 30%;
}

.cart-feature-1 .feature-detail p {
    width: auto;
}

/* Idea features */

.idea-feature-1 {
    margin-left: 150px;
}

.idea-feature-1 ul{
    margin-top: 150px;
}

.idea-feature-1 .feature-detail {
    margin-left: 30px;
}

.idea-feature-1 .feature-detail:last-child p {
    width: 100%;
}

/* Scroll animation */

.scroll-animated {
    opacity: 0;
    transform: translate(0, 20px);
    transition: all 1s;
}

.scroll-animated.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Feature Detail */

.feature-detail {
    margin-top: 50px;
}

.feature-detail img {
    height: 50px;
    width: 50px;
    margin-bottom: 10px;
}

.feature-detail h4 {
    margin-bottom: 0px;
    font-size: 42px;
}

.feature-detail p {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    width: 90%;
    line-height: 1.0;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 50%; /* Could be more or less, depending on screen size */
  color: black;
  text-align: left;
}

.modal-content p {
    font-size: 16px;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  width: 10%;

  margin-left: auto;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 1800px) {
    .feature-info {
        width: 70%;
    }
    .feature-detail p {
        max-width: 100%;
    }
    .recipes-feature-2 ul, .cart-feature-1 ul {
        width: 50%;
        margin-bottom: 50px;
    }
    .features-header h2 {
        padding-right: 0px;
    }
}

@media (max-width: 1300px) {
    .feature-info .screenshot {
        max-height: 600px;
    }

    .recipes-feature-1 ul,
    .recipes-feature-3 ul,
    .ingredient-feature-1 ul,
    .idea-feature-1 ul {
        margin-top: 40px;
    }

    .features-icons .icon img {
        height: 45px;
        width: 45px;
    }

    .features-icons .icon h4 {
        font-size: 22px;
    }
}

@media (max-width: 1000px) {
    .home-hero-app-description {
        max-width: 90%;
    }

    .feature-info {
        width: 95%;
        margin-left: 30px;
    }

    .recipes-feature-2 ul,
    .cart-feature-1 ul {
        width: 90%;
    }

    .recipes-feature-2 .screenshot,
    .cart-feature-1 .screenshot {
        width: 90%;
    }

    .features-icons {
        width: 100%;
    }

    .home-hero-image {
        width: 150%;
    }

    .features-header h2 {
        font-size: 24px;
    }
}

@media (max-width: 700px) {
    .recipes-feature-1 ul,
    .recipes-feature-3 ul,
    .ingredient-feature-1 ul,
    .idea-feature-1 ul {
        margin-top: 20px;
        padding-left: 0px;
    }

    .feature-detail h4 {
        font-size: 22px;
    }

    .feature-detail p {
        font-size: 22px;
    }
}

@media (max-width: 650px) {
    .feature-info {
        margin-left: 0px;
        display: block;
        flex: 1;
        width: 100%;
    }

    .feature-info .screenshot {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .recipes-feature-2 ul, .cart-feature-1 ul {
        margin-left: 0px;
    }
}

@media (max-width: 600px) {
    .home-hero-app-name {
        font-size: 24px;
    }

    .home-hero-app-description {
        font-size: 24px!important;
    }

    .home-hero-actions {
        margin-top: 10px;
    }

    .home-hero-actions {
        padding: 25px;
    }

    .home-hero-actions a p {
        font-size: 16px;
    }

    .home-hero-image {
        width: 200%!important;
    }

    .home-hero-image-holder {
        padding-bottom: 90%;
    }

    .features-icons {
        grid-column-gap: 0;
    }
}

@media (max-width: 500px) {
    .home-hero-image {
        width: 180%;
    }

    .features-icons .icon img {
        height: 24px;
        width: 24px;
    }

    .features-icons .icon h4 {
        font-size: 15px;
    }
}

@media (max-width: 375px) {
    .feature-info .screenshot {
        max-height: 500px;
    }
}

@media (max-width: 350px) {
    .features-header h2 {
        font-size: 16px;
    }

    .features-header h4 {
        font-size: 12px;
    }

    .features-icons .icon h4 {
        font-size: 14px;
    }

    .idea-feature-1 ul {
        width: 90%;
    }
}
