#main-section {
    margin: 4% 0;
}

.main-sec .container {
    display: flex;
    justify-content: space-between;
}

.main-sec h1 {
    font-family: Georgia, 'Times New Roman', Times, serif Black;
    line-height: 150%;
    padding-right: 20%;
    font-weight: 700;
}

.main-sec p {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    padding-top: 3%;
    padding-right: 8rem;
}

.main-sec .main-text {
    position: relative;
}

.main-sec .main-img img {
    width: 100%;
    height: 100%;
}

.main-sec .logo {
    height: 10%;
}

.main-sec .factcard {
    top: 3rem;
    right: -4rem;
    position: absolute;
    border-radius: 5px;
    width: 12rem;
    padding: 1.5rem 1rem;
    z-index: 1;
    background-color: white;
    box-shadow: rgba(149, 157, 165, 0.2) 8px 8px 8px 8px;
    animation: itupdown 1.3s infinite alternate;
}

.main-sec .factcard .theme i {
    color: #0AB99d;
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 15px;
    font-style: normal;
}

.main-sec .factcard span {
    display: block;
    text-align: center;
}

@keyframes itupdown {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        -webkit-transform: translateY(-0.7rem);
        transform: translateY(-0.7rem);
    }

}

.main-sec .btn-main {
    padding: 0.7rem 0.6rem;
    border-radius: 9px;
    border-color: rgb(47, 104, 210);
    font-size: 1.1rem;
    background-color: rgb(47, 104, 210);
    color: white;
    font-weight: 600;
    cursor: pointer;
    border-width: 0;
}

.main-sec a {
    text-decoration: none;
    color: white;
}

.main-sec .un {
    color: black;
    text-decoration: underline;
    font-size: 18px;
    padding-left: 10px;
}


@media only screen and (min-width:367px) and (max-width: 545px) {

    .main-sec .factcard {
        display: none;
    }


}

@media only screen and (max-width:600px) {

    .main-sec .main-text {
        text-align: center;
    }

    .main-sec .container {
        flex-direction: column-reverse;
        gap: 1.5rem;
    }

    .main-sec h1 {
        line-height: 3rem;
        padding-top: 0;
        padding-right: 0;
        margin-left: 0;
    }


}