* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #141414;
    color: #ffff;
}

.onebg {
    background-image: url(img/servicesbg.jpg);
    background-size: cover;
    background-position: center;
}

a {
    color: #FF4C00;
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #ff6a2a;
    font-size: 17px;
}

#header {
    /* background-image: url(img/learnbg.jpg); */
    background-size: cover;
    background-position: center;
    width: 100%;
    height: fit-content;
    /* margin-bottom: 30px; */
}

.header-top {
    display: flex;
    width: 100%;
    height: 10%;
}

.header-top h3 {
    margin: 40px 0 0 40px;
    width: 148px;
    transition: 0.3s;
}

.header-top h3:hover {
    transform: translateY(-10px);
}

.header-top h3:active {
    transform: translateY(0px);
}

.header-top h3 a {
    text-decoration: none;
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    /* border: 2px solid #ff0000; */
    padding: 15px 40px;
    background-color: #353535;
    border-radius: 30px;
    box-shadow: 0px 3px 7px #000000;
    transition: 0.3s ease-out;
}

.header-top h3 a:hover {
    background-color: #FF4C00;
    box-shadow: 0px 10px 3px #000000;
}

.header-top h3 a:active {
    box-shadow: 0px 0px 0px #0000;
}

.container {
    padding: 40px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.explain {
    width: 100%;
    height: fit-content;
    padding: 50px 70px;
    background: #353535;
    border-radius: 50px;
    background-color: rgba(53, 53, 53, 0.5);
    box-shadow: 10px 10px 15px 4px rgba(0, 0, 0, 0.5);
}

.main-img {
    float: left;
    display: block;
}

.main-img img {
    width: 100%;
    max-width: 600px;
    min-width: 350px;
    /* float: left; */
    /* margin-right: 30px; */
    border-radius: 17px;
}

.phn {
    display: none;
}

.main-img h6 {
    font-weight: 300;
}

.main-img h6 a {
    text-decoration: none;
    color: #FF4C00;
    transition: 0.3s;
}

.main-img h6 a:hover {
    font-weight: 400;
    font-size: 15px;
}

.explain h1 {
    font-size: 50px;
}

.explain p {
    font-size: 16px;
    color: #b9b9b9;
    text-align: justify;
}


/* ------- Result ------- */

.result {
    width: 100%;
    max-width: 600px;
    min-width: 200px;
}

.second-img {
    float: left;
    display: block;
}


/* ----------------- Semi-Phone Mode ----------------- */

@media only screen and (max-width: 825px) {

    .main-img {
        width: 100%;
        margin-bottom: 15px;
    }

    .lptp {
        display: none;
    }

    .phn {
        display: flex;
        margin: 0 auto;
    }

    .main-img img {
        width: 100%;
        max-width: 200px;
        min-width: 0px;
        /* float: left; */
        /* margin-right: 30px; */
        border-radius: 17px;
    }

    .explain h1 {
        font-size: 45px;
        text-align: center;
    }

}


/* ----------------- Phone Mode ----------------- */

@media only screen and (max-width: 600px) {

    .explain {
        padding: 50px 50px;
    }

    .explain h1 {
        font-size: 22px;
        text-align: center;
    }

    .explain p {
        font-size: 13px;
    }

}