/*  Midsize */
@media only screen and (max-width: 960px)
{
    #feature1, #feature2, #feature3, #feature4
    {
        width:69vw;
        height: 27% !important;
    }
    #feature2, #feature4
    {
        margin-top:25% !important;
    }
    #topSection
    {
        height:91vw !important;

    }
    #topText h1
    {
        font-size: 3rem !important;
    }
    #topText p
    {
        font-size: 1.5rem !important;
    }
    #topImage
    {
        height:95% !important;
    }
    #formFrame
    {
        height:50% !important;
        margin-bottom:23%;
    }
}

/* Mobile */
@media only screen and (max-width: 600px)
{
    html, body
    {
        font-size:5vw !important;
    }
    #topSection
    {
        height:172vw !important;
        width:96%;
        flex-direction:column-reverse !important;
        align-items: center !important;
        padding:20px 2% 0 2% !important;
        justify-content: flex-end;
        text-align: center;
    }
    #topText, #topImage
    {
        width:80vw !important;
        display:flex;
        flex-direction: column;
        align-items: center !important;
    }
    #topImage
    {
        height:34% !important;
    }
    #imageView
    {
        display:flex;
        justify-content: center !important;
        align-items: center !important;
    }
    #topSection .button
    {
        font-size:1.3rem;
    }
    #topText h1
    {
        margin-bottom:4vw;
        font-size: 1.7rem !important;

    }
    #topText p
    {
        font-size: 1rem !important;
        margin-top: 0 !important;
    }
    #featureSection, #featureSection2
    {
        height:155vw !important;
    }
    #feature1, #feature2, #feature3, #feature4
    {
        width:69vw;
        height: 27% !important;
    }
    .pandaTennis
    {
        margin-left:60% !important;
    }
    .move
    {
        margin-left: 66% !important;
    }
    .slideImage
    {
        width:15vw !important;
        height:15vw !important;
    }
    #formFrame
    {
        flex-direction: column !important;
        justify-content: flex-start !important;
        margin-bottom:0 !important;
    }
    #bottomImage
    {
        width: 100% !important;
        height:53% !important;
    }
    #formFrame h2
    {
        font-size: 1.2rem;
    }
    #formFrame label
    {
        font-size: 1rem;
    }
    #signUp
    {
        width: 100% !important;
    }
    #formFrame
    {
        height:91% !important;
    }
    #feature2, #feature4
    {
        margin-top:30% !important;
    }
    .rightFeatureText p, .leftFeatureText p
    {
        font-size: 0.7rem !important;
    }
    #name, #emailAddress
    {
        min-height:48px !important;
    }
    #name
    {
        margin-bottom:8px;
    }
    #signUp h2
    {
        margin-bottom:8px !important;
        margin-top:0px !important;
    }
    #requiredExplaination
    {
        padding: 0 !important;
        margin:8px 0 !important;
    }
}

/* Desktop */
html, body, #mainContainer
{
    margin:0;
    padding:0;
    width:100%;
    font-size:2vw;
    background-color: #ffffff;
}
#topSection
{
    height:43vw;
    background-image:linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url("https://xinyusays.com/images/background.png");
    background-color: rgba(37,37,38,1);
    background-repeat: no-repeat;
    background-position: center;
    background-size:cover;
    display:flex;
    flex-direction: row;
    padding:34px 54px 0 54px;


}

#topImage
{
    background-color:rgba(190,225,225,1);
    width:40%;
    max-width: 40%;
    display:flex;
    align-items: center;
    justify-content: center;
}

#topText
{
    width:60%;
}
p
{
    font-size:1.05rem;
    color:white;
    padding:0 5% 20px 5%;
    font-family: 'Questrial', sans-serif;
}
#topText h1
{
    color:white;
    font-size: 2rem;
    padding:0 5%;
    font-family: 'Quattrocento', serif;
}

#imageView
{
    overflow: hidden;
    display:flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width:90%;
    height:94%;
}
#topLantern
{
    max-width:130%;
    height:100%;
    width: 100%;
}

#featuresSection, #featuresSection2
{
    height:100vh;
    width:100%;
    display:flex;
    flex-direction: column;
    justify-content: center; 
}

.leftFeature
{
    height:40%;
    width:50%;
    align-self:flex-start;
    margin-left:10%;
    display:flex;
    align-items: center;
    background: repeating-linear-gradient(to right, rgba(190,225,225,1), rgba(190,225,225,1) 49.9%, #ffffff 50.1%, #ffffff 100%);
}

.rightFeature
{
    height:40%;
    width:50%;
    align-self:flex-end;
    margin-right:10%;
    display:flex;
    align-items: center;
    margin-top:20px;
    background: repeating-linear-gradient(to left, rgba(190,225,225,1), rgba(190,225,225,1) 49.9%, #ffffff 50.1%, #ffffff 100%);
}

.leftFeatureText
{
    background-color: rgba(37,37,38,1);
    height:60%;
    width:75%;
    margin-left: 25%;
    display:flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.rightFeatureText
{
    background-color: rgba(37,37,38,1);
    height:60%;
    width:75%;
    display:flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.rightFeatureText p, .leftFeatureText p
{
    font-size:0.9rem;
    margin:0;
    padding:0 10px 0 10px;
    text-align: center;
}

.slideImage
{
    width:9vw;
    height:9vw;
    position:absolute;
    z-index: 2;
    transform:translateX(0);
    transition: margin 4000ms, transform 4000ms;

}

.pandaSmile
{
    transform:rotate(50deg);
    margin-left:37%;
}
.pandaTennis
{
    transform:rotate(50deg);
    margin-left:37%;
}


.pandaUmbrella
{
    transform:rotate(50deg);
    margin-left:1%;
}

#newsletterForm
{
    height:100vh;
    width:90%;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin:0 5%;
}
#formFrame
{
    height:80%;
    width:95%;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    background-color: rgba(37,37,38,1);
    color:white;
}
#bottomImage
{
    width:40%;
    height: 100%;
    display:flex;
    justify-content: center;
    align-items: center;
}

#name
{
    width:49%;
    margin-right: 3%;
    height:0.7rem;
}
#emailAddress
{
    width:35%;
    margin-right: 5%;
    height:0.7rem;
}
#bottomLantern
{
    max-width:100%;
    height: 80%;
    width:80%;

}

#signUp
{
    width:60%;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
#form
{
    width:100%;
}
#signUp h2
{
    margin-bottom:40px;
    
}
#required
{
    color:rgb(255, 149, 149);
}
#requiredExplaination
{
    color:rgb(255, 149, 149);
    font-size: 0.5rem;
}
.button
{
    border: solid 1px rgba(190,225,225,1);
    background-color: rgba(190,225,225,1);
    text-decoration:none;
    color:rgb(37,54,76);
    padding: 14px 24px;
    margin:0 5%;
    font-family: 'Questrial', sans-serif;
    font-size:1.5rem;
}



  
  #log {
    width: 200px;
    height: 80vh;
    position: fixed;
    right: 0px;
    top: 10px;
    overflow: auto;
  }
.move
  {
    margin-left:48.2%;
    transition: margin 4000ms;
  }
  .moveRight
  {
    transform:translateX(-78%);
    transition: transform 4000ms;
  }