@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body{
    background-color:#ffaea0;
}

/* navbar is here */
.title-x{
    color:#1e1e1e;
    position: absolute;
    z-index: 1;
    top:0;
    font-size: 35px;
    font-weight: bold;
    text-align: center;
   overflow: hidden;
   width: 100%;
   margin-top: 7px;
}

.logo{
    float: left;
}
.head-title{
    font-family:'EngraversGothic BT';
    font-size:larger;
    color: #fff;
    margin-left:-10px;
}


.start-btn{
    padding: 5px 10px;
    background-color:#f0ff1700;
    border: 1.5px solid #fff;
    margin-right: 20px;
    color: #fff;
    width: 14%;
    margin-top: 20px;
    font-size: 20px;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
}
.start-btn:hover{
    background-color: #ffffff;
    color:#000000;
}

/* home section starts from here */
.home{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    height: 100vh;
    background-color: #191921a6;
    position: relative;
    overflow: hidden;
}
.home-content{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}
.home-title{
    color: white;
    font-family:'EngraversGothic BT'; 
    font-size: 50px;
    letter-spacing: 1px;
    text-align: center;
}
.home-text{
    color: white;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    text-align: center;
    padding:10px 200px;
}

/* video is here */
video{
    position: absolute;
    right: 0;
    top:0;
    z-index: -1;
}

@media(min-aspect-ratio:16/8)
{
    video{
        width: 100%;
        height: auto;
    }
}

@media(max-aspect-ratio:16/8)
{
    video{
        width: auto;
        height: 100%;
    }
}
/* -------------------------------------------------------------------------------------------- */
.container-x {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
    min-height: 580px;
    background-color: #ffaea0;
}
.sec2-title{
font-size: 50px;
font-family: poppins;
font-weight: bold;
color: #2e2e2e;
margin-bottom: 30px;
}
#paragraph{
    color: #646669;
    word-break: keep-all;
}
.result-details{
    color: white;
}
::selection {
    color: #fff;
    background: #cdcdcd90;
}
.wrapper {
    width: 700px;
    padding: 35px;
    background: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    max-width: 100%;

}
.wrapper .input-field {
    opacity: 0;
    z-index: -999;
    position: absolute;
}
.wrapper .content-box {
    padding: 13px 20px 0;
    border-radius: 10px;
    border: 1px solid #ffffff;
}
.content-box .typing-text {
    overflow: hidden;
    max-height: 256px;
}
.typing-text::-webkit-scrollbar {
    width: 0;
}
.typing-text p {
    font-size: 21px;
    text-align: justify;
    letter-spacing: 1px;
    word-break: keep-all;
}
.typing-text p span {
    position: relative;
}
.typing-text p span.correct {
    color: #d1d0c5;
}
.typing-text p span.incorrect {
    color: #ca4754;
    border-radius: 4px;
}
.typing-text p span.active {
    background-color: #d6d6d668;
    color: yellow;
}
.typing-text p span.active::before {
    position: absolute;
    content: "";
    height: 2px;
    max-width: 100%;                                          /* update */
    bottom: 0;
    left: 0;
    opacity: 0;
    border-radius: 5px;
    background: #ffffff;
    animation: blink 1s ease-in-out infinite;
}
@keyframes blink {
    50% {
        opacity: 1;
    }
}
.content-box .content {
    margin-top: 17px;
    display: flex;
    padding: 12px 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    /* border-top: 3px solid #007acc; */
    border-top: 1px solid #ffffff;
}
.content button {
    outline: none;
    width: 105px;
    color: #ffffff;
    padding: 8px 0px;
    font-size: 17px;
    font-weight: 300;
    cursor: pointer;
    border-radius: 8px;
    border: 1.52px solid #ffffff;
    background: none;
    transition: transform 0.2s ease 0s;
}
.content button:active {
    transform: scale(0.89);
}
.content button:hover {
    background: #ffffff1e;
}
.content .result-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: calc(100% - 140px);
    justify-content: space-between;
}
.result-details li {
    display: flex;
    height: 20px;
    list-style: none;
    position: relative;
    align-items: center;
}
.result-details li:not(:first-child) {
    padding-left: 22px;
    border-left: 2px solid #bfbfbf;
}
.result-details li p {
    font-size: 13px;
}
.result-details li span {
    display: block;
    font-size: 13px;
    margin-left: 10px;
}
li span b {
    font-weight: 500;
}
li:not(:first-child) span {
    font-weight: 500;
}
.footer-text{
    background-color: #2e2e2e;
    color: #f3f3f3;
    text-align: center;
    font-size: 30px;
    font-weight: 400;
    padding: 40px 10px;
    margin-top: 40px;
    max-width: 100%;
}
.domain{
    background-color:#1e1e1e;
    color: #f3f3f3;
    text-align: center;
    font-size: 12px;
    padding: 10px 10px;
    max-width: 100%;
}
@media (max-width: 745px) {
                                                /* updated content is here */
                                                .home-title{
                                                    font-size: 45px;
                                                }
                                                .home-text{
                                                    font-size: 14px;
                                                    padding: 10px 90px;
                                                }
                                                .start-btn{
                                                    font-size: 16px;
                                                }
    .wrapper {
        padding: 20px;
    }
    .content-box .content {
        padding: 20px 0;
    }
    .content-box .typing-text {
        max-height: 100%;
    }
    .typing-text p {
        font-size: 19px;
        text-align: left;
    }
    .content button {
        width: 100%;
        font-size: 15px;
        padding: 10px 0;
        margin-top: 20px;
    }
    .content .result-details {
        width: 100%;
    }
    .result-details li:not(:first-child) {
        border-left: 0;
        padding: 0;
    }
    .result-details li p,
    .result-details li span {
        font-size: 15px;
    }
}
@media (max-width: 518px) {
                                     /* updated content is here */
     .home-title{
        font-size: 40px;
    }
    .home-text{
        font-size: 12px;
        padding: 10px 50px;
    }
    .start-btn{
        font-size: 14px;
    }
    .wrapper .content-box {
        padding: 10px 15px 0;
    }
    .typing-text p {
        font-size: 13px;
    }
    .result-details li {
        margin-bottom: 10px;
    }
    .content button {
        margin-top: 10px;
    }
}

.domain a {
    height: 20px;
}

.domain div a {
    color: white;
}

.domain {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    gap: 10px;
}

.google-tag-iframe {
    display:none;
    visibility:hidden
}