@import url('https://fonts.googleapis.com/css?family=Poppins:wgth@300;400;500;600;700;800;900&display=swap');

.authorInfo{
    display: flex;
    min-height: 110vh;
    width: 100%;
    padding: 10px 10px 10px 10px;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url(../others/space3.jpg);
    background-clip: cover;
    background-position: center 100%;
}

.authorInfo .authorContainer,
.authorContainer .authorInnerContainer{
    padding: 10px 10px 10px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}


.authorContainer .authorInnerContainer{
    flex-direction: column;
    margin-top: 8rem;
}

.authorInnerContainer .authorDetails{
    padding: 10px 10px 10px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-bottom: 20px; */
}

.authorDetails img{
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.673);
    transition: 0.6s;
    border-radius: 20px;
    width: 30%;
    margin: 5px 5px 5px 5px;
    opacity: 0.8;
}

.authorDetails img:hover{
    transform: scale(1.1);
    opacity: 1;
}

.authorDetails span{
    font-size: 15px;
    font-weight: 500;
    color: antiquewhite;
    margin-right: 25px;
    margin-left: 25px;
}

@media screen and (max-width: 1120px) {
    .authorInfo{
        min-height: 82.5vh;
    }
    /* Adjust the styles for screens with a maximum width of 768px */
    .authorInfo .authorContainer,
    .authorContainer .authorInnerContainer {
        flex-direction: column;
        align-items: center;
    }

    .authorDetails img {
        width: 60%;
    }

    .authorDetails span {
        font-size: 12px;
        margin-right: 10px;
        margin-left: 10px;
    }
}