@media (max-width: 600px) {

    header.masthead .slidebg .mask {
        background-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 100%) !important;
      }
    
      header.masthead .mask {
        background-image: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.7) 100%) !important;
      }

      #philosophy .container-fluid {
        background-image: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.7) 100%) !important;
      }
    
      header.masthead {
        min-height: 300px !important;
      }
    header.masthead h2.small {
        font-size: 2.2rem;
        margin-bottom: 0;
        margin: 2% !important;
        text-align: center;
    }
    header.masthead p.small {
        font-size: 1.2rem;
        margin-bottom: 0;
        margin: 2% !important;
        text-align: center;
    }
    .display-2 {
        font-size: 2rem;
    }
    #our-products .display-4 {
        font-size: 2.5rem;
    }
    .display-4 {
        font-size: 1.1rem;
        font-weight: 300;
        line-height: 1.2;
    }
    .flex-rectangle {
        height: 30vh;
    }
    #invest .flex-rectangle {
        height: 100%;
        padding-top: 15px;
    }
    .p-5 {
        padding: 1rem !important;
    }

    .pl-5, .px-5 {
        padding-left: 1rem !important;
    }
    .pr-5, .px-5 {
        padding-right: 1rem !important;
    }

    .products .intro {
        background-color: rgba(196, 154, 108, 0.9);
    }
    #block1, #block2, #block3, #block4 {
        margin-left: 0;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    
    .block .black {
        display: block;
        width: 100%;
    height: auto;
    background: #000;
    margin-left: 0px;
    margin-bottom: 0px;
    z-index: 2;
    position: relative;
    }

    .block .block-inner {
        padding: 1rem !important;
    }
    .w-75 {
        width: 100% !important;
    }

  }

    /* iPads (portrait and landscape) ----------- */
    @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
    /* Styles */
    .block .block-inner.w-75 {
        width: 90% !important;
    }

    /*
    #block1 {
        margin-left: 0px;
        margin-top: -150px;
    }
    #block2 {
        margin-top: -30px;
        margin-right: -80px;
        margin-left: 80px;
    }
    */
    }
    

        
    /* Large screens ----------- */
    @media only screen  and (min-width : 2560px) {
        /* Styles 
        #block2 {
            margin-top: -30px;
            margin-right: -270px;
            margin-left: 270px;
        }

        #block4 {
            margin-bottom: -150px;
            margin-left: 460px;
        }
        */
        }
        