main{
    height: 100vh;
    position: relative;
}
body{
    background-attachment: fixed;
}
.text-box{
    position: absolute;
    top: 50%;
    left:50%;
    width: 80%;
    transform: translate(-57%, -50%);
    color: white;
    text-decoration: none;
}
.text-box h1{
    font-size: clamp(1rem, 3.8vw, 3rem);
    margin-bottom: 1.3rem;
    color: white;
    text-shadow: 0px 3px 4px rgba(0,0,0,0.5);
    font-family: 'Poppins', sans-serif;
}
.text-box h1 span{
    font-size: clamp(2.1rem, 4.5vw, 4rem);
    color: var(--light-blue);
}
.text-box p{
    margin-bottom: 3.8rem;
    margin-top: 0;
    font-size: 1.25rem;
    text-shadow: 0px 3px 4px rgba(0,0,0,0.5);
    font-family: var(--primary-font);
    width: min(800px, 60%);
    line-height: 2rem;
    color: rgb(218, 218, 218);
}
.text-box p span{
    color: var(--light-blue);
    font-weight: 500;
}
.main-btn1{
    text-decoration: none;
}
.read-more{
    font-size: 18px;
    padding: 12px 43px;
    color: white;
    background-color: var(--primary-green);
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.35s;
    font-family: var(--primary-font);
    font-weight: 500;
    border: 0;
}
.read-more:hover{
    background-color: var(--darker-green);

}
.main-btn2{
    text-decoration: none;
}
.my-work-btn{
    font-size: 18px;
    padding: 12px 43px;
    color: white;
    cursor: pointer;
    text-decoration: none;
    background-color: #0e56bb;
    border-radius: 3px;
    font-family: var(--primary-font);
    font-weight: 500;
    border: none;
    margin-left: 20px;
    transition: all 0.4s;
}
.my-work-btn:hover{
    background-color: #1a4292;

}
@media (max-width: 50rem) {
    main{
        padding-inline: 10px ;
    }
    .text-box{
        text-align: center;
        margin-left: 0;
        left: 50%;
        transform: translate(-50%, -50%);
        margin-left: 0;
    }
    .text-box p{
        text-align: center;
        width: 100%;
     }
    .text-box h1{
        text-align: center;
    }
    body{
        background-position: center left;
    }
}
@media (max-width: 47.1875rem) {
    .read-more{
        /* display: block; */
        /* width: 100%; */
        text-decoration: none;
        text-align: center;
    }
    .my-work-btn{
        margin-top: 20px;
    }
}
@media (max-width: 485px){
    .my-work-btn{
        margin-left: 0px;

    }
}