.firstSection {
    /* background-color:red; */
    height: 500px;
    display: flex;
    justify-content: center;

}


.firstSectionTitle {
    /* background-color: orange; */
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Playfair Display";
    font-size: 40px;
    font-weight: 600;
    margin : 30px 8%;
    color: darkgoldenrod;
    text-align : center;
}

.firstSectionDiv {
    /* background-color: orange; */
    width: 100%;
    height: 100%;
}

.biggestDiv {
    /* background-color: red; */
    position: relative;
    width: 100%;
    height: 550px;
    display: flex;
    justify-content: center;
}

.imageParent {
    position: relative;
    width: 80%;
    height: 90%;
    z-index: 5;
    border: 1px solid transparent;
    border-radius: 20px;
}

.opacityDiv {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.052);
    width: 100%;
    height: 100%;
    z-index: 6;
    border: 1px solid none;
    border-radius: 20px;
}

.onePosition {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border: 1px solid none;
    border-radius: 20px;
    display: none;
}

.onePosition img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid none;
    border-radius: 20px;
}

.onePosition img .active {
    z-index: 2;
}

.onePosition.active {
    display: block;

}


.arrows {
    /* background-color: red; */
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 7;
    pointer-events: none;
    height: 40px;
}


.arrows i {
    pointer-events: auto;
    /* Allows clicking the arrows */
    color: rgba(255, 255, 255, 0.788);
    background-color: transparent;
    border: 0.5px solid;
    border-color: rgba(255, 228, 196, 0.734);
    border-radius: 100%;
    cursor: pointer;
            padding: 11px 25px 0px 15px;
    transition: 0.2s ease;
}

.arrows i:hover {
    background-color: rgba(180, 180, 180, 0.767);
}

.sanctuary {
    position: absolute;
    font-size: 40px;
    transform: translate(85px, 70px);
    color: gold;
    font-family: "Playfair Display";
    z-index: 7;
}

.secondSection {
    /* background-color: red; */
    margin-top: 180px;
    width: 100%;
    height: 1600px;
    margin-bottom: 500px;
}

.secondSectionFirstDiv {
    margin: 30px 8%;
}

.secondSectionTopText {
    /* background-color: blue; */
    font-size: 40px;
    font-weight: 600;
    font-family: "Playfair Display";
    text-align: center;
    color: goldenrod;
    margin : 30px;
}

.cardsParent {
    /* background-color: orange; */
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content : space-between;
}

.sameBorder {
    border-radius: 10px;
    line-height: 35px;
}

.firstCard {
    /* background-color: rgba(139, 131, 131, 0.733); */
    width: 30%;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    transition: 0.15s;
    margin-bottom : 40px;
}
.firstCard:hover{
    transform: translateY(-7px);
    box-shadow: 0 0 35px 0px rgb(100, 121, 138);
}

.firstCard img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.photoName {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 26px;
    font-weight: 600;
    text-align: center;
}

.BookBotton {
    Margin-top: 30px;
    width : 100%;
    height: 40px;
    border-radius: 5px;
    font-size: 18px;
    letter-spacing: 1px;
    border-color: transparent;
    transition: 0.3s ease;
    background-color: rgb(230, 230, 230);
}

.BookBotton:hover {
    background-color: goldenrod;
    cursor: pointer;
}

.photoName {
    color: goldenrod
}

.photoDescribtion {
    font-size: 20px;
}


.goldenSpan {
    color: gold;
}

footer {
    margin-top: 500px;
}

/* const firstCard = document.querySelector('.card');
firstCard.style.backgroundColor = 'yellow';
مسكت الكلاس، واثرت عليه. هنا مثلا اديه لون.
*/
@media screen and (max-width : 1340px){
    .cardsParent {
        justify-content : space-around;
    }
    .firstCard {
        width : 40%;
    }
    
}
@media screen and (max-width : 988px){
    .firstCard {
        width : 45%;
    }
    .secondSectionFirstDiv {
        margin: 80px 4%;
    }
    .secondSectionTopText {
        font-size: 35px;
    }
}
@media screen and (max-width : 784px){
    .firstCard {
        width : 70%;
    }
}
@media screen and (max-width : 517px){
    .firstCard {
        width : 90%;
    }
    .secondSectionTopText {
        font-size: 35px;
    }
    .biggestDiv {
        height: 350px;
    }
}
@media screen and (max-width : 400px){
    .firstCard {
        width : 100%;
    }
    .photoName {
        font-size : 20px;
    }
    .secondSectionTopText {
        font-size: 25px;
    }
}
