@font-face {
    font-family: 'Kdam Thmor Pro';
    src: url('assets/Kdam_Thmor_Pro/KdamThmorPro-Regular.ttf') format('truetype');
}

body{
    margin: 0;
    padding: 0;
    color: white;
    font-family: 'MS UI Gothic', sans-serif;
    font-weight: 400;
}

/* Adding ticks as bullet points */

ul {
    list-style: none;
    padding-left: 10px;
}

ul li {
    background: url('assets/tick.svg') no-repeat left center;
    padding-left: 20px;
}

/* Addind hover on menu items */

a{
    position: relative;
}

.menu a::after,
.burger-menu nav a::after,
.footer-menu a::after{
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    background: white;
    transition: width 0.3s;
    left: 0;
    bottom: -5px;
}

.burger-menu nav a::after{
    background: #010118;
}

.menu a:hover::after,
.burger-menu nav a:hover::after,
.footer-menu a:hover::after{
    width: 100%;
}

/* Header */

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    background-color: #0B1426;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

.logo{
    max-height: 200px;
    display: flex;
    align-items: center;
    font-family: 'Kdam Thmor Pro';
    font-size: 15px;
}

.logo img{
    width: 40px;
    height: 30px;
}

.menu{
    display: flex;
    width: 40%;
    justify-content: space-evenly;
    align-items: center;
}

.menu a{
    text-decoration: none;
    color: white;
}

.sign{
    display: flex;
    width: 200px;
    justify-content: space-evenly;
    align-items: center;
}

.login{
    text-decoration: none;
    color: white;
}

.login:hover{
    text-decoration: underline;
}

.register{
    text-decoration: none;
    color: white;
    background-color: #0B1426;
    background-color: #1F88AA;
    padding: 10px 20px;
    border-radius: 25px;
}

.register:hover{
    background-color: white;
    color: #1F88AA;
}

.choose-language{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.choose-language select{
    background: none;
    color: white;
    background-color: transparent;
}

.choose-language option{
    color: black;
}

/* Revolutionary */

.revolutionary{
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #010118;
}

.main{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 50px 0;
}

.main h1{
    max-width: 400px;
    text-align: center;
    font-size: 50px;
    margin-bottom: 0;
}

.main h4{
    max-width: 400px;
    color: #949494;
    text-align: center;
    font-size: 20px;
    margin-top: 15px;
}

.main ul{
    margin-top: 10px;
    margin-bottom: 30px;
}

.main li{
    margin-top: 10px;
}

.main span{
    color: #1F88AA;
}

.main a{
    text-decoration: none;
    font-size: 25px;
    cursor: pointer;
    color: white;
    border: 1px solid white;
    padding: 10px 70px;
    margin: 30px 0 0 0;
    border-radius: 20px;
}

.main a:hover{
    background-color: white;
    color: #010118;
}

.bottom-main{
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    padding: 30px 15px;
    background-color: #010118;
    background: linear-gradient(to bottom, #010118 55%, #0B1426 100%);
    font-family: 'Kdam Thmor Pro';
    gap: 20px;
}

.bottom-main span{
    color: #1F88AA;
}

/* Conditions */

.conditions{
    display: flex;
    flex-wrap: wrap;
    padding: 50px 0;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(to bottom, #0B1426 20%, #060B1F 95%, #010118 100%);
}

.cond-left{
    width: 30%;
    min-width: 350px;
}

.cond-left ul{
    padding-left: 0;
}

.cond-left li{
    margin-top: 10px;
}

/* Trading platform */

.platform{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 50px 0;
    background-color: #010118;
}

.plat-top{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.plat-left{
    max-width: 400px;
}

.plat-left img{
    width: 100%;
}

.plat-right{
    display: flex;
    flex-direction: column;
    max-width: 500px;
    align-items: center;
    justify-content: center;
}

.plat-right li{
    margin-top: 20px;
}

.plat-bottom{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 50px 0;
}

.plat-bottom a{
    text-decoration: none;
    font-size: 25px;
    color: white;
    border: 1px solid white;
    padding: 10px 70px;
    border-radius: 20px;
    cursor: pointer;
}

.plat-bottom a:hover{
    background-color: white;
    color: #010118;
}


/* Possibilities */

.possibilities{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 50px 0;
    background: linear-gradient(to bottom, #010118 0%, #0B1426 10%, #060B1F 100%);
}

.possib-title{
    padding: 50px 0;
    font-size: 20px;
}

.possib-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
    max-width: 1200px;
}

.possib-item{
    width: 250px;
    height: 150px;
    margin: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #3E3C3C;
    background: linear-gradient(to bottom, #060C20, #070B3D);
}

.possib-item img{
    width: 30px;
    height: 30px;
}

.possib-item h3{
    margin: 5px 0 10px 0;
}

.possib-item p{
    color: #DCDCDC;
    margin: 0;
}


/* Mobile */

.mobile{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 50px 0;
    background-color: #010118;
    background: linear-gradient(to bottom, #060B1F 0%, #010118 10%);
}

.mobile-container{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1400px;
}

.mobile-left{
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.mobile-left div{
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-center{
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-center img{
    width: 100%;
}

.mobile-right{
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mobile a{
    text-decoration: none;
    font-size: 25px;
    color: white;
    border: 1px solid white;
    padding: 10px 70px;
    border-radius: 20px;
    margin: 50px 0 0 0;
    cursor: pointer;
}

.mobile a:hover{
    background-color: white;
    color: #010118;
}


/* Benefits */

.benefits{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 50px 0;
    background: linear-gradient(to bottom, #010118 0%, #0B1426 10%, #0B1426 70%, #060B1F 100%);
}

.benefits h2{
    margin-top: 30px;
}

.benefits p{
    color: #DCDCDC;
    text-align: center;
    max-width: 450px;
    margin: 0 0 50px 0;
}

.benefits-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
    max-width: 1200px;
}

.benefits-item{
    display: flex;
    flex-direction: column;
    width: 200px;
    margin: 15px;
    padding: 15px;
    background: linear-gradient(to bottom, #060C20, #070B3D);
    border: 1px solid #3E3C3C;
}

.benefits-item h1{
    font-size: 30px;
}

.benefits-item h4{
    margin: 0 0 10px 0;
    font-size: 15px;
}

.benefits-item p{
    color: #DCDCDC;
    text-align: center;
    font-size: 12px;
    line-height: 25px;
    height: 100px;
    margin: 20px 0
}

.benefits-item div{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #3E3C3C;
    padding: 10px;
}

.benefits-item a{
    display: flex;
    justify-content: center;
    text-decoration: none;
    color: #DCDCDC;
    border: 1px solid #3E3C3C;
    padding: 8px 15px;
    font-size: 15px;
}

.benefits-item a:hover{
    background-color: white;
    color: #010118;
}

.enjoy-trading{
    margin-top: 160px;
    font-size: 30px;
    max-width: 700px;
    text-align: center;
    /* font-family: "Kdam Thmor Pro"; */
}

.enjoy-register{
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 10px 70px;
    font-size: 25px;
    border-radius: 20px;
    margin: 0 0 100px;
}

.enjoy-register:hover{
    background-color: white;
    color: #010118;
}


/* Footer */

footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 100px;
    background: linear-gradient(to bottom, #060B1F 10%, #010118 100%);
    font-size: 10px;
    color: #DCDCDC;
}

.footer-top{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 100%;
}

hr{
    width: 98%;
    border: 1px solid #3E3C3C;
}

.footer-line1{
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 30px;
}

.footer-line1 a{
    text-decoration: none;
}

.footer-logo{
    max-height: 150px;
    display: flex;
    align-items: center;
    font-family: 'Kdam Thmor Pro';
    color: white;
    font-size: 15px;
}

.footer-logo img{
    width: 40px;
    height: 30px;
}

.footer-line2{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.footer-menu{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 20px 0;
}

.footer-menu a{
    text-decoration: none;
    color: white;
    font-size: 14px;
}

.risk{
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    margin: 20px 0;
    line-height: 20px;
}

.risk p{
    margin-bottom: 20px;
}

.risk-left{
    width: 45%;
}

.risk-right{
    width: 45%;
}




/* Media Queries */

/* Adding burger menu */
.burger{
    display: none;
    cursor: pointer;
}

.burger img{
    width: 40px;
    height: 40px;
    filter: invert(1);
    transform: scaleX(-1);
}

.burger-menu{
    display: none;
    z-index: 1001;
    height: 100%;
    position: fixed;
    background-color: white;
    left: -100%;
    transition: 0.3s ease;
    padding: 50px;
}

.burger-menu nav{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    
}

.burger-menu nav a{
    text-decoration: none;
    color: #010118;
    font-size: 30px;
}

.burger-close{
    height: 25px;
    width: 25px;
    align-self: flex-end;
    margin-bottom: 30px;
}

.burger-close img{
    width: 25px;
    height: 25px;
}

@media(max-width: 1100px){
    .menu{display: none;}

    .burger-menu{
        display:flex;
        flex-direction: column;
        align-items: center;
    }

    .burger{
        display: flex;
        justify-content: center;
        align-items: center;
    }
}


@media(max-width: 800px){
    .plat-left{
        max-width: 300px;
        margin-bottom: 20px;
    }

    .mobile-center{
        max-width: 300px;
    }

    footer{
        padding: 50px 15px;
    }
}

@media(max-width: 700px){
    .cond-left{
        margin-bottom: 30px;
        padding: 0 15px 30px 15px;
    }
}

@media(max-width: 600px){
    header{
        height: 80px;
    }

    .mobile-center{
        margin: 30px 0;
    }
}

@media(max-width: 500px){
    .logo{
        max-width: 60px;
    }
    
    .logo img{
        display: none;
    }

    .sign{
        width: 150px;
    }

    .register{
        padding: 10px 15px;
    }

    .main h1{
        font-size: 40px;
    }

    .main ul li{
        font-size: 15px;
    }

    .benefits p{
        max-width: 300px;
    }
}