* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

.hero {
    position: relative;
    background-image: url(assets/img/dovahkiin-img.jpg);
    ;
    background-size: cover;
    background-position: calc(100vw - 1500px);
    height: 100vh;
    overflow: hidden;
}

.mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.menu {
    position: fixed;
    z-index: 3;
    list-style: none;
    display: flex;
    gap: 50px;
    align-items: center;
    padding: 30px 110px;
    margin: 0;
    width: 100vw;
    background: #000000;
    background: linear-gradient(147deg, rgba(0, 0, 0, 1) 20%, rgba(48, 48, 56, 0) 74%);
}

.menu>ul {
    list-style: none;
    display: flex;
    gap: 50px;
    align-items: center;
    padding: 0;
    margin: 0;
}

.menu li {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 10px 0;
    width: 100%;
    min-width: 150px;
    z-index: 10;
    flex-direction: column;
    list-style: none;
}

.menu li:hover .submenu {
    display: flex;
}

.menu a {
    color: white;
    font-size: 20px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
}

.menu a:hover {
    text-decoration: underline;
    text-underline-offset: 10px;
}

.menu a:active {
    opacity: 0.6;
}

.menu .submenu .submenu-itens {
    font-size: 16px;
    white-space: nowrap;
    line-height: 24px;
}

.menu .submenu .submenu-itens:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.main-text {
    margin-left: 110px;
}

h1 {
    color: white;
    font-size: 45px;
    font-weight: 900;
    text-transform: uppercase;
}

h2 {
    margin: 30px 0;
    color: white;
    font-size: 27px;
    font-weight: 700;
}

p {
    width: 50%;
    color: white;
    font-size: 21;
    line-height: 29px;
}

button {
    margin-top: 30px;
    font-size: 27px;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid white;
    border-radius: 2px;
    color: white;
    background-color: black;
    padding: 20px 50px;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
    cursor: pointer;
}

button:hover {
    transform: scale(1.07);
}

.dragon-slayer {
    display: flex;
    flex-direction: column;
    position: relative;
    background-image: url(./assets/img/dragon-slayer.jpg);
    height: 100vh;
    background-size: cover;
    justify-content: center;
}

.dragon-slayer-text {
    z-index: 2;
    margin: 0 110px;
}

.vampire-hunter {
    display: flex;
    flex-direction: column;
    position: relative;
    background-image: url(./assets/img/vampire-hunter.jpg);
    height: 100vh;
    background-size: cover;
    justify-content: center;
}

.vampire-hunter-text {
    z-index: 2;
    margin: 0 110px;
}

.archmage {
    display: flex;
    flex-direction: column;
    position: relative;
    background-image: url(./assets/img/skyrim-mage.jpg);
    height: 100vh;
    background-size: cover;
    justify-content: center;
    align-items: end;
}

.archmage-text {
    position: relative;
    z-index: 2;
    margin: 0 110px;
}

.legends {
    height: 100vh;
    padding: 110px 20px;
    background: #111;
    color: #f5f5f5;
    text-align: center;
}

.legends h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    letter-spacing: 2px;
    color: #ceccc7;
}

.legends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.legend-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;     
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 300px;
}

.legend-card h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #ceccc7;
}

.legend-card p {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #ccc;
}

.legend-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    border-color: #fffdf9;
}

.contact-form {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 4;
    top: 30%;
    left: -320px;
    gap: 15px;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: #111;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-form.open {
    left: 50%;
    transform: translateX(-50%);
    transition: left 0.5s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
}

.full-mask {
    display: flex;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2;
}