*{
    margin: 0;
    padding: 0;
}
main{
    height: 100%;
    width: 100%;
    background-color: #51515B;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.title{
    width: 300px;
    border-bottom: 2px solid #F58121;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    padding-bottom: 10px;
    margin-top: 20px;
}
main .maincard{
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
}
.maincard span{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 60%;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.maincard img{
    height: 300px;
    border: 2px solid white;
}
.title2{
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    padding-bottom: 10px;
    margin-top: 20px;
}

main .box3{
    width: 100%;
    height: 100%;
    background: url('../images/engineer-working-nuclear-power-plant.jpg');
    background-size: cover; /* Cover the entire viewport */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat;
    background-attachment: fixed; /* Fixed background scrolling */
}
.box3 .b3{
    padding: 20px 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.b3 p{
    font-size: 30px;
}
.b3 span{
    width: 80%;
    font-size: 20px;
}
.tit{
    width: 400px;
}
main .box4{
    width: 100%;
    height: 100%;
    display: flex;
}
.box4 .box41{
    width: 50%;
    height: 100%;
    background-color: #F58121;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    gap: 30px;
}
.box4 .box42{
    width: 50%;
    height: 100%;
    background-color: black;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    gap: 30px;
}
.box41:hover{
    background-color: white;
    color: #F58121;
    transition: 0.5 ease;
}
.box42:hover{
    background-color: white;
    color: black;
    transition: 0.5 ease;
}
.box4 p{
    font-size: 35px;
}
.box4 span{
    width: 80%;
    font-size: 20px;
}


@media screen and (max-width: 700px) {
    main .maincard span{
        width: 90%;
    }
    .maincard img{
        height: 180px;
    }
    .tit{
        width: 90%;
    }
    .box4{
        flex-direction: column;
    }
    .box4 .box41, .box4 .box42{
        width: 100%;
    }
    .box41 p, .box42 p{
        font-size: 25px;
    }
}