:root {
    --backgroundColor: #faf4f1;
    --lightGray: rgb(41, 40, 40);
    --darkGray: rgb(0, 0, 0);
    --brandColor: #864d25;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: absolute;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    background: #eee;
    padding: 10px;
    z-index: 9999;
}



* {
    margin: 0;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    color: var(--darkGray);
    align-content: center;
    line-height: 1.5;
}

body {

    background-color: var(--backgroundColor);
}

main,
header {
    margin: 2vh 2vw;
}

p {
    text-align: justify;
}

a.active {
    color: var(--brandColor);
}

#navigation {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 10vh;
    border-bottom: 1px solid var(--darkGray);

}

#main-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 30%;
    height: 100%;
}

.logo {
    height: 100%;
}

#main-menu {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

}

#main-menu li a {
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

#main-menu li a:hover {
    color: var(--brandColor);
}

.page {
    display: flex;
    flex-direction: column;
    gap: 8vh;
}

.page-title {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 2vh;
}

.page-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
}

/*----------FILL IN LEFT ANIMÁCIÓ A GOMBOKRA----------*/
.fillInLeft {
    background-color: var(--backgroundColor);
    position: relative;
    z-index: 1;
    border: 2px solid var(--brandColor);
    height: 8vh;
    width: 13vw;
    padding: 1vh 2vw;

}

.fillInLeft::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    color: var(--brandColor);
    background-color: var(--brandColor);
    transition: 0.4s ease;
    z-index: -1;
}

.fillInLeft:hover::before {
    color: var(--backgroundColor);
    width: 100%;
}

.fillInLeft:hover {
    color: white;
    transition: 0.3s ease;
}

.fillInLeft:hover h1,
.fillInLeft:hover p {
    color: var(--backgroundColor);
    cursor: pointer;
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 15vh;
    border-top: 1px solid var(--darkGray);
    background-color: white;
    padding: 0 2vw;
    margin-top: 5vh;
}

#proba {
    background-image: url("../images/image2.jpg");
    width: 100%;
    border: 1px solid black;
    height: 50vh;
    object-fit: cover;
}