*{
    padding: 0;
    margin: 0;
    font-family: 'Josefin Sans', sans-serif;
    box-sizing: border-box;
}
html, body {
    scroll-behavior: smooth;
}
.hero{
    height: 100vh;
    width: 100%;
    background-image: url("./bannerportfolioweb.jpg");
    background-size: contain;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}
.hero::before{
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("./bannerportfolioweb.jpg");
    background-size: contain;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    z-index: -1;
}
body{
    background-color: #011C40;
}

.content{
    width: 80%;
    margin: 160px auto;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 45px;
    padding-left: 8%;
    padding-right: 8%;
}
.logo{
    color: white;
    font-size: 35px;
    letter-spacing: 1px;
    cursor: pointer;
}
nav ul li{
    list-style-type: none;
    display: inline-block;
    padding: 10px 25px;
}
nav ul li a{
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: capitalize;
}
nav ul li a:hover{
    color: #2573D9;
    transition: .4s;
}
.btn-download{
    background-color: #2573D9;
    color: white;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 30px;
    transition: transform .4s;
}
.btn-download:hover{
    transform: scale(1.2);
}
.content{
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
}
.about{
    width: 80%;
    padding: 150px 0px;
}
.about-text{
    width: 600px;
}
.main{
    width: 1130px;
    max-width: 95%;
    margin-left: 15%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.about-text h5{
    color: white;
    letter-spacing: 2px;
    font-size: 22px;
    margin-bottom: 25px;
    text-transform: capitalize;
}
span{
    color: #D8D321;
}
.about-text p{
    color: #D8D321;
    letter-spacing: 1px;
    line-height: 28px;
    font-size: 18px;
    margin-bottom: 30px;
}
.projects{
    width: 80%;
    padding: 80px 0px;
}
.container{
    margin-top: -400px;
    margin-bottom: 150px;
    position: relative;
    z-index: 1;
}
.title h2{
    color: white;
    font-size: 75px;
    width: 100%;
    margin: 30px auto;
    text-align: center;
}
.box{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}
.card{
    height: 365px;
    width: 835px;
    padding: 20px 35px;
    background: #011126;
    border-radius: 20px;
    margin: 15px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
h5{
    color: #D8D321;
    font-size: 21px;
    margin-bottom: 15px;
    text-align: center;
}
footer{
    position: relative;
    width: 100%;
    height: 400px;
    background: #011126;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
footer p:nth-child(1){
    font-size: 30px;
    color: white;
    margin-bottom: 20px;
    font-weight: bold;
}
footer p:nth-child(2){
    color: white;
    font-size: 17px;
    width: 430px;
    text-align: center;
    line-height: 26px;
}
footer p:nth-child(3) {
    color: white;
    font-size: 17px;
    width: 430px;
    text-align: center;
    line-height: 26px;
}
.social{
    display: flex;
}
.social a{
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2573D9;
    border-radius: 50%;
    margin: 22px 10px;
    color: white;
    text-decoration: none;
}
.social a:hover{
    transform: scale(1.3);
    transition: .3s;
}
.end{
    position: absolute;
    color: #D8D321;
    bottom: 35px;
    font-size: 14px;
}
#back-to-top{
    position: fixed;
    right: 25px;
    bottom: 25px;
    background-color: #2573D9;
    color: white;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.5s;
}
#back-to-top:hover{
    background-color: #011C40;
    opacity: 5;
}