body{
    margin: 0 auto;
    padding: 0;
    font-family: Poppins,Helvetica, Arial, sans-serif;
    min-width: 300px;
}

.main-logo {
    width : 10vw;
    min-width: 50px;
    max-width: 800px;
    display: block;
    margin-left: 70px;
}

.header-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

.main-title {
    margin-left: 66px;
    margin-top: 30px;
    color: whitesmoke;
    font-weight: bold;
    text-align: left;
    font-size: 3.8vw;
}

.right-image{
    object-fit: contain;
    align-items: center;
}

#icon-bar {
    position: fixed;
    background-color: rgb(201, 163, 164);
    left: 0px;
    right: 0px;
    top: 0px;
    height: 5.5vw;
    min-height: 70px;
    opacity: 0;
    z-index: 3;
    max-height: 90px;
}
.nav-container, .mob-class-container {
    position: fixed;
    z-index: 4; /* look here*/
}
#current-page{
    pointer-events: none;
    color: #d33f49 ;
}
.footer{
    padding: 30px;
    background-color: aliceblue;
    text-align: center;
    margin-bottom: 0px;

}


@media (min-width: 740.1px) and (max-width: 2000.0px) {
    /* Just nothing container 
    flex-box = to make the text align center and right 
    fixed = to stay fixed as header */
    .nav-container {
        display: flex;
        align-items: center;
        justify-content: right;
        padding: 0px 30px;
        top: 0px;
        right: 0px;
        left: 0px;
        height: 5.5vw;
        min-height: 70px;
        max-height: 90px;
    }
    
    /*All the text */
    .nav-link {
        display: grid;
        grid-template-columns: 1fr;
        /* font-size: 20px; */
        font-size:clamp(16px,1.4vw, 35px);
        color: white;
        text-decoration: none;
        padding-right: clamp(18px, 1.2vw, 1.2vw);
        transition: color 0.3s, transform 0.3s;
        justify-items: center;
    }
    
    .nav-link:hover {
        color: #d33f49;
        transform: translateY(-2px);
        border-bottom: 4px solid rgb(0, 0, 0, 0);
    }
    
    /*--------------------------For underline when hover--------------------------*/
    .nav-link::after {
        content: ' ';
        width: 0px;
        opacity: 0;
        height: 2.3px;
        background: #d33f49;
        z-index: 5;
        display: block;
        transition: width .3s;
    }
        
    .nav-link:hover::after {
        width: 100%;
        opacity: 1;
        
    }

    .nav-logo{
        width: 4.8vw;
        margin: clamp(10px, 1.2vw, 10px) 40px;
        z-index: 60;
        min-width: 70px;
    }
}

@media (min-width:2000.1px){

    .header-container {
        width: 2000px;
        padding-left: calc((100vw - 2000px)/2);
        padding-right: calc((100vw - 2000px)/2);
    }

    .main-logo {
        padding-top: 50px;
        width : 195px;
        margin-left: calc(50vw - 960px);
    }
    .main-title {
        font-size: 75px;
    }

    #icon-bar {
        left: 0px;
        right: 0px;
        top:0px;
        height: 90px;
        /* padding-left: auto; */
    }

    .nav-container {
        display: flex;
        align-items: center;
        justify-content: right;
        padding: 0px 30px;
        top: 0px;
        right: calc(50vw - 1000px);
        left: calc(50vw - 1000px);
        height: 90px;
        width: 1920px;
    }
    .nav-link {
        display: grid;
        grid-template-columns: 1fr;
        font-size: 28px;
        color: white;
        text-decoration: none;
        padding-right: 24px;
        transition: color 0.3s, transform 0.3s;
        justify-items: center;
    }

    .nav-link:hover {
        color:#0b1a2c;
        transform: translateY(-2px);
        border-bottom: 4px solid rgb(0, 0, 0, 0);
    }
    
    /*--------------------------For underline when hover--------------------------*/
    .nav-link::after {
        content: ' ';
        width: 0px;
        opacity: 0;
        height: 2.3px;
        background: #0b1a2c;
        z-index: 5;
        display: block;
        transition: width .3s;
    }
        
    .nav-link:hover::after {
        width: 100%;
        opacity: 1;
        
    }

    .nav-logo{
        width: 92px;
        margin: 10px;
        padding-left: calc(50vw - 950px);
        z-index: 60;
    }

}

/*-----------------For mobile screens------------------*/
@media (max-width: 740.00px) {

    .main-logo{
        height: 40px;
        object-fit: contain;
        /* margin-left: -40px; */
    }
    .header-container {
        /* display: grid;
        grid-template-columns: 1fr;
        justify-content: center; */
        display: block;
        background-image: none;
    }

    .main-title {
        display: block;
        font-size: 40px;
        padding: 0px 40px 10px 40px;
        margin: 0px;
        text-align: center;
    }

    .right-image {
        display: block;
        object-fit:cover;
    }

    .nav-logo{
        width: 8vw;
        max-width: 100px;
        margin-left: 40px;
        margin-right: 40px;
        padding-top: clamp(15px, 2.5vw, 2.5vw);
        z-index: 60;
        min-width: 60px;
    }

    .top-line, .bottom-line, .middle-line{
        width: 30px;
        height: 2px;
        background-color: white;
        position: fixed;
        z-index: 5;
        right: 30px;
        transition: background-color 0.4s ease-in, transform 0.4s;
    }
    .top-line {
        top: 28px;
        transform-origin: 3px -6px;
    }

    .middle-line{
        background-color: rgba(255, 255, 255, 0);
        height: 18px;
        top: 26px;
    }
    .bottom-line {
        top: 42px;
        transform-origin: 3px 6px;
    
    }
    .active-line-top{
        background-color: black;
        transform: rotate(45deg);
    }

    .active-line-bottom{
        background-color: black;
        transform: rotate(-45deg);
    }

    .nav-container{
        display: grid;
        align-content: center;
        background-color: white;
        right: 0px;
        top: 0px;
        bottom: 0px;
        width: 0%;
        transition: width 0.4s ease-in;

    }

    .mob-class-container{
        display: grid;
        background-color: white;
        align-content: center;
        right: 0px;
        top: 0px;
        bottom: 0px;
        width: 100%;
        overflow-y: hidden;
    }
    
    .nav-link {
        margin-bottom: 18px;
        margin-left: 100%;
        margin-right: auto;
        font-size: 30px;
        color: black;
        white-space: nowrap;
        text-decoration: none;
        transition: color 0.2s, margin 0.4s .3s ease-out;
    }

    .mob-nav-link{
        margin-left: 15%
    }
    
    .nav-link:hover{
        color: rgb(255, 115, 0);
    }

}
