body
{
    margin: 0;
    padding: 0;
    transition: 0.5s;
}

body.night
{
    background: #00151f;
}
.toggle
{
    position: absolute;
    top: 50px;
    right: 50px;
    background: #fff;
    border: 2px solid #00151f;
    width: 45px;
    height: 22px;
    cursor: pointer;
    border-radius: 20px;
    transition: 0.5s;
}
.toggle.active
{
    background: #00151f;
    border: 2px solid #fff;
}
.toggle:before
{
    content: '';
    position: absolute;
    top: 1px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #00151f;
    border-radius: 50%;
    transition: 0.5s; 
}
.toggle.active:before
{
    left: 23px;
    background: #fff;
    border-radius: 2px solid #00151f;
}
#nav-bar 
{
    top: 0;
    z-index: 10;
    padding: 0 7%;
    width: 100%;
    height: 200px;
    position: relative;
    margin: 0 auto;
}
.navbar-brand
{
    position: relative;
    top: -50px;
}
.navbar-nav
{
    float: left;
    position: absolute;
    top: 32px;
    right: 200px;
}
.navbar-toggler 
{
    border: none!important;
}
.nav-link 
{
    color: #021318!important;
}
.fa 
{
    top: 10px;
    padding: 13px;
    width: 50px;
    height: 50px;    
}
h1
{
    font-size: 4rem !important;
    font-family: 'Alfa Slab One', cursive;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    color: #021318;
}
p
{
    line-height: 1.9;
    font-weight: 600;
    font-size: 1rem;
    color: #021318;
    font-family: 'Montserrat', sans-serif;
}
.image-brand
{
    width: 100%;
    margin-top: 3.5%;
}
#second
{
    background-color: rgba(231, 249, 253, 0.96);
    width: 100%;
    margin-top: 70px;
}
.para
{
    width: 70%;
    border-radius: 20px;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.08);
    position: relative;
    top: -45px;
    background-color: rgba(231, 249, 253, 0.96);
    padding: 50px;
}
.icon
{
    background: linear-gradient(41deg, #0FB6E4, #3EF4A4);
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 100px;
    margin-right: 20px;
    border-radius: 5px;
    float: left;
}
h5
{
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #021318;
    margin-bottom: 5px;
    display: block;
}
#third
{
    background-color: rgba(231, 249, 253, 0.96);
    width: 100%;
}
.subscribe p
{
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    color: #021318;
    font-weight: 600;
    font-size: 15px;
}
.form-group
{
    width: 43%;
    margin: 0 auto;
    padding: 15px;
    margin-left: 334px;
    box-sizing: border-box;
}
.btn
{
    background-color: #021318;
    color: #fff;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #fff;
    cursor: pointer;
    width: 110px;
    padding: 7px;
    margin-top: -4%;
    float: right;
    margin-right: 23%;
}
#footer 
{
    background-color: rgba(231, 249, 253, 0.96);
    color: #000;
    padding: 12px;
    margin-top: -16px;
}
.text-center p
{
    opacity: 0.7;
}
.fa-heart-o 
{
    margin: 3px;
    color: red;
}
.lower-night
{
    background-color: #112126 !important;
}
.night
{
    color: #fff !important;
}
.b-night
{
    color: #fff !important;
    opacity: 0.7;
}

@media only screen and (max-width: 991px) {
    .navbar-toggler {
        position: absolute;
        right: 0;
        top: 40px;
    }
    .navbar-nav {
        display: flex;
        flex-direction: column;
        list-style: none;
        right: -3px;
        top: 140px;
    }
    .toggle {
        position: absolute;
        top: 85px;
        right: 3px;
        background: #fff;
        border: 2px solid #00151f;
        width: 45px;
        height: 22px;
        cursor: pointer;
        border-radius: 20px;
        transition: 0.5s;
    }
    .container {
        width: 80%;
    }
    .para {
        width: 66%;        
        box-shadow: none;
        position: relative;
        top: 20px;

    }
    .para .row {
        margin: 0 -130px;
    }
    .subscribe p {
        padding: 15px;
    }
    .form-group {
        margin-left: 190px;
        width: 35%;
    }
    .btn {
        margin-top: -54px;
        margin-right: 210px;
    }
}
@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    #nav-bar {
      width: 100%;
    }
}
@media only screen and (max-width: 504px) {
    .navbar-toggler {
        position: absolute;
        right: 0;
        top: 40px;
    }
    h1 {
        font-size: 3rem !important;
    }
    .half {
        margin-bottom: 45px;
    }
    .form-group {
        margin-left: 83px;
    }
    .btn {
        margin-right: 130px;
    }
}
@media only screen and (max-width: 484px) {
    .navbar-toggler {
        position: absolute;
        right: 0;
        top: 40px;
    }
    h1 {
        font-size: 2rem !important;
    }
    .one p {
        font-size: 13px !important;
    }
    .para .row {
        margin: 0 0 0 -120px;
    }
    .icon {
        width: 78px;
        height: 78px;
    }
    h5 {
        font-size: 1rem;
    }
    .para p {
        font-size: 0.8rem;
    }
    .subscribe p {
        font-size: 0.8rem;
    }
    .form-group {
        width: 40%;
    }
    .text-center p {
        font-size: 0.8rem;
    }
    .form-control {
        width: 90%;
        height: 29px;
    }
    .btn {
        width: 20%;
        font-size: 0.8rem;
        margin-right: 130px;
        margin-top: -46px;
        height: 5%;
    }
}
@media only screen and (max-width: 472px) {
    .navbar-toggler {
        position: absolute;
        right: 0;
        top: 40px;
    }
    .para .row {
        margin: 0 0 0 -100px;
    }
    .form-control {
        width: 85%;
    }
}
@media only screen and (max-width: 456px) {
    .navbar-toggler {
        position: absolute;
        right: 0;
        top: 40px;
    }
    .btn {
        margin-right: 110px;
    }
}
@media only screen and (max-width: 378px) {
    .para{
        width: 100%;
    }
    .navbar-toggler {
        position: absolute;
        right: 0;
        top: 40px;
    }
    .para .row {
        margin: 0 0 0 -50px;
    }
    .btn {
        margin-right: 80px;
        width: 20%;
    }
}
