@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
 
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body
{
    overflow-x: hidden;
}
:root
{
    --black: #333;
    --green: #017143;
    --white: #fff;
    --white2:#fff;
    --black2:#333;
}
.dark
{
    --black: #fff;
    --white: #113828;;
    --black2:#124e36;
}
section
{
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--white);
}
header
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 150px;
    display: flex;
    justify-content: space-between;
    align-items:center;
    z-index: 1000;
}
header .logo
{
    position: relative;
    max-width: 70px;
}
header ul
{
    position: relative;
    display: flex;
    justify-content:center;
    align-items:center;   
}
header ul li 
{
    list-style: none;
    text-decoration: none;
    display:flex;
    margin-left: 30px;
}
header ul li a
{
    text-decoration:none;
    display: inline-block;
    font-weight: 500;
    text-decoration: none;
    color: var(--black);
    font-size: 1.2em;
}
.content
{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items:center;
    z-index: 2;
    margin: 20px;
}
.content .textBox
{
    position: relative;
    max-width: 700px;
    z-index: 2;
    margin-right: 20px;
}
.content .textBox p
{
    color: var(--black);
}

.content .textBox h2
{
    font-size: 3em;
    color: var(--black);
    line-height: 1.4em;
    font-weight: 700;
    margin-bottom: 10px;
}
.content .textBox h2 span 
{
    font-size: 1.2em;
    color: var(--green);
}
.dark .content .textBox h2 span 
{
    color: #00ff9b;
}

.content .textBox a
{
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    background-color: var(--green);
    color: var(--white2);  
    border-radius: 40px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
}
.content .imgBox
{
    position: relative;
    width: 500px;
    display: flex;
    justify-content:center;
    align-items:center;
    
}
/* .content .imgBox::before
{
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--green);
    border-radius:50%;
} */

.content .imgBox img
{
    position: relative;
    z-index: 1;
    max-width: 400px;
    max-height: 520px;
}
.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.4s ease;
}
.thumb li:hover {
    transform: translateY(-15px)

}
.thumb img {
    max-width: 50px;
}
.sci
{
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    justify-content:center;
    align-items:center;
    flex-direction: column; 
}
.sci li
{
    list-style: none;
    margin: 16px;
}
.sci li a 
{
    display: inline-flex;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background: var(--black2);
    color: var(--white2);
    border-radius:50%;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transform: scale(0.8)
}
.sci li a .fab
{
    font-size: 1.2em;
}
.sci li a:hover
{
    background: var(--green);
}
.circle {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #017143;
    clip-path: circle(600px at right 800px);
}
.themeSwitch
{
    position: relative;
    width:40px;
    height:40px;
    background: var(--black);
    border-radius: 50%;
    display: inline-flex;
    cursor: pointer;
    display: flex;
    justify-content:center;
    align-items:center;
}
.themeSwitch::before
{
    font-family: 'Font Awesome\ 5 Free';
    content: '\f186';
    color: var(--white);
    font-size: 20px;
}
.themeSwitch.active::before
{
    content: '\f185';   
}
@media(max-width:991px)
{
    section
    {
        padding: 150px 20px;
    }
    header
    {
        padding: 20px;
    }
    header ul li
    {
        margin: 10px 0;
        margin-left: 0;
    }
    header ul li
    {
        font-size: 1.5em;
        font-weight: 300;
    }
    .sci
    {
        position: absolute;
        bottom: 20px;
        left:20px
    }
    .content
    {
        flex-direction: column-reverse;
    }
    .content .textBox
    {
        margin-top: 20px;
    }
    .content .textBox,
    .content .imgBox
    {
        max-width:100%;
        margin-right: 0px;
    }
    .content .imgBox img
    {
        max-width:250px
    }
    .content .imgBox::before
    {
        clip-path: circle(130px at center);
    }
    .content .textBox h2
    {
        font-size: 2em;
    }
    .nav
    {
        display:none;
    }
    .nav.active
    {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items:center;
        background: var(--white);
        flex-direction: column;
    }
    .toggle
    {
        position: relative;
        width: 32px;
        height: 32px;
        background: url(/Web/luyentap6/assets/img/menu.png);
        filter: invert(1);
        background-size: 30px;
        background-position: center;
        background-repeat: no-repeat;
        cursor: pointer;
        z-index:1000;
    }
    .toggle.active
    {
        background: url(/Web/luyentap6/assets/img/close.png);
        filter: invert(1);
        background-size: 30px;
        background-position: center;
        background-repeat: no-repeat;
    }
    .dark .toggle
    {
        filter: invert(0);
    }
}



