@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Karla:wght@400;700&display=swap');

*,*::before,*::after{
    box-sizing: border-box;
}

body,html{
    margin:0;
    padding:0;
    font-family:'Karla', sans-serif;
}
.header-list{
    list-style:none;
    display:flex;
    margin-top:2rem;
    margin-right:10.375rem;
    align-items: center;
    letter-spacing: 2px;
    margin-bottom:2rem;
}
.list{
    margin-right:1.75rem;
    text-transform: uppercase;
    font-size: 0.625rem;
    font-weight: 700;
    color:grey;
    transition:color 200ms ease-in-out;
    cursor: pointer;
}
.list:hover{
    color:black;
}
.container{
    display:flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo{
    margin-left:10.375rem;
    margin-top:2rem;
    height:1rem;
    max-width: 100%;
    margin-bottom:2rem;
}
.header-btn{
    padding:0.5rem 1.625rem;
    text-transform: uppercase;
    font-size: 0.625rem;
    font-weight: 700;
    background-color: white;
    border: 1.5px solid black;
    text-align: center;
    color:rgba(0,0,0,0.75);
    transition:all 200ms ease-in-out;
    cursor: pointer;
}
.header-btn:hover{
    color:white;
    background-color:hsl(270, 9%, 17%);
}
.menu{
    margin-right:1.625rem;
    display:none;
}
.menu-close{
    margin-right:1.625rem;
    display:none;
}
@media screen and (max-width:800px)
{
    .header-logo{
        margin-left:1.6875rem;
    }
    .header-list{
        display:none;
    }
    .menu{
        display:inline;
    }
}

.overlay{
    background-image: url("images/bg-pattern-mobile-nav.svg");
    background-color: hsl(270, 9%, 17%);
    background-position: bottom;
    background-repeat: no-repeat;
    max-width: 100%;
    display:none;
}
.header-list-mob{
    list-style: none;
    color:white;
    display:none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding:0;
}
.list-mob{
    margin:0 6.25rem;
    margin-top:3.1875rem;
    text-transform: uppercase;
    word-spacing: 0.125rem;
}
.header-btn-mob{
    margin-top:3.1875rem;
    margin-bottom:18.75rem;
    padding:1.25rem 6.25rem;
    color:white;
    background-color: transparent;
    border:1.5px solid white;
    text-transform: uppercase;
    word-spacing: 0.125rem;
}
.last-img-mob{
    display:none;
}
@media screen and (max-width:900px)
{
    .overlay{
        background-image: url("images/bg-pattern-mobile-nav.svg");
        background-color: hsl(270, 9%, 17%);
        background-position: bottom;
        background-repeat: no-repeat;
        max-width: 100%;
        display:none;
    }
    .header-list-mob{
        list-style: none;
        color:white;
        display:none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding:0;
    }
    .list-mob{
        margin:0 6.25rem;
        margin-top:3.1875rem;
        text-transform: uppercase;
        word-spacing: 0.125rem;
    }
    .header-btn-mob{
        margin-top:3.1875rem;
        margin-bottom:18.75rem;
        padding:1.25rem 6.25rem;
        color:white;
        background-color: transparent;
        border:1.5px solid white;
        text-transform: uppercase;
        word-spacing: 0.125rem;
    }
}

.main-container{
    background-color: hsl(256, 26%, 20%);
    max-width: 100%;
    
    
}
.main-border {
    width:10rem;
    margin-left:10.625rem;
    padding-top: 6.5625rem;
    border-bottom: 1.3px solid white;
}
.main-heading{
    font-family: 'DM Serif Display', serif;
    color: white;
    letter-spacing: 2px;
    font-size: 3rem;
    margin:0;
    margin-left:10.625rem;
    margin-top: 60px;
    margin-right: 45.625rem;
    line-height: 0.9;
    
}
.main-p{
    font-size: 0.625rem;
    font-family: 'Karla', sans-serif;
    color:hsl(0, 0%, 98%);
    word-spacing: 2px;
    margin:0;
    margin-left:10.625rem;
    margin-right: 45.625rem;
    line-height: 1.5;
    margin-top: 1.625rem;
}
.main-btn{
    background-color: transparent;
    color:white;
    border:1.5px solid white;
    margin-left:10.625rem;
    margin-top: 1.5rem;
    margin-bottom:6.25rem ;
    letter-spacing: 2px;
    font-size: 0.5rem;
    color:hsl(0, 0%, 98%);
}
.main-btn:hover{
    background-color: white;
    color:hsl(270, 9%, 17%);
}
.main-left-img
{
    position: absolute;
    top:65%;   
}
.main-img{
    position: absolute;
    top:6.5625rem;
    left:45%;
}
.main-right-img{
    position: absolute;
    height: 31.25rem;
    top:0;
    left:70.8%;
    z-index: 1;
    box-sizing: border-box;
    max-width: 100%;
}
.main-border-mob{
    width:10rem;
    margin-left:10.625rem;
    padding-top: 6.5625rem;
}
.border{
    border-bottom:1px solid hsl(273, 4%, 51%);
    padding:0;
    margin-top:19.0625rem;
    
}
.main-container-2{
    margin-left:10.625rem;
    display : flex;
    align-items: center;
    margin-right:7.125rem;

}
.item-heading{
    margin:0;
    margin-left:10.625rem;
    margin-top:4.125rem;
    margin-bottom: 6.5625rem;
    font-family: 'DM Serif Display', serif;
    font-size: 3.125rem;
    font-weight: normal;
    color: hsl(270, 9%, 17%);
}
.main-h2{
    font-family: 'DM Serif Display', serif;
    font-weight: normal;
    color:hsl(270, 9%, 17%);
    font-size: 1.25rem;
}
.items-p{
    font-size :12px;
    color: hsl(273, 4%, 51%);
    margin-right:50px;
}
.last-box{
    margin-left:10.625rem;
    margin-right:7.125rem;
    background-color: hsl(256, 26%, 20%);
    display:flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 9.375rem;
    margin-top: 10.3125rem;
}
.last-heading {
    font-family: 'DM Serif Display', serif;
    font-weight: normal;
    color: white;
    font-size: 2.5rem;
    margin-left:5.3125rem;
    margin-top: 5rem;
    margin-bottom: 5rem;
    line-height: 1;
}
.last-btn{
    background-color: transparent;
    color:white;
    border:1.5px solid white;
    margin-right: 5.3125rem;
    margin-top: 6.5625rem;
    margin-bottom: 5rem;
    
}
.last-img{
    z-index: 1;
    position: absolute;
    top:0;
    height: 100%;
    width: 43%;
    left:57%;
    
}
.main-mob-img{
    display:none;
}
.main-img-mob-left{
    display:none;
}
.main-img-mob-right{
    display:none;
}
.box{
    position: relative;
    max-width: 100%;
}
.main-img-right{
    position: absolute;
}
.main-border-2{
    width:10rem;
    margin-left:10.625rem;
    padding-top: 6.5625rem;
    border-bottom: 1.3px solid white;
}

@media screen and (max-width:900px)
{
    .main-left-img,.main-right-img,.main-img,.main-border{
        display: none;
    }
    .main-heading{
        margin-top:0;
        margin-left:1.75rem;
        margin-right: 1.75rem;
        padding-top:100px;
        font-size: 2rem;
        text-align: center;
        letter-spacing: normal;
        line-height: 1;
        max-width: 100%;
    }
    .main-p{
        margin-top:1.875rem;
        margin-left:1.75rem;
        margin-right: 1.75rem;
        text-align: center;
        font-size:1rem;
        color:hsl(0, 0%, 98%);
        opacity: 0.7;
        font-weight: normal;
    }
    .main-btn{
        margin:40px 7.0625rem 5.625rem 7.0625rem;
    }
    .main-mob-img{
        display:block;
        width:100%;
    }
    .item-heading{
        margin-left:1.75rem;
        margin-right: 1.75rem;
        text-align: center;
        font-size: 2.3rem;
        margin-bottom: 5.5rem;
        
    }
    .main-container-2{
        margin-left:1.75rem;
        margin-right: 1.75rem;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .main-border-mob{
        margin: 0;
        padding:0;
        margin-left:7.0625rem;
        margin-top:8.75rem;
        margin-bottom: 2.8125rem;
        width:9.375rem;
        display:flex;
        justify-content: center;
        align-items: center;
        display:none;
    }
    .main-items{
        margin-left:1.75rem;
        margin-right: 1.75rem;
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .items-p{
        margin-left: 1rem;
        margin-right: 1.5625rem;
        text-align: center;
        margin-bottom:4.0625rem;
    }
    .items-p:last-child{
        margin-bottom: 0;
    }
    .main-items img{
        margin-bottom:2.625rem;
    }
    .last-box{
        margin-top:150px;
        flex-direction: column;
        margin-left:0;
        margin-right: 0;
        justify-content: center;
        align-items: center;
        height: 300px;
        margin-bottom: 8.75rem;
        margin-left:1.75rem;
        margin-right: 1.75rem;

    }
    .last-heading{
        font-size:2rem;
        margin-left:1.75rem;
        margin-right: 1.75rem;
        text-align: center;
        margin-bottom: 3.125rem;
        margin-top:0;
    }
    .main-mob-container{
        display:flex;
        justify-content: center;
    }
    .box{
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .last-img-mob{
        display:block;
        z-index: 1;
        position: absolute;
        top:0;
        height: 100%;
        width: 43%;
        left:57%;
    }
    .last-btn{
        margin-bottom: 4.6875rem;
        margin:0 auto;
        
    }
    .last-img{
        display:none;
    }
    .mob-border{
        display:block;
        border-bottom:1px solid hsl(273, 4%, 51%);
        width:9.375rem;
        margin:0 auto;
        margin-top:8.75rem;
    }
}
.hover-btn{
    transition: all 200ms ease-in-out;
    cursor: pointer;
    z-index:300;
}
.hover-btn:hover{
    color:black;
    background-color: white;
}
.footer-container{
    background-color: hsl(0, 0%, 98%);
}
.container-img{
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding-top:4.0625rem;
    margin-right:10.625rem;
    margin-left:10.625rem;
    border-bottom: 1px solid hsl(273, 4%, 51%);
    
}
.footer-img{
    padding-right:15px;
    margin-bottom:2.1875rem;
    transition: all 200ms ease-in-out;
    cursor: pointer;
}
.footer-img:hover{
    fill:white;
}
.footer-logo{
    margin-bottom:2.1875rem;
    margin:0;
    z-index: 1;
}
.footer-list{
    list-style: none;
    padding:0;
}
.footer-container-2{
    display:flex;
    align-items: center;
    margin-right:10.625rem;
    margin-left:10.625rem;
}
.footer-p{
    color:hsl(273, 4%, 51%);
    font-size:10px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-weight: bold;
    opacity: 0.9;
    margin-top:3.125rem;
    margin-bottom: 2.8125rem;
}
.footer-list{
    font-size:10px;
    text-transform: uppercase;
    color: hsl(270, 9%, 17%);
    font-weight: bold;  
    margin-bottom: 4.1875rem;
    cursor: pointer;
    box-sizing: border-box;
}
.footer-list li{
    margin-bottom: 0.9375rem;
    box-sizing: border-box;
}
.footer-list li:hover{
    border-bottom: 1px solid hsl(270, 9%, 17%);
    margin-bottom: 14px;
}
.help-me,.contact,.others{
    margin-left: 180px;
}
.footer-bg-img{
    position: absolute;
}
.footer-bg-img-mob{
    display:none;
}
@media screen and (max-width:900px)
{
    .container-img{
        flex-direction: column;
        margin:0;
        
    }
    .footer-bg-img{
        display:none;
    }
    .footer-bg-img-mob{
        display:block;
        position: absolute;
        width: 100%;
    }
    .footer-img-container{
        display: flex;
    }
    .footer-img{
        z-index:3;
    }
    .footer-logo{
        margin:0;
        margin-bottom:2.5rem;
    }
    .footer-container-2{
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    .our-company,.help-me,.contact,.others{
        margin:0;
        padding:0;
    }
    .footer-list {
        padding:0;
        margin: 0;
        
    }
}