@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

    *::selection {
        background-color: #7a0b7a;
        color: white;
    }

p {
    line-height: 30px;
}

/*intro*/
#intro {
    height: 350px;
    background-image: url(../images/IndexBanner.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

section > div {
    width: 80%;
    max-width: 2000px;
    margin: 100px auto;
}

h1 {
    font-size: 40px;
    margin-bottom: 30px;
}

#welcome p {
    margin: 25px 0;
}

main ul {
    margin-left: 50px;
}

main ul li {
    margin:20px 0;
}

main h2 {
    font-size: 35px;
    text-align: center;
}

#collection {
    margin: 50px 0;
}

.book div:first-child {
    margin: 0 auto;
}

.book {
    text-align: center;
    padding: 30px 0;
    transition: 0.3s all ease;
}

.book div:first-of-type{
    width: 80%;
}


.book h3 {
    padding-top: 25px;
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 20px;
}

.book .button {
    display: flex;
    width: 50%;
    max-width: 200px;
    text-align: center;
    margin: 10px 0;
    margin: 25px auto;
    border-radius: 5px;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.book .button a {
    flex: 1;
    padding: 7px;
    text-decoration: none;
    background-color: #7a0d80;
    color: #fff;
    border-radius: 5px;
}

.book .button a:hover {
    background-color: #f774f7;
  box-shadow: 0 0 10px #f774f7;
  transform: scale(1.05);
  outline: none;
}

span {
    color: #f774f7;
    font-weight: bold;
}

.book:hover {
    -webkit-box-shadow: 0px 5px 10px 2px rgba(247,116,247,1);
    -moz-box-shadow: 0px 5px 10px 2px rgba(247,116,247,1);
    box-shadow: 0px 5px 10px 2px rgba(247,116,247,1);
    transform: translateY(-2px);
}

.book img {
    max-height: 320px;
}

main img {
    width: 100%;
    height: auto;
}

/*header*/
/*social header*/
.social-header {
    border-bottom: 2px solid #f0f4fa;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    height: 35px;
}

.social-header > a {
    padding-top: 7px;
    margin-right: 30px;
    text-decoration: none;
    color: black;
    font-weight: 600;
    font-size: 15px;
}

.social-header > a:hover {
    color: #f774f7;
}

.icons-header {
    display: flex;
    width: 200px;
    justify-content: space-evenly;
    font-size: 17px;
    margin-left: 5px;
}

.icons-header a:hover,
.icons-header a:focus {
    color: #f774f7;
}

.icons-header p {
    padding-top: 4px;
}

/*Nagivation*/
nav {
    padding-top: 30px;
    z-index: 99;
    width: 100%;
    height: 120px;
}

nav .wrapper {
    position: relative;
    max-width: 1300px;
    padding: 0px 30px;
    height: 70px;
    line-height: 70px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wrapper .logo a {
    color: black;
    font-size: 30px;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Cinzel Decorative', sans-serif;
}

.wrapper .nav-links {
    display: inline-flex;
}

.nav-links li {
    list-style: none;
}

.nav-links li a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 9px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    border-bottom: 2px solid #f774f7;
}

.mega-links li a:hover {
    border: none;
}

.nav-links .mobile-item {
    display: none;
}

.nav-links .drop-menu {
    position: absolute;
    width: 180px;
    line-height: 45px;
    top: 85px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
    transition: all 0.3s ease;
    top: 70px;
    opacity: 1;
    visibility: visible;
}

.drop-menu li a {
    width: 100%;
    display: block;
    padding: 0 0 0 15px;
    font-weight: 400;
    border-radius: 0px;
}

.mega-box {
    position: absolute;
    left: 0;
    width: 100%;
    top: 85px;
    opacity: 0;
    visibility: hidden;
}

.mega-box .content {
    background: white;
    padding: 25px 20px;
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.mega-box .content .row {
    width: calc(25% - 30px);
    line-height: 45px;
}

.content .row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content .row header {
    color: black;
    font-size: 18px;
    font-weight: bold;
}

.content .row .mega-links {
    margin-left: -40px;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.row .mega-links li {
    padding: 0 20px;
}

.row .mega-links li a {
    padding: 0px;
    padding: 0 20px;
    color: black;
    font-size: 17px;
    display: block;
}

.row .mega-links li a:hover {
    color: #f774f7;
}

.wrapper .btn {
    color: black;
    font-size: 20px;
    cursor: pointer;
    display: none;
}


.wrapper .btn.close-btn {
    position: absolute;
    right: 30px;
    top: 10px;
}

footer {
    height: 470px;
}

footer > div:first-child {
    display: flex;
    justify-content: space-around;
    padding-top: 50px;
    flex-direction: column;
    text-align: center;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 15px;
}

footer > div:first-child > div:last-child > p:nth-child(5) {
    margin-top: 20px;
}

footer > div:first-child > div:last-child > p:nth-child(6) {
    margin-top: 20px;
}

footer h3 {
    margin-top: 20px;
    margin-bottom: 20px;
}

footer > div:nth-child(2) {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
    flex-direction: column;
    text-align: center;
    border-top: 2px solid black;
}

footer > div:nth-child(2) > p {
    font-size: 15px;
    margin-top: 30px;
}

footer > div:nth-child(2) div {
    display: flex;
    justify-content: space-evenly;
    font-size: 22px;
    margin-top: 20px;
    margin-bottom: 10px;
}

footer > div:nth-child(2) div p {
    padding: 15px;
}

footer a {
    text-decoration: none;
    color: #7a0d80;
}

footer a:hover {
    color: #f774f7;
}

@media screen and (min-width:400px) {
    .icons-header {
        margin-left: 30px;
        width: 180px;
    }

    .icons-header p {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 4px;
    }
}


@media screen and (min-width: 750px) {

    footer {
        height: 470px;
    }

    footer > div:first-child {
        display: flex;
        justify-content: space-around;
        padding-top: 50px;
        flex-direction: row;
        text-align: left;
    }

    footer ul {
        list-style: none;
    }

    footer ul li {
        margin-bottom: 15px;
    }

    footer > div:first-child > div:last-child > p:nth-child(5) {
        margin-top: 20px;
    }

    footer > div:first-child > div:last-child > p:nth-child(6) {
        margin-top: 20px;
    }

    footer h3 {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    footer > div:nth-child(2) {
        display: flex;
        justify-content: space-between;
        margin-top: 50px;
        margin-bottom: 50px;
        flex-direction: row;
    }

    footer > div:nth-child(2) > p {
        font-size: 15px;
        padding-left: 50px;
    }

    footer > div:nth-child(2) div {
        display: flex;
        justify-content: space-evenly;
        width: 400px;
        font-size: 25px;
        flex-direction: row;
    }

    footer a {
        text-decoration: none;
    }

    footer a:hover {
        color: #f774f7;
    }

}

@media screen and (min-width: 1000px){
    .book {
        display: flex;
        text-align: left;
        border-bottom: 2px solid #f774f0;
    }

    .book div:last-of-type {
        padding-left: 50px;
    }

    .book div:first-of-type{
        width: 30%;
        display: flex;
        align-items: center;
        justify-content: right;
        margin: 0;
    }

    .book img {
        max-height: 200px;
        width: auto;
    }

    .book h3 {
        padding-top: 0;
    }

    .book .button {
        margin: 0;
        margin-top: 25px;
    }
}

@media screen and (min-width: 970px) {
    .mega-box .content .row {
        border-right: 2px solid #d4d9d6;
    }

    .mega-box .content .row:last-of-type {
        border-right: none;
    }
}
@media screen and (max-width: 970px) {

    /*media query nav*/
    .wrapper .btn {
        display: block;
    }

    .wrapper .nav-links {
        position: fixed;
        height: 100vh;
        width: 100%;
        max-width: 100%;
        top: 0;
        left: -100%;
        background: white;
        display: block;
        padding: 50px 10px;
        line-height: 50px;
        overflow-y: auto;
        box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
        transition: all 0.3s ease;
        z-index: 9;
    }

    #menu-btn:checked ~ .nav-links {
        left: 0%;
    }

    #menu-btn:checked ~ .btn.menu-btn {
        display: none;
    }

    #close-btn:checked ~ .btn.menu-btn {
        display: block;
    }

    .nav-links li {
        margin: 15px 10px;
    }

    .nav-links li a {
        padding: 0 20px;
        display: block;
        font-size: 20px;
    }

    .nav-links .drop-menu {
        position: static;
        opacity: 1;
        top: 65px;
        visibility: visible;
        padding-left: 20px;
        width: 100%;
        max-height: 0px;
        overflow: hidden;
        box-shadow: none;
        transition: all 0.3s ease;
    }

    #showDrop:checked ~ .drop-menu,
    #showMega:checked ~ .mega-box {
        max-height: 100%;
    }

    .arrow {
        transition: 0.3s;
    }

    #showMega:checked ~ * .arrow {
        transform: rotateX(180deg);
    }

    .nav-links .desktop-item {
        display: none;
    }

    .nav-links .mobile-item {
        display: block;
        color: black;
        font-size: 20px;
        font-weight: 500;
        padding-left: 20px;
        cursor: pointer;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .nav-links .mobile-item:hover {
        color: #f774f7;
    }

    .nav-links li a:hover,
    .nav-links li a.active {
        color: #f774f7;
        border: none;
    }

    .drop-menu li {
        margin: 0;
    }

    .drop-menu li a {
        border-radius: 5px;
        font-size: 18px;
    }

    .mega-box {
        position: static;
        top: 65px;
        opacity: 1;
        visibility: visible;
        padding: 0 20px;
        max-height: 0px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .mega-box .content {
        box-shadow: none;
        flex-direction: column;
        padding: 20px 20px 0 20px;
    }

    .mega-box .content .row {
        width: 100%;
        margin-bottom: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mega-box .content .row:nth-child(1),
    .mega-box .content .row:nth-child(2) {
        border-top: 0px;
    }

    .content .row .mega-links {
        border-left: 0px;
        padding-left: 15px;
    }

    .row .mega-links li {
        margin: 0;
    }

    .content .row header {
        font-size: 19px;
    }

    .mobile-item {
        position: relative;
    }

    .mobile-item > i {
        position: absolute;
        top: 15px;
        right: 10px;
    }
}

nav input {
    display: none;
}

.body-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    padding: 0 30px;
}

.body-text div {
    font-size: 45px;
    font-weight: 600;
}

.reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: all 2s ease;
}

.reveal.active {
    transform: translateY(0px);
    opacity: 1;
}


/*choose language*/
#choose-language {
    margin-top: 2px;
    display: flex;
    width: 130px;
    justify-content: space-between;
    text-align: center;
}

#choose-language a {
    padding: 5px;
    flex: 1;
    text-decoration: none;
    color: black;
}

#choose-language a:hover,
#choose-language a:focus {
    color: #f774f7;
}

#choose-language img {
    padding-right: 5px;
}

#choose-language .active1{
    color: #f774f7;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
  }

  /* Track */
  ::-webkit-scrollbar-track {
    background: transparent;
  }

  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #f774f7;
  }

  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #7a0d80;
  }
