@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&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: center;
    align-items: center;
    overflow-x: hidden;
}

.bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fc4a55;
    transition: .5s linear
}

.bg::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background-color: rgba(0,0,0, .1);
}

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;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
}

header .navigation{
    position: relative;
    display: flex;
}

header .navigation li{
    list-style: none;
}

header .navigation li a{
    display: inline-block;
    color: #fff;
    font-weight: 400;
    margin-left: 10px;
    padding: 8px 15px;
    border-radius: 40px;
    text-decoration: none;
}

header .navigation li a.active,
header .navigation li a:hover{
    background-color: #fff;
    color: #333;
}

.content{
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
}

.content .textBox{
    position: relative;
    max-width: 600px;
}

.content .textBox h2{
    color:#fff;
    font-size: 4rem;
    line-height: 4.2rem;
    font-weight: 700;
}

.content .textBox p{
    color:#fff;
    margin-top: 20px;
}

.content .textBox a{
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    background-color: #fff;
    color:#333;
    border-radius: 40px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
}

.content .imgBox{
    position: relative;
    z-index: 1;
    width: 600px;
    display: flex;
    justify-content: flex-end;
}

.content .imgBox img{
    max-width: 400px;
}

.thumb{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    bottom: 20px;
}

.thumb li{
    list-style: none;
    display: inline-block;
    margin: 0 10px;
    cursor: pointer;
    transition: .5s;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border: 2px solid rgba(255, 255, 255, 0.25)
}

.thumb li.active{
    border: 2px solid rgba(255, 255, 255, 1);
}

.thumb li::before{
    position: absolute;
    top: -200px;
    left: -100px;
    content: attr(data-text);
    white-space: nowrap;
    font-size: 8rem;
    color: rgba(0,0,0, .05);
    opacity: 0;
    font-weight: 700;
    pointer-events: none;
}

.thumb li.active::before{
    opacity: 1;
}

.thumb li img{
    max-width: 60px;
}

.thumb li img{
    max-width: 50px;
}

.sci{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.sci li{
    list-style: none;
}

.sci li a{
    display: inline-block;
    margin: 5px 0;
    transform: scale(0.6);
    filter: invert(1);
}

/* mediaqueries */

@media (max-width: 991px){
    .bg::before{
        display: none;
    }

    header {
        padding: 20px;
    }
    section {
        padding: 20px;
        padding-bottom: 120px;
    }

    .content{
        margin-top: 100px;
        flex-direction: column;
    }

    .content .textBox{
        max-width: 70%;
    }

    .content .textBox h2{
        
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .content .imgBox{
        max-width: 100%;
        justify-content: center;
    }

    .content .imgBox img{
        max-width: 300px;
    }

    .thumb li{
        margin: 0 3px; 
        height: 55px;
    }

    .thumb li img{
        max-width: 40px;
    }

    .thumb li::before{
        position: absolute;
        top: -150px;
        left: 0;
        font-size: 6rem;
    }

    .sci{
        background:rgba(0, 0, 0, 0.1);
        right: 0;
        width: 50px;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
    }

    header .navigation{
        display: none;
    }

    header .navigation.active{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #cf4a55;
        z-index: 10;
        flex-direction: column;
    }

    header .navigation li a{
        font-size: 1.2rem;
        margin: 6px 0;
    }

    .toggle{
        position: relative;
        width: 30px;
        height: 30px;
        cursor: pointer;
        background: url(../img/menu.png) no-repeat;
        background-size: 30px;
        background-position: center;
        z-index: 100;
    }

    .toggle.active{
        position: fixed;
        right: 20px;
        background: url(../img/close.png) no-repeat;
        background-size: 25px;
        background-position: center;
    }
} 

@media (max-width: 450px){
    .content .textBox {
        max-width: 60%;
    }
}

@media (max-width: 400px){
    .content .textBox {
        max-width: 50%;
    }
}