.App {
    z-index: 9999;
    padding: 2rem 2rem;
    width: 75rem;
    margin: 0 calc(50% - 37rem);
    /*position: fixed;*/
}

*{
    transition: height, width ease 1s;
}

.legend {
    display: flex;
    justify-content: space-between;
    direction: ltr;
    width: 100%;
    min-height: calc(100vh - 4rem);
    /*padding-bottom: 2rem;*/
}

.cover{
    height: calc(100vh - 4rem);
    max-height: 50rem;
    padding: 0.5rem;
    border-radius: .5rem;

}

.main {
    display: flex;
    flex-direction: column;
    width: 35rem;
}

.descriptionCard {
    background: #ffffff;
    padding: 1.875rem 2.5rem;
    border-radius: .75rem;
    text-align: justify;
    line-height: 2;
    color: #014339;
}

.descriptionCard p {
    font-size: .9125rem;
}

.descriptionCard ul {
    font-size: .9125rem;
}

.videoSection{
    display: flex;
    justify-content: space-between;
}

.videoCard{
    flex-basis: 49%;
    flex-grow: 0;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: .75rem;
    background: #fff;
    margin-bottom: 1.5rem;
}

.videoTitle{
    margin: -.75rem 0 .75rem 0;
    width: 100%;
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
}

.btn-primary,
a.btn-primary{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .875rem;
    color: #ffffff;
    border-radius: 2.25rem;
    /*width: 6.25rem;*/
    height: 2.75rem;
    padding: 0 1.2rem;
    background-color: #014339;
    border: none;
    font-family: IRANSansWeb;
    cursor: pointer;
    text-decoration: none;
}

.footer {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.logos{
    display: flex;
    flex-basis: 100px;
    flex-grow: 1;
}

.logoItem{
    background-color: #fff;
    border-radius: .5rem;
    width: 2.625rem;
    height: 2.625rem;
    box-shadow: 0 0 10px rgba(36, 37, 37, .16);
    display: flex;
    justify-content: center;
    align-items: center;
}

.logoItem + .logoItem{
    margin-right: .5rem;
}

.logoItem img{
    max-width: 100%;
}

.social{
    display: flex;
    align-items: center;
    flex-basis: 100px;
    flex-grow: 1;
    justify-content: center;
}

.socialItem{
    display: flex;
    align-items: center;
    justify-content: center;
}

.socialItem + .socialItem{
    margin-right: .875rem;
}

.developer {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-basis: 100px;
    flex-grow: 1;
    justify-content: flex-end;
}

.developer:hover .developerText{
    color: #f2f2f2;
}

.developerText{
    font-size: .75rem;
    color: #ffffff;
    margin-left: .625rem;
}

.developerIcon{
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    outline: none;
}

.btn-primary:hover{
    opacity: .95;
}

.btn-primary:focus{
    box-shadow: 0 0 6px rgba(0, 120, 163, .6);
}

.btn-primary:active{
    background-color: #005983;
}

label{
    color: #707070;
    font-size: .875rem;
    margin-bottom: .25rem;
}

input{
    height: 2.5rem;
    border: 1px solid #e1e1e1;
    border-radius: .75rem;
    font-size: 1.1rem;
    color: #595959;
    direction: ltr;
    text-align: left;
    padding: .1rem .75rem;
}

input:focus, input:hover{
    outline: none;
    border: 1px solid #0078A3;
}

input:focus{
    box-shadow: 0 0 6px rgba(0, 120, 163, .3);
}

input::placeholder{
    color: #c0c0c0;
}

@media (max-width: 1120px) {
    .App{
        width: 98%;
        padding: 2rem 1rem;
        margin: 0 auto;
    }

    .legend{
        flex-direction: column;
        align-items: center;
    }

    .cover{
        height: 17vh;
        padding: 0;
    }

    .main{
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .descriptionCard{
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 400px) {
    .App{
        width: 100%;
        margin: 0 auto;
    }

    .videoSection{
        flex-direction: column;
    }

    .footer{
        flex-direction: column;
        justify-content: flex-start;
        border-top: 1px solid #ffffff;
    }

    .logos{
        justify-content: center;
        margin-top: 2rem;
        order: 2;
        flex-grow: 0;
        flex-basis: 0;
    }

    .social{
        justify-content: center;
        margin-top: 2rem;
        order: 1;
        flex-grow: 0;
        flex-basis: 0;
    }

    .developer {
        justify-content: center;
        flex-direction: column;
        margin-top: 1.5rem;
        order: 3;
        flex-grow: 0;
        flex-basis: 0;
    }

    .developerIcon{
        margin-top: .75rem;
    }

}

@media (max-width: 900px) and (min-width: 401px) {
    .App {
        width: 98%;
        margin: 0 auto;
    }

    .videoSection{
        flex-direction: column;
    }

    .footer{
        flex-direction: column;
        border-top: 1px solid #ffffff;
    }

    .logos{
        justify-content: center;
        margin-top: 2rem;
        order: 2;
        flex-grow: 0;
        flex-basis: 0;
    }

    .social{
        justify-content: center;
        margin-top: 2rem;
        order: 1;
        flex-grow: 0;
        flex-basis: 0;
    }

    .developer {
        justify-content: center;
        flex-direction: column;
        margin-top: 1.5rem;
        order: 3;
        flex-grow: 0;
        flex-basis: 0;
    }

    .developerIcon{
        margin-top: .75rem;
    }
}

@media (min-height: 769px) {
    .legend{
        align-items: center;
        min-height: auto;
    }
}