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

.hero{
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.979);
    background-image: url(page1.png);
    background-size: cover;
    background-position: center;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 45px;
    padding-left: 8%;
    padding-right: 8%;
}

.logo{
    color: white;
    font-size: 60px;
    letter-spacing: 1px;
    cursor: pointer;
}

.logo::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 292%;
    background: rgba(0, 0, 0, 0.76);
    animation: showRight 1s ease forwards;
    animation-delay: 0.4s;
}

@keyframes showRight{
    100%{
        width: 0;
    }
}

span{
    color: rgb(51, 173, 255);
}

nav ul li{
    list-style-type: none;
    display: inline-block;
    padding: 10px 25px;
}

nav ul li a{
    color: aliceblue;
    text-decoration: none;
    font-weight: bold;
    text-transform: capitalize;
}

nav ul li a:hover{
    color: rgb(255, 0, 0);
    transition: 0.4s;
}

.btn{
    background-color: red;
    color: aliceblue;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 30px;
    transition: transform 0.4s;
}

.btn:hover{
    transform: scale(1.2);
}

.content{
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
}

.content::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.76);
    animation: showRight 1s ease forwards;
    animation-delay: 0.4s;
}

@keyframes showRight{
    100%{
        width: 0;
    }
}

h1{
    color: aliceblue;
    margin: 20px 0px 20px;
    font-size: 75px;
}

h3{
    color: aliceblue;
    font-size: 25px;
    margin-bottom: 50px;
}

h4{
    color: rgb(255, 255, 255);
    letter-spacing: 2px;
    font-size: 20px;
}

.newslatter form{
    width: 380px;
    max-width: 100%;
    position: relative;
}

.newslatter form input:first-child{
    display: inline-block;
    width: 100%;
    padding: 14px 130px 14px 15px;
    border: 2px solid rgb(255, 0, 0);
    outline: none;
    border-radius: 30px
    
}

.newslatter form input:last-child{
    position: absolute;
    display: inline-block;
    outline: none;
    border: none;
    padding: 10px 30px;
    border-radius: 30px;
    background-color: red;
    color: aliceblue;
    box-shadow: 0px 0px 5px black, 0px 0px 15px gray;
    top: 6px;
    right: 6px;
    cursor: pointer;
}

.newslatter form::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.76);
    animation: showRight 1s ease forwards;
    animation-delay: 0.4s;
}

@keyframes showRight{
    100%{
        width: 0;
    }
}

.about{
    width: 100%;
    padding: 100px 0px;
    background-color: rgba(0, 0, 0, 0.938);
}

.about img{
    height: auto;
    width: 430px;
}

.about-text{
    width: 550px;
}

.main{
    width: 1130px;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.about-text h2{
    color: aliceblue;
    font-size: 75px;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.about-text h5{
    color: aliceblue;
    letter-spacing: 2px;
    font-size: 22px;
    margin-bottom: 25px;
    text-transform: capitalize;

}

.about-text p{
    color: aliceblue;
    letter-spacing: 1px;
    line-height: 28px;
    font-size: 18px;
    margin-bottom: 45px;
}

.toabout{
    background-color: red;
    color: aliceblue;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 13px 30px;
    border-radius: 30px;
    transition: 0.4s;
}

.toabout:hover{
    transition: 0.4s;
    background-color: transparent;
    border: 2px solid red;
    cursor: pointer;
    padding: 10px;
}

.service{
    background-color: rgba(0, 0, 0, 0.938);
    width: 100%;
    padding: 100px 0px;
}

.title h2{
    color: white;
    font-size: 75px;
    width: 1130px;
    margin: 30px auto;
    text-align: center;
}

.box{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.card{
    height: 365px;
    width: 335px;
    padding: 20px 35px;
    background: rgba(59, 59, 59, 0.849);
    border-radius: 20px;
    margin: 15px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.card i{
    font-size: 50px;
    display: block;
    text-align: center;
    margin: 25px 0px;
    color: red;
}

h5{
    color: aliceblue;
    font-size: 23px;
    margin-bottom: 15px;
}

.pra p{
    color: aliceblue;
    font-size: 14px;
    line-height: 23px;
    margin-bottom: 25px;
}

.card .button{
    background-color: red;
    color: aliceblue;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 9px 22px;
    border-radius: 30px;
    transition: 0.4s; 
}

.card .button:hover{
    background-color: transparent;
    border: 2px solid red;
    cursor: pointer;
    transform: scale(1.5);
    padding: 10px;
}

.contact-me{
    width: 100%;
    height: 290px;
    background: rgba(0, 0, 0, 0.849);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.contact-me p {
    color: aliceblue;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 25px;
}

.contact-me .button-two{
    background-color: red;
    color: aliceblue;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 13px 30px;
    border-radius: 30px;
    transition: 0.4s;
}

.contact-me .button-two:hover{
    background-color: transparent;
    border: 2px solid red;
    cursor: pointer;
    transform: scale(1.5);
    margin: 20px;
}

footer{
    position: relative;
    width: 100%;
    height: 300px;
    background: rgba(29, 29, 29, 0.945);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer p:nth-child(1){
    font-size: 30px;
    color: aliceblue;
    margin-bottom: 20px;
    font-weight: bold;
}

footer p:nth-child(2){
    color: aliceblue;
    font-size: 17px;
    width: 500px;
    text-align: center;
    line-height: 26px;
}

.social{
    display: flex;
}

.social a{
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: red;
    border-radius: 50%;
    margin: 22px 10px;
    color: aliceblue;
    font-size: 20px;
    text-decoration: none;
    transition: 0.3s;
}

.social a:hover{
    transform: scale(1.3);
    transition: 0.3s;
}

.end{
    position: absolute;
    color: red;
    bottom: 35px;
    font-size: 14px;
}