.mainHead {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.headText {
    max-width: 60%;
    text-align: left;
    font-size: 4rem;
    line-height: 6rem;
    font-family: Taviraj, serif;
}


header {
    background-color: rgb(159 122 102);
    padding: 10px 0;
}

.videoContainer {
    width: 70%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-content: center;
}

h1, h2, h3, h4 {
    padding: 2rem 0;
}

.video_space {
    padding: 1.5rem 0;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.videoContainer>.video_space:nth-child(odd):nth-last-child(1) {
    position: relative;
    left: 50%;
}

.frameSize {
    height: 350px !important;
}

.commonDiv {
    display: flex;
    justify-content: center;
    padding: 5rem 0;
}

.commonText {
    text-align: left;
    width: 70%;
    font-family: Montserrat;
    font-size: 1.8rem;
    padding: 1.2rem 0;
    color: #666363;
    letter-spacing: 0.1rem;
    line-height: 3.5rem;
}

.mainImg {
    width: 70%;
}

.shareIcon {
    display: inline-block;
}

#wed {
    padding: 12px 20px;
    border-radius: 5px;
    width: fit-content;
    background-color: #9f7a66 !important;
    color: white !important;
}

.randomImg {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 5rem 0;
}

.hrBreak {
    width: 75%;
}

.frameSize {
    width: 100%;
    height: 600px;
}

.writtenBy {
    display: flex;
    justify-content: space-around;
    padding: 1rem 0;
    width: 70%;
}

.bookDiv {
    display: flex;
    justify-content: right;
    width: 60%;
}

.collageDiv {
    width: 60%;
    display: flex;
    flex-direction: column;
}

.bookSection {
    width: 40%;
}

.bookText {
    padding: 1rem 0;
    font-size: 1.5rem;
    width: 80%;
}

@media screen and (max-width: 750px) {
    .videoContainer {
        grid-template-columns: 1fr;
        gap: 0;
        width: 90%;
    }

    .videoContainer>.video_space:nth-child(odd):nth-last-child(1) {
        grid-column: auto;
        display: block;
    }

    .frameSize {
        height: 200px !important;
    }

    .video_space {
        width: 100%;
    }
    
}

@media screen and (max-width:600px) {
    .headText {
        font-size: 3rem;
        max-width: 90%;
        line-height: 4.5rem;
    }

    .shareIcon {
        display: block;
    }

    #wed {
        width: inherit;
    }

    .mainImg {
        width: 100%;
    }

    .bookText {
        width: 100%;
    }

    .bookSection {
        width: 100%;
        text-align: center;
    }

    .bookDiv {
        flex-direction: column;
        text-align: center;
    }

    .collageDiv {
        width: 90%;
    }

    .commonText {
        font-size: 1.4rem;
        width: 90%;
    }


    .randomImg {
        display: none;
    }

    #bookMobileLeft {
        padding-right: 0 !important;
    }

    #bookMobileRight {
        padding-left: 0 !important;
    }

    .hrBreak {
        width: 90%;
    }

    .writtenBy {
        flex-direction: column;
        width: 80%;
    }


    .videoContainer>.video_space:nth-child(odd):nth-last-child(1) {
        position: static;
    }

    .commonDiv {
        padding: 2rem 0;
    }
}