* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

nav, footer {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Header (Navbar) */
.navbar {
    background: #131313;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar_container {
    display: flex;
    align-items: center;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1800px;
    margin: 0;
    padding: 0 50px;
}

#navbar-logo {
    background-color: aquamarine;
    background-image: linear-gradient(to top, #ff0844 0%, #ffb199 100%);
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;    
}

.fa-cube {
    margin-right: 0.5rem;
}

.navbar_menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
    margin-left: auto;
}

.navbar_item {
    height: 80px;
}

.navbar_link {
    color: #ffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar_link.active {
    color: white;
    background: gray;
}

.navbar_link:hover {
    color: #f77062;
    transition: all 0.3s ease;
}

/*
.navbar_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #f77062;
    color: #fff;
}

.button:hover {
    background: #4837ff;
    transition: all 0.3s ease;
}
*/

/* Nav - Language dropdown section */
.lang_dropdown {
    position: relative;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 1rem 0 3rem;
    padding: 0;
}

.lang_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #f77062;
    color: #fff;
}

.lang_btn:hover {
    background: #4837ff;
    transition: all 0.3s ease;
}

.dropdown_menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #131313;
    padding: 10px 0;
    list-style: none;
    border-radius: 5px;
    min-width: 120px;
    z-index: 999;
}

.dropdown_menu li {
    padding: 5px 15px;
}

.dropdown_menu a {
    text-decoration: none;
    color: white;
    display: block;
    padding: 5px;
}

.dropdown_menu a:hover {
    background: #444;
}

.lang_dropdown:hover .dropdown_menu {
    display: block;
}

/* Phone view Header nav */
@media screen and (max-width: 950px) {
    .navbar_container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1800px;
        padding: 0;
    }

    .navbar_menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5s ease;
        height: 50vh;
        z-index: -1;
        background: #131313;
    }

    .navbar_menu.active {
        background: #131313;
        top: 90%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 50vh;
        font-size: 1.6rem;
    }

    #navbar-logo {
        padding-left: 25px;
    }

    .navbar_item {
        width: 100%;
    }

    .navbar_link {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    .navbar_toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #fff;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
        cursor: pointer;
    }

    /*
    .navbar_btn {
        padding-bottom: 2rem;
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
    }
    */

    .navbar_toggle .bar {
        display: block;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Nav - Language dropdown section */
    .lang_dropdown {
        position: absolute;
        top: 15%;
        right: 15%;
        transform: translate(5%, 20%);
        height: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .lang_btn {
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        padding: 10px 20px;
        height: 100%;
        border: none;
        outline: none;
        border-radius: 4px;
        background: #f77062;
        color: #fff;
    }

    .lang_btn:hover {
        background: #4837ff;
        transition: all 0.3s ease;
    }

    .dropdown_menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%; 
        transform: translateX(-50%);
        background: #131313;
        padding: 10px 0;
        list-style: none;
        border-radius: 5px;
        min-width: 120px;
        z-index: 999;
    }

    .dropdown_menu li {
        padding: 5px 15px;
    }

    .dropdown_menu a {
        text-decoration: none;
        color: #ffff;
        display: block;
        padding: 5px;
    }

    .dropdown_menu a:hover {
        background: #444;
    }

    .lang_dropdown:hover .dropdown_menu {
        display: block;
    }
}

/* Main */
main, section {
    font-family: "Lora", serif;
}

.main {
    background: linear-gradient(to bottom, #131313, #000000, #1a1a1a);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-self: center;
    max-width: 1300px;
    width: 100%;
    padding: 0 0 100px 50px;
}

.main_content {
    color: #fff;
    text-align: left;
}

.main_content h1, h2 {
    font-size: 3rem;
    font-weight: bold;
    background-image: linear-gradient(to top, #ff0844 0%, #ffb199 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.main_content h2 {
    background-image: linear-gradient(to top, #b721ff 0%, #21d4fd 100%);
}

.main_content p {
    font-size: 1.5rem;
    margin-top: 1rem;
}

.main_btn {
    font-size: 1rem;
    font-weight: 800;
    background-image: linear-gradient(to top, #f77062 0%, #fe5196 100%);
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    color: #fff;
    margin-top: 2rem;
    cursor: pointer;
    transition: all 0.35s;
}

.main_btn:hover {
    background: #4837ff;
}

.main_img--container {
    text-align: center;
}

#main_img {
    height: 70%;
    width: 70%;
}

/* Phone view Main */
@media screen and (max-width: 900px) {
    .main {
        height: 95vh;
    }
    
    .main_container {
        display: grid;
        grid-template-columns: auto;
        align-items: center;
        justify-self: center;
        width: 100%;
        margin: 0 auto;
        height: 95vh;
        padding: 50px;
    }

    .main_content {
        text-align: center;
    }

    .main_content h1, .main_content h2 {
        font-size: 2.5rem;
    }

    .main_content p {
        font-size: 1.2rem;
    }

    #main_img {
        height: 60%;
        width: 60%;
    }
}

/* Main - info section*/
.info_section {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.info_section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.info_section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Main - reviews section */
.reviews_section {
    background: #1a1a1a;
    padding: 60px 20px;
    text-align: center;
    color: white;
    overflow: hidden;
}

.reviews_section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.reviews_slider_container {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.reviews_slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%;
}

.reviews_card {
    flex: 0 0 100%;
    background: #222;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.reviews_card p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    max-width: 70%;
}

.slider_buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider_btn {
    background: #f77062;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.slider_btn:hover {
    background: #ff0844;
}

.slider_indicators {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.slider_indicator {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    margin: 0 5px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.slider_indicator.active {
    opacity: 1;
}

/* Main - popular section */
.rpg_section {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.rpg_section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.rpg_cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.rpg_card {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    text-align: center;
}

.rpg_card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    background-image: linear-gradient(to top, #b721ff 0%, #21d4fd 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.rpg_btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: #f77062;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.rpg_btn:hover {
    background: #ff0844;
}

/* Main - how to start section */
.start_section {
    background: linear-gradient(to bottom, #1a1a1a, #1a1a1a, #141414);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.start_section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.start_container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.start_steps {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step {
    background: #333;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    text-align: left;
    transition: transform 0.2s ease-in-out;
}

.step:hover {
    transform: translateY(-5px);
}

.step h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.step span {
    font-weight: bold;
    font-size: 1.6rem;
    color: #ff0844;
    margin-right: 5px;
}

.step_btn {
    margin-top: 10px;
    padding: 12px 24px;
    background: #f77062;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 800;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 900px;
    align-self: center;
    width: 100%;
}

.step_btn:hover {
    background: #d43c62;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    position: absolute bottom;
}

.footer_container {
    background-color: #141414;
    padding: 5rem 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
  
#footer-logo {
    color: #fff;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}
  
.footer_links {
    width: 100%;
    max-width: 1800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
  
.footer_link--items {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    width: 160px;
    box-sizing: border-box;
}
  
.footer_link--items a {
    color: #fff;
    text-decoration: none;
    margin: 0.5rem;
}
  
.footer_link--items a:hover {
    color: #e9e9e9;
    transition: 0.3s ease-out;
}
  

/* Footer - Social Icons */
.social_icon--link {
    color: #fff;
    font-size: 24px;
}
  
.social_media {
    max-width: 1800px;
    width: 100%;
}
  
.social_media--wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1300px;
    margin: 0 auto 0 auto;
}
  
.social_icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 240px;
}
  
.social_icon--link {
    color: #fff;
    justify-self: start;
    cursor: pointer;
    text-decoration: none;
    font-size: 3rem;
    display: flex;
    align-items: center;
}
  
.website_rights {
    color: #fff;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-style: bold;
    margin-top: 2rem;
}

/* Phone view Footer*/
@media screen and (max-width: 780px) {
    #footer-logo {
      margin-bottom: 2rem;
    }

    .footer_link--items {
        margin-bottom: 16px;
    }
  
    .footer_link--wrapper {
      flex-direction: column;
    }
  
    .social_media--wrap {
      flex-direction: column;
    }

    .social_icon--link {
        font-size: 2rem;
    }
}



/* LIBRARY */
/* Main */
/* Library Section */
.library_section {
    background: linear-gradient(to bottom, #1a1a1a, #1a1a1a, #141414);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.library_section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.library_cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.library_card {
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
    text-align: left;
}

.library_card:hover {
    transform: translateY(-5px);
}

.library_card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ff5f6d;
}

.library_card p {
    font-size: 1.1rem;
}

.library_card:nth-child(1) {
    background-image: url('https://static1.cbrimages.com/wordpress/wp-content/uploads/2022/08/dnd-5e-dragonlance-chapter-2-art-1.jpg');
}

.library_card:nth-child(2) {
    background-image: url('https://i0.wp.com/slickdungeon.blog/wp-content/uploads/2021/10/cthulhu.png?fit=675%2C380&ssl=1');
}

.library_card:nth-child(3) {
    background-image: url('https://diversionsgames.com/wp-content/uploads/2019/12/Pathfinder.jpg');
}

.library_card:nth-child(4) {
    background-image: url('https://cdn.mos.cms.futurecdn.net/rHh8S5mi6vQ37SYnjaZWTM-1200-80.jpg');
}

.library_card:nth-child(5) {
    background-image: url('https://spritesanddice.com/media/images/Cyberpunk_RED_Header.width-1080.jpg');
}

.library_card:nth-child(6) {
    background-image: url('https://static0.hardcoregamerimages.com/wordpress/wp-content/uploads/2013/07/32.jpg');
}

/* RPG Genres Section */
.genre_section {
    background: linear-gradient(to bottom, #131313, #1a1a1a, #1a1a1a);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.genre_section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.genre_list {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.genre_item {
    background: #ff5f6d;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background 0.3s ease;
}

.genre_item:hover {
    background: #ff9966;
    cursor: pointer;
}

/* RESOURCES */
/* Main */
/* Resources comunity Section */
.resources_section, .community_section {
    background: linear-gradient(to bottom, #131313, #1a1a1a, #1a1a1a);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.community_section {
    background: linear-gradient(to bottom, #1a1a1a, #1a1a1a, #141414);
}

.resources_section h2, .community_section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.resources_list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.resources_list li {
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

.resources_list li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #2a2a2a;
    padding: 20px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.resources_list li a span {
    font-size: 1.2rem;
    color: #ff5f6d;
}

.resources_list li a p {
    font-size: 1rem;
    margin-top: 5px;
    color: #ddd;
}

.resources_list li a:hover {
    background: #ff5f6d;
    transform: translateY(-5px);
    color: white;
}

.resources_list li a:hover span{
    color: white;
}

