@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
section{
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding:100px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background-color:#0062be;
    transition:0.5s;

}
header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding:20px 100px;
    display:flex;
    justify-content:space-between;
    align-items:center;

}
header .logo{
    position: relative;
    max-width: 80px;
}
 /* Nav Menu */
header ul{
   position: relative;
   display: flex; 
}
header ul li{
    list-style: none;

}
header ul li a{
    display: inline-block;
    color: #fff;
    font-weight: 400;
    margin-left:40px;
    text-decoration: none;
}
 /* Content Section */
.content{
    position: relative;
    width: 100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.content .textBox{
    position: relative;
    max-width: 600px;
}
.content .textBox h2{
    color: #ffffff;
    font-size: 4em;
    line-height:1.5em;
    font-weight: 900;
    text-transform: uppercase;
}
.content .textBox h2 span{
    font-size:2em;
}
.content .textBox p{
    color: #ffffff;
}
.content .textBox a{
    display: inline-block;
    margin-top: 20px;
    padding:8px 20px;
    background-color: #ffffff;
    color: #111;
    border-radius:40px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
}
.content .imgBox{
    width: 600px;
    display: flex;
    padding-right:50px;
    margin-top: 50px;
    justify-content:center;
}
.content .imgBox img{
    max-width: 240px;
}
/* Under Thumbnail */
.thumb{
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display:flex;
}
.thumb li{
    list-style: none;
    display:inline-block;
    margin: 0 20px;
    cursor: pointer;
    transition: 0.5s;
}
.thumb li:hover{
    transform:translateY(-15px)
}
.thumb li img{
    max-width: 40px;
}
.social{
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.social li{
    list-style: none;
}
.social li a{
    display: inline-block;
    filter:invert(1);
    margin: 5px 0px;
    transform: scale(0.6);
    
}
/* Maximum Device Width 991px */
@media (max-width: 991px) {
    section{
        padding: 40px;
        padding-bottom: 140px;
    }
    header{
        padding: 20px 40px;
    }
    header .logo{
        max-width: 60px;
    }
    /* Nav Menu */
    header ul{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 1;
        flex-direction:column;
        align-items:center;
        justify-content: center;
        transition: 0.2s;
        visibility: hidden;
        opacity: 0
    }
    header ul.active{
        visibility: visible;
        opacity: 1;
    }
    header ul li a {
        display: inline-block;
        color: #111;
        font-weight: 400;
        margin-left: 0;
        text-decoration: none;
        font-size: 2em;
        margin: 10px 0px;
    }
    header ul li a:hover{
        color: #ed0223;
    }

    /* Toggle Menu */
    .toggleMenu{
        position: relative;
        width: 40px;
        height: 40px;
        background: url(images/menu.png);
        background-position: center;
        background-size: 30px;
        background-repeat: no-repeat;
        z-index: 2;
        cursor: pointer;

    }
    .toggleMenu.active {
        background: url(images/close.png);
        background-position: center;
        background-size: 25px;
        background-repeat: no-repeat;
        filter: invert(1);
    }
    /* Content Section */
    .content {
        flex-direction: column;
        margin-top: 80px;
    }
    .content .textBox {
        position: relative;
        max-width: 100%;
        padding-right: 20px;
    }
    .content .textBox h2{
        color: #ffffff;
        font-size: 3em;
    }
    .content .textBox a{
        font-size: 14px;
        padding:8px 15px;
    }
    .content .imgBox{
        width: 100%;
        display: flex;
        padding-right:0px;
        margin-top: 50px;
        justify-content:center;
    }
    .content .imgBox img{
        max-width: 150px;
    }
    /* Under Thumbnail */
    .thumb li:hover{
        transform:translateY(-15px)
    }
    .thumb li img{
        max-width: 30px;
    }
    .social{
        position: absolute;
        top: 50%;
        right: 0px;
        width: 50px;
        background: rgba(0,0,0,0.2);
        transform: translateY(-50%);
        display:flex;
        justify-content: center;
        align-items: center;

    }
}

/* Maximum Device Width 457px */
@media (max-width: 457px) {
    section{
        padding: 20px;
        padding-bottom: 115px;
    }
    header .logo{
        max-width: 50px;
    }
    .content {
        margin-top: 60px;
    }
    .content .textBox {
        padding-right: 15px;
    }
    .content .textBox h2{
        font-size: 2em;
    }
    .content .textBox a{
        font-size: 12px;
        padding:6px 10px;
    }
    .content .textBox p{
        font-size:14px;
    }
    .content .imgBox{
        margin-top: 30px;
    }
    .content .imgBox img {
        max-width: 120px;
    }
    .social{
        width: 40px;
    }
}

/* Maximum Device Width 290px */
@media (max-width: 290px){
    section{
        padding: 15px;
        padding-bottom: 115px;
    }
    header .logo{
        max-width: 40px;
    }
    .content {
        margin-top: 60px;
    }
    .content .textBox {
        padding-right: 15px;
    }
    .content .textBox h2{
        font-size: 1.5em;
    }
    .content .textBox a{
        font-size: 11px;
        padding:4px 8px;
    }
    .content .textBox p{
        font-size:13px;
    }
    .content .imgBox img {
        max-width: 100px;
    }
    .social{
        width: 35px;
        background: none;
    }
    .social li a{
        margin: 0;
        transform: scale(0.4);
    }
}

/* 
Project Owner : Tonmoy Acherjee
Github Link   : https://github.com/tonmoyac
Linkding      : https://www.linkedin.com/in/tonmoyac */