*,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 0;
    margin: 0;
    margin-bottom: 0 !important;
}
body{
    font-family: "Montserrat", serif !important;
}

/*      Navbar      */
.media-nav{
    padding: 10px 4% !important;
}
.main-navbar {
    position: fixed;
    width: 100%;
    z-index: 20;
    background-color: white;
    top: 0;
}
.nav-back{
    width: 100%;
    padding: 5% 0;
}
.log-top{
    position: relative;
}
.logg-option{
    width: 45%;
    position: relative;
    top: 0;
    right: -45%;
    background-color: #1d71b7;
    padding: .6%;
    display: flex;
    justify-content: space-evenly;
}
.logg-option a{
    text-decoration: none;
    color: white;
    border: 1px solid white;
    font-size: 14px;
    border-radius: 8px;
    padding: .5% 6%;
}

.navbar{
    /* margin-top: 2.5%; */
    background-color: #F4FAFF;
    padding: 1% 8%;
}
.logo-icon-2{
    width: 15%;
}
.navbar-item {
    display: flex;
    align-content: center;
}
.navbar-item a{
    align-content: center;
    text-decoration: none;
    color: #6D737A;
    font-weight: 600;
    font-size: 15px;
}
.navbar-item a:nth-child(6){
    color: #FF782D;
}
.navbar-item a.active {
    color: #1D71B7;
}
.navbar-item a {
    padding: 0 20px;
}
.btn-group{
    padding: 0 20px;
}
.media-drop{
    display: none;
}
.log-drop{
    border: 1px solid rgb(104, 104, 104);
    padding: 6px 13px;
    border-radius: 10px;
    background-color: #F4FAFF;
}
.menu-bar{
    position: absolute;
    top: -300px;
    right: 0;
    background-color: #F4FAFF;
    border-radius: 20px;
    transition: all .5s;
}
.active-menu{
    top: 0;
}
.close-bar{
    right: 18px;
    position: absolute;
    top: 9px;
}
.menu-bar ul{
    list-style: none;
    padding: 16px;
    margin: 0;
}
.menu-bar ul li{
    padding: 3px 0;
}
.menu-bar ul li a{
    text-decoration: none;
    color: #6D737A;
    font-size: 14px;
    margin: 10px;
}
@media (max-width: 768px) {
    .nav-back {
        padding: 13% 0;
    }
    .logg-option{
        width: 70%;
        position: relative;
        top: 0;
        right: -22%;
        background-color: #1d71b7;
        padding: 2%;
        display: flex;
        justify-content: space-evenly;
    }
    .logg-option a{
        text-decoration: none;
        color: white;
        border: 1px solid white;
        font-size: 8px;
        border-radius: 4px;
        padding: .5% 6%;
    }

    .media-drop{
        display: block;
    }
    .logo-icon-2{
        width: 30%;
    }
    .navbar-item{
        display: none;
    }
    .log-drop{
        border: 1px solid rgb(104, 104, 104);
        padding: 4px 10px;
        font-size: 13px;
        border-radius: 10px;
        background-color: #F4FAFF;
    }


}



/*       Footer          */
.top-scroll{
    background: rgb(202, 202, 202);
    color: black;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 6%;
    right: 2%;
    text-align: center;
    align-content: center;
    cursor: pointer;
}
footer{
    background: #1d71b7;
    color: white;
}
footer a:hover{
    color: #f17853;
}
.footer-top{
    padding: 4% 1% 3%;
    position: relative;
}
.footer-logo{
    background: white;
    width: 42%;
    padding: 1% 2%;
    border-radius: 8px;
    margin-bottom: 8%;
}
.footer-log-text{
    color: white;
    font-size: 18px;
    /* padding: 8% 0 0; */
}
.footer-grids{
    display: block;
}
.footer-grids:nth-child(2), .footer-grids:nth-child(3){
    line-height: 35px;
}
.footer-grids h4{
    margin-bottom: 30px;
    font-weight: 600;
}
.footer-grids a{
    color: white;
    text-decoration: none;
    font-weight: 500;
}
.social-media{
    padding-top: 10px;
}
.social-media i{
    padding: 10px;
    background-color: #0a4b80;
    transition: all .4s;
    border-radius: 3px;
}
.bot-media i{
    background-color:#1d71b7 !important;
}
.social-media i:hover{
    background-color: #FF6636;
    color: white;
}

.email-footer{
    background: #f17853;
    color: black;
    display: flex;
    position: absolute;
    bottom: 0;
    left: 17%;
    gap: 30px;
    padding: 13px 22px;
    border-radius: 7px 7px 0 0;
}
.mail-text p{
    padding-top: 7px;
    font-size: 14px;
}
.bottom-footer{
    background-color: white;
    text-align: center;
    padding: 16px 0;
    color: #555555;
}

@media (max-width: 768px) {
    .footer-top{
        padding: 11px 28px !important;
    }
    .footer-grids h4 {
        margin-bottom: 17px;
        font-weight: 600;
    }
    .footer-grids:nth-child(2), .footer-grids:nth-child(3) {
        line-height: 25px;
    }
    .footer-grids{
        margin-top: 25px !important;
    }
    .bottom-footer {
        padding: 16px 4%;
    }
}



/*          registration           */
.regiter-form{
    text-align: center;
    align-content: center;
    padding: 8% 2% 5%;
}
.logintext{
    font-size: 35px !important;
}
.register-text{
    border: none;
    border-bottom: 1px solid #C3BCBC;
    width: 68%;
    height: 51px;
    font-size: 25px;
}
.regiter-but button{
    padding: 1% 6% !important;
    font-size: 17px !important;
}
.logintext-bottom{
    text-align: center;
    font-size: 17px !important;
    font-weight: 700;
    margin-bottom: 10%;
}
.def-text{
    color: black !important;
}

.regiter-form {
    display: none;
    opacity: 0;
    transform: rotateY(90deg);
    transition: all 0.4s ease-in-out;
}

.regiter-form.active {
    opacity: 1;
    display: block;
    transform: rotateY(0deg);
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}
@keyframes rotate {
    from {opacity: 0;}
    to {opacity: 1;}
}

.regiter-form.active {
    opacity: 1;
    display: block;
    animation: rotate 0.4s ease-in-out forwards;
}
.org-back{
    background-color: #ff7d00 !important;
}
.text-bagim{
    position: relative;
}
.text-bagim::before{
    content: '';
    background-image: url(/rivetacademy/public/assets/images/Vector_5.png);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 46%;
    transform: translateX(-50%);
    z-index: 2;
    display: block;
    bottom: -107%;
    pointer-events: none;
}
.refer-tab{
    margin: 0 !important;
    padding: 1% 5.6% !important;
}
.refer-tab:nth-child(1) {
    border-radius: 6px 0 0 6px !important;
}
.refer-tab:nth-child(2) {
    border-radius: 0 0 0 0 !important;
}
.refer-tab:nth-child(3) {
    border-radius: 0 6px 6px 0 !important;
}






/*        Refer Friends          */
.search-container-refer{
    border-radius: 10px !important;
    width: 80% !important;
    margin: 6% auto 3% !important;
}
.search-container-refer button{
    border-radius: 8px !important;
}
.refer-list {
    margin: 20px auto;
    padding: 35px 20px;
    background-color: #edf4f9;
    border-radius: 8px;
}

.card {
    background-color: #fff;
    padding: 20px;
}

.card:nth-child(even) {
    background-color: #e9f2f9;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.details h3 {
    margin: 0;
    font-size: 18px;
}

.details p {
    margin: 5px 0;
    color: #666;
}

.date {
    color: #333;
    font-size: 14px;
}
.regiter-form-ques{
    padding: 8% 24% 5%;
    text-align: left;
}
.regiter-form-ques ol{
    list-style-type: none;
    line-height: 35px;
    padding: 0;
}
.regiter-form-ques h3{
    text-align: left;
}
.faildeicon{
    text-align: center;
    color: #ff6636;
    font-size: 70px;
}
.sucdeicon{
    text-align: center;
    color: #1db737;
    font-size: 70px;
}

/* tab */
.tab-container {
    margin: 20px;
}
.tabs {
    display: flex;
    margin-bottom: 10px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    margin-right: 5px;
}

.tab.active {
    background-color: #fff;
    border-bottom: none;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}



/*      Modle           */
    /* Modal styling */
    .modal {
        display: none;
        position: fixed;
        z-index: 100;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgb(0, 0, 0);
        background-color: rgba(0, 0, 0, 0.4);
      }

      .modal-content {
        background-color: #fefefe;
        margin: 4vh auto 0;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
        border-radius: 50px;
      }
      .modal-refer {
        max-width: 48% !important;
        padding: 4% 8% !important;
        border-radius: 20px !important;
      }

      .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
      }

      .close:hover,
      .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
      }
    .regiter-but-modle button {
        padding: 2% 20% !important;
        font-size: 15px !important;
    }
      .refer-modle input {
        width: 100%;
        height: 40px;
        border: 1px solid #E3E5E8;
        border-radius: 6px;
        padding: 12px;
        box-shadow: 3px 3px 9px #c2c2c23d;
        margin-top: 18px;
    }
      .refer-modle textarea {
        width: 100%;
        height: 80px;
        border: 1px solid #E3E5E8;
        border-radius: 6px;
        padding: 12px;
        box-shadow: 3px 3px 9px #c2c2c23d;
        margin-top: 18px;
    }
    @media (max-width: 768px) {
        .modal-refer {
            max-width: 80% !important;
            padding: 4% 8% !important;
            border-radius: 20px !important;
          }
    }
