body, html{
    font-family: "Lato", sans-serif;
    margin: 0;
    scroll-behavior: smooth;
}

.mb-container {
    width: 100%;
    min-width: 500px;
}

/*************************************
         Nav bar styles 
*************************************/
.mb-nav-bar {
    padding: 0px 30px 10px;
}

.mb-left-side img{
    padding-top: 1cm;
    float: left;
}

.mb-right-side {
    display: flex;
    padding-top: 2.5cm;
    float: right;
} 

.mb-nav-bar > .mb-right-side > div{
    margin-right: 50px;
    font-size: 1.5em;
    text-transform: uppercase;    
}

.mb-nav-link {
    height: 30px;
    border-bottom: 10px solid transparent;
    transition: border-bottom 0.5s;
}

.mb-nav-link a {
    color: rgb(240, 226, 202);
    text-decoration: none;
    transition: color 0.5s;
}

.mb-nav-link:hover {
    border-bottom: 1px solid white;
}

.mb-nav-link a:hover {
    color: white;
}

.active-nav-link {
    border-bottom: 1px solid whitesmoke;
}

.active-nav-link a {
    color: whitesmoke !important; 
}

.mb-nav-link2 {
    height: 30px;
    border-bottom: 10px solid transparent;
    transition: border-bottom 0.5s;
}

.mb-nav-link2 a {
    color: rgb(133, 12, 12);
    text-decoration: none;
    transition: color 0.5s;
}

.mb-nav-link2:hover {
    border-bottom: 1px solid gray;
}

.mb-nav-link2 a:hover {
    color: gray;
}

.active-nav-link2 {
    border-bottom: 1px solid gray;
}

.active-nav-link2 a {
    color: gray !important; 
}

/*************************************
    Home - First section style 
*************************************/
.mb-first-item-img-bg {
    background-image:linear-gradient(to bottom, rgba(83, 85, 92, 0.52), rgba(5,20,30,0.6)), url('images/item1.jpg');
    position: relative;
    height: 950px;
    width: 100%;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.mb-first-item-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mb-first-item-text h2 {
    margin-top: 3cm;
    font-size: 3.5em;
    text-transform: uppercase;
    color: rgb(240, 226, 202);
}

.mb-first-item-text p {
    font-size: 2em;
    color: rgb(240, 226, 202);
}

.mb-first-item-btn {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mb-button {
    background-color: rgb(240, 226, 202,0.3);
    color: rgb(221, 193, 143);
    border: 2px solid rgb(221, 193, 143);
    border-radius: 10px;
    font-size: 1.5em;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.05em;
    padding: 16px 32px;
    cursor: pointer;
}

.mb-button:hover {
    background-color: rgb(221, 193, 143);
    color: white;
}

/*************************************
    Why Us - Second section style 
*************************************/

.mb-second-item {
    position: relative;
    height: 940px;
    width: 100%;
    background-color: whitesmoke;
}

.mb-second-item-text {
    max-width: 600px;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.mb-second-item-text h1 {
    font-size: 2.5em;
    color: rgb(44, 63, 145);
}

.mb-second-item-text p {
    display: inline-block;
    margin: 0;
    font-size: 1.3em;
    color: rgb(226, 173, 81);
}


/*************************************
    About - Third section style 
*************************************/

.mb-third-item-img-bg {
    background-image: linear-gradient(to bottom, rgba(83, 85, 92, 0.52), rgba(5,20,30,0.6)), url('images/item3.jpg');
    position: relative;
    height: 950px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.mb-third-item-columns {
    display: flex;
}

.mb-third-item-image img {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    border-radius: 35%;
}

.mb-third-item-text {
    position: absolute;
    top: 45%;
    left: 65%;
    transform: translate(-50%, -50%);
    width: 450px;
    text-align: center;
    color: rgb(221, 193, 143);
}

.mb-third-item-text p {
    font-size: 1.2em;
}

/*************************************
    Templates - Fourth section style 
*************************************/

.mb-fourth-item {
    position: relative;
    height: 940px;
    width: 100%;
    background-color: whitesmoke;
}

.mb-fourth-item-content {
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(-50%, -50%);
}

.mb-fourth-item-content h1 {
    font-size: 2em;
    font-weight: 500;
    text-align: center;
    color: rgb(44, 63, 145);
}

.mb-fourth-item-content p {
    width: 500px;
    text-align: center;
    font-size: 1em;
    color: rgb(226, 173, 81);
}

.mb-fourth-item-content h3 {
    text-align: center;
    font-size: 1em;
    color: rgb(226, 173, 81);
}

.mb-fourth-item-btn {
    margin-top: 1.5cm;
    margin-left: 3cm;
}

.mb-fourth-item-columns {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
}

.mb-fourth-item-columns1 {
    display: flex;
    width: 250px;
    height: 250px;
    margin-top: 1.5cm;
}

.mb-fourth-item-column-img-bg {
    width: 250px;
    height: 100%;
    text-align: center;
    background-size: cover;
    background-position: center;
    border-radius: 5%;
    margin-right: 1.5cm;
}


@media screen and (min-width: 640px) {
    .mb-fourth-item-column-img-bg:hover {
        position: absolute;
        top: 20%;
        left: 20%;
        transform: translate(-50%, -50%);
        width: 450px;
        height: 400px;
        transform: scale(1.5);
    }
}

.mb-fourth-item-columns2 {
    display: flex;
    width: 250px;
    height: 250px;
    margin-top: 1.5cm;
}

/*************************************
    Contact - Fifth section style 
*************************************/

.mb-fifth-item-img-bg {
    background-image: linear-gradient(to bottom, rgba(83, 85, 92, 0.52), rgba(5,20,30,0.6)), url('images/item5.jpg');
    position: relative;
    height: 1000px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.mb-two-column {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    width: 800px;
    color: rgb(240, 226, 202);
}

.mb-contact-info {
    margin-top: 1cm;
    color: rgb(240, 226, 202);
    margin-right: 2cm;
}

.mb-social-media img {
    margin-right: 0.2cm;
}

.alert {
    padding: 5px;
    border: 1px solid;
    border-radius: 5px;
    color: yellow;
    text-align: center;
}

.mb-contact-form {
    margin-top: 2cm;
    padding-bottom: 2cm;
    padding-right: 5cm;    
}
  
.mb-input {
    width: 100%;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid rgb(240, 226, 202);
    background-color: transparent;
    margin-top: 0.2cm;
}

.mb-input[type=text] {
    width: 100%;
    padding: 2px 2px;
    font-size: 1em;
    color: rgb(240, 226, 202);
}

label {
    color: rgb(240, 226, 202);
}

textarea {
    width: 100%;
    height: 150px;
    padding: 4px 4px;
    border: 2px solid rgb(240, 226, 202);
    background-color: transparent;
    resize: none;
    color: rgb(240, 226, 202);
}


.mb-button-section5 {
    background-color: rgb(240, 226, 202,0.3);
    color: rgb(221, 193, 143);
    border: 2px solid rgb(221, 193, 143);
    border-radius: 10px;
    padding: 0px 20px;
    font-size: 0.8em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-align: center;
    margin-top: 0.5cm;
    cursor: pointer;
}

.mb-button-section5:hover {
    background-color: rgb(221, 193, 143);
    color: white;
}

/*************************************
         Footer style
*************************************/

.mb-footer {
    position: absolute;
    top: 95%;
    left: 10%;
    transform: translate(-50%, -50%);
    margin-left: 2cm;
    color: rgb(240, 226, 202);;
    text-align: center;
    text-transform: uppercase;
}

.mb-footer a {
    color: rgb(240, 226, 202);;
    font-weight: bold;
    text-decoration: none;
}

.mb-footer a:hover {
    color: whitesmoke;
    border-bottom: 1px solid whitesmoke;
}

/*************************************
         Smaller screen style
*************************************/
@media screen and (max-width: 1279px) {
    .mb-nav-bar > .mb-right-side > div{
        margin-right: 40px;
        font-size: 1.3em;
    }

    .mb-first-item-img-bg {
        background-attachment: unset;
    }
    
    .mb-third-item-img-bg {
        background-attachment: unset;
    }
    
    .mb-fifth-item-img-bg {
        background-attachment: unset;
    }

    .mb-second-item-text2 h1 {
        top: 90%;
        left: 51%;
    }
    
    .mb-third-item-text {
        width: 420px;
        margin-left: 1cm;
    }

    .mb-fourth-item {
        height: 1200px;
    }
    
    .mb-fourth-item-content {
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .mb-fourth-item-content p {
        padding-bottom: 18cm;
    }
    
    .mb-fourth-item-columns {
        top: 55%;
        left: 37%;
    }
}


@media screen and (max-width: 1100px) {
    .mb-nav-link {
        height: 25px;
    }

    .mb-nav-link2 {
        height: 25px;
    }

    .mb-left-side img {
        width: 25%;
        padding-top: 1cm;
        float: left;
    }

    .mb-nav-bar > .mb-right-side > div{
        margin-right: 40px;
        font-size: 1.2em;
    }

    .mb-third-item-text {
        width: 350px;
    }

    .mb-fourth-item-columns {
        left: 32%;
    }

    .mb-fifth-item-img-bg {
        background-image: linear-gradient(to bottom, rgba(83, 85, 92, 0.52), rgba(5,20,30,0.6)), url('images/item52.jpg');
    }
}

@media screen and (max-width: 950px) {
    

    .mb-nav-bar > .mb-right-side > div{
        margin-right: 15px;
        font-size: 1em;
    }

    .mb-first-item-text h2 {
        font-size: 3em;
    }

    .mb-first-item-text p {
        font-size: 1.2em;
    }
    
    .mb-button {
        font-size: 1em;
        letter-spacing: 0.01em;
        padding: 10px 25px;
    }

    .mb-third-item-text {
        width: 300px;
    }

    .mb-fourth-item-btn {
        margin-top: 1.5cm;
        margin-left: 4.5cm;
    }
}

@media screen and (max-width: 820px) {
    .mb-subtitle {
        width: 200px;
        height: 100px;
        padding: 50px 0px;
        font-size: 1.5em;
    }

    .mb-subtitle2 {
        top: 54%;
        height: 102px;
        font-size: 1.5em;
    }

    .mb-third-item-image img {
        top: 42%;
        left: 50%;
        height: 350px;
    }

    .mb-third-item-text {
        top: 75%;
        left: 45%;
        width: 450px;
        font-size: 0.9em;
    }

    .mb-fourth-item-columns {
        left: 36%;
    }

    .mb-fourth-item-column-img-bg {
        width: 200px;
        height: 200px;
    }

    @media screen and (min-width:641px) {
        .mb-fourth-item-column-img-bg:hover {
            top: 22%;
            left: 22%;
            width: 350px;
            height: 350px;
        }
    }    

    .mb-two-column {
        left: 49%;
        width: 600px;
    }

    .mb-contact-form {
        padding-right: 0cm;
    }

    .mb-contact-info img{
        height: 250px;
        width: 250px;
    }

    .mb-social-media img {
        height: 30px;
        width: 30px;
    }

    .mb-contact-info h2 {
        font-size: 1em;
    }

    .mb-contact-info h4 {
        font-size: 0.8em;
    }

    .mb-footer {
        font-size: 0.8em;
    }
}

@media screen and (max-width: 640px) { 
    /*************************************
        Nav Style
    *************************************/

    .mb-nav-link {
        height: 15px;
    }

    .mb-nav-link2 {
        height: 15px;
    }

    .mb-right-side {
        padding-top: 1.6cm;
    }

    .mb-nav-bar > .mb-right-side > div{
        margin-right: 15px;
        font-size: 0.7em;
    }

    /*************************************
        First item style
    *************************************/
      

    .mb-first-item-text h2 {
        margin-top: 0cm;
        font-size: 2em;
    }

    .mb-first-item-text p {
        font-size: 1em;
    }

    .mb-first-item-btn {
        top: 70%;
    }
    
    .mb-button {
        font-size: 0.8em;
        letter-spacing: 0.01em;
    } 


    /*************************************
        Third item style
    *************************************/
  

    .mb-third-item-text {
        top: 75%;
        left: 42%;
        width: 400px;
    }

    /*************************************
        Fourth section style 
    *************************************/

    .mb-fourth-item {
        height: 1000px;
    }

    .mb-fourth-item-content {
        top: 55%;
    }

    .mb-fourth-item-content h1 {
        font-size: 1.5em;
    }

    .mb-fourth-item-content p {
        margin-left: 0cm;
        font-size: 1em;
        width: 450px;
        padding-bottom: 14cm;
    }

    .mb-fourth-item-content h3 {
        font-size: 1em;
    }

    .mb-fourth-item-btn {
        margin-left: 4cm;
        margin-top: 1cm;
    }

    .mb-fourth-item-columns {
        top: 55%;
        left: 24%;
    }

    .mb-fourth-item-columns1 {
        width: 200px;
        height: 200px;
    }

    .mb-fourth-item-column-img-bg {
        width: 200px;
        height: 200px;
        margin-bottom: 1.5cm;
        transition: 0.2s;
    }

    .mb-fourth-item-columns2 {
        width: 200px;
        height: 200px;
        margin-top: 1.5cm;
    }

    /*************************************
    Contact - Fifth section style 
    *************************************/
    .mb-fifth-item-img-bg  {
        background-image: linear-gradient(to bottom, rgba(83, 85, 92, 0.52), rgba(5,20,30,0.6)), url('images/item52.jpg');
        height: 1200px;
    }

    .mb-two-column {
        display: block;
        width: 380px;
    }

    .mb-contact-info {
        margin-left: 1.5cm;
        margin-right: 0cm;
    }

    .mb-contact-form {
        padding-right: 0cm;   
    }

    .mb-contact-info h2 {
        font-size: 1em;
    }

    .mb-contact-info h4 {
        font-size: 0.8em;
    }

    .mb-contact-info img{
        width: 180px;
        height: 180px;
    }

    .mb-social-media img {
        height: 30px;
        width: 30px;
    }

    .mb-input {
        width: 70%;
    }

    .mb-input[type=text] {
        width: 70%;
    }

    textarea {
        width: 70%;
    }

    .mb-button-section5 {
        padding: 0px 30px;
        font-size: 0.8em;
        font-weight: 500;
    }

    /*************************************
         Footer style
    *************************************/

    .mb-footer {
        font-size: 0.6em;
    }    
}