*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}
body{
    background-color: #242F9B;
    overflow-x: hidden;
}

h1, h2, h3, h4, p{
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    flex-wrap: nowrap;
}
.logo {
    padding: 20px 75px;
    color: black;
    font-size: 25px;
    font-weight: 900;
    font-style: italic;
    white-space: nowrap;
    
}
.navbar a{
    margin-top: 6px;
    text-decoration: none;
    color: black;
    font-size: 15px;
    font-style: initial;
}

.navbar{
    display: flex;
    gap: 25px;
    font-weight: 600;
    font-style: normal;
    margin-top: 5px;
}

.auth{
    padding: 10px 15px;
    color: black;
    font-size: 20px;
    font-style: normal;
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.auth a{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    background: #156CE8;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: color 0.3s ease;
    border: 2px solid black;
}
.auth a:hover{
    color: black;
border: solid 3px black;

}

.logindiv{
    padding: 10px 15px;
    color: black;
    font-size: 20px;
    font-style: normal;
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.logindiv a
{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    background: black;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: color 0.3s ease;
    border: 2px solid black;
}
.logindiv a:hover{
    text-decoration: underline;
    color: black;
    background-color: #ADD7FF;
    /* border: 4px solid blue; */
}

.signupbtn{
    cursor: pointer;
    background: #156CE8;
    padding: 8px 15px;
    border: 2px solid transparent;
    border-radius: 5px;
    color: white;
    font-size: 22px;
    transition: all 0.3 ease;
}
.signupbtn:hover{
transform: scale(1.05);
/* border: solid 3px black; */
color: black;
}

.hero-content{
    flex: 1;
}
.hero-content h1{
    padding-top: 50px;
    color: whitesmoke;
    font-size: 63px;
}

.hero-content p{
    color: whitesmoke;
    font-size: 18px;
    padding-bottom: 10px;
}
.hero-content button{
    cursor: pointer;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 22px;
    border: 2px solid transparent;
}
.hero-content button:hover{
    background-color: black;
    color: white;
}

.hero{
    width: 100%;
    max-width: 2500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-image{
    flex: 1;
    padding-top: 25px;
}
.hero-image img{
    max-width: 100%;
    height: auto;
    display: block;
}

.secB{
    background-color: #F4F4F4;
    overflow: hidden;
    padding-bottom: 150px;
}

.secB a{
    color: black;
    text-decoration: underline;
    padding: 90px;
    font-size: 30px;

}
.secB .startBloggingBtn{

    background-color: black;
    color: white;
    margin-left: 90px;
    transition: 0.3s ease;
}

.secB .startBloggingBtn:hover {

    transform: translate(-3px);
}
.secB h1{
    color: black;
    font-size: 55px;
    padding: 90px 95px;
}
.row{
    padding-left: 90px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.row h4{
    color: black;
    font-size: 18px;
    font-weight: 600;
}
.row p{
    color: black;
}

.secC{
    background-color: white;
    padding: 120px 150px;
}

.secCimg{
    margin-left: 7%;
}
.secCimg img{
    max-width: 100%;
    height: auto;
}

.secC h1{
    color: black;
    font-size: 43px;
    padding: 60px 1px;
}

.secC .row1{
display: grid;
grid-template-columns: repeat(auto-fit,  minmax(250px, 1fr));
gap: 40px;
}
.secC .box h4{
    font-size: 20px;
}
.secC .startBloggingBtn{
    padding: 12px 20px;
    font-size: 20px;
    border: 2px solid transparent;
    border-radius: 15px;
    color: white;
    background-color: black;
}

.secC .startBloggingBtn:hover{
    color: white;
    background-color: #156CE8;
}
.secC .homeblog-img{
    padding: 120px 150px;
}
.secD{
    background-color: #FA8971;
    padding: 120px 70px;
    
}
.secD .box{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 150px;
}

.secD .box h1{
    font-size: 55px;
}
.secD .box h4{
    font-size: 22px;
}
.secDbox button{

    color: white;
    background-color: black;
    border-radius: 16px;
    border: 2px solid transparent;
    font-size: 22px;
    padding: 10px 20px;
    transition: all 0.3 ease;
}
.secD button:hover{
    background-color: white;
    color: black;
}
.secE{
    background-color: #ADD7FF;
    padding-top: 230px;
    padding-bottom: 150px;
}
.secE h1{
    font-size: 120px;
    font-weight: 400;
    color: #014051;
}
.secE button{
    cursor: pointer;
    background-color:#014051;
    color: white;
    font-size: 30px;
    border: 2px solid transparent;
    border-radius: 100px;
    padding: 10px 40px;
    transition: all 0.3 ease;
}
.secE button:hover{
    transform: translate(-2px);
}

.secF{
    background-color: white;
    color: black;
    padding: 40px 80px;
    
}
/* .footer {
background-color: #0b2fe0;
color: white;
padding: 40px 80px;
} */

.footer-container {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}

.footer-box {
width: 220px;
}

.footer-box h3,
.footer-box h4 {
margin-bottom: 10px;
}

.footer-box a {
display: block;
color: black;
text-decoration: none;
margin: 6px 0;
}

.footer-box a:hover {
color: blue;
}

.footer-bottom {
text-align: center;
margin-top: 30px;
font-size: 14px;
color: gray;
}

.startBloggingBtn{
    cursor: pointer;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 22px;
    border: 2px solid transparent;
}

@media (max-width: 768px){

    .header{
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 10px 10px;
    }

    .logo{
        padding: 5px;
        margin-top: 2px;
        font-size: 8px;
    }

    .navbar{
        padding: 1px;
        display: flex;
        gap: 8px;
    }
    .navbar a{
        font-size: 10px;
    }

    .auth{
        align-items: center;
        padding: 0;
        gap: 4px;
    }

    .auth a{
        padding: 2px;
        gap: 4px;
        font-size: 8px;
    }
    .auth .signupbtn{
        padding: 2px;
        font-size: 8px;
    }

    .logindiv{
        margin-top: 7px;
        padding: 0;
        gap: 1px;
    }
    .logindiv a{
        padding: 2px;
        font-size: 8px;
    }

    .hero{
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-content h1{
        font-size: 24px;
    }

    button{
        width: 100%;
    }

    .secB {
        flex-direction: row;
        text-align: center;
        
    }

    .secB h1{
        font-size: 18px;
    }

    .secB .row{
        flex-direction: column;
        text-align: center;
        padding: 20px 20px;
    }
    .btn-wrapper{
        display: flex;
        justify-content: center;
        padding-right: 68px;
    }

    .secC{
        padding: 70px 55px;
        margin: 0;
    }
    .secCimg{
        width: 100%;
        width: 100%;
        margin: 0;
    
        
    }

    .secC h1{
        font-size: 25px;
    }

    .secCimg img {

        width: 100%;
        height: auto;
        max-width: 100%;
        border-radius: 10px;
    }

    .secD {
        padding: 20px 20px;
    }

    .secD .box{

        display: flex;
        flex-direction: column;
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .secD .box h1{
        font-size: 20px;
    }
    .secDbox{
        width: 100%;
        height: auto;
    }
    .secDbox img{
        width: 100%;
    }
    .secE{
        width: 100%;
        height: auto;
    }
    .secE h1{
        font-size: 30px;
    }
    .secE button{
        width: 60%;
        height: auto;
        font-size: 14px;
    }
    .footer-container{
        flex-direction: column;
        gap: 10px;
    }
}