html{
    --color-grey-100: rgb(236,236,236);
    --color-grey-400: rgb(139,139,139);
    --color-grey-600: rgb(58,58,58);
    --color-grey-900: rgb(41,41,41);

    --color-type-1: rgb(135,188,206);
    --color-type-1-2: rgb(125,168,226);
    --color-type-2: rgb(173,172,141);
    --color-type-3: rgb(79,63,48);
    --color-type-4: rgb(42,40,41);

    
    font-family: 'Rosario', sans-serif;
    font-weight: 400;
}
body{
    margin: 0;
    background-color: #fff9f5;
    /* background-color: #fceee3; */
}


/* #page-overview{
    width: 70%;
    margin: 2rem auto;
    text-align: center;
    border: 2px solid black;
} */
.btn{
    font: inherit;
    cursor: pointer; 
}
#hero{
    height: 800px;
    background-image: url("/styles/assets/pirates-ship-sailing-ship.jpg");
    background-position: center;
    background-size: cover;
    text-align: center;
    box-sizing: border-box;
}


#hero-content{
    position: absolute;
    top: 100px;
    max-width: 70%;
    overflow: hidden;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
#hero-content h1{
    margin: 3rem 0;
    padding: 0;
    font-size: 4rem;
    color: white;
    -webkit-text-stroke: 2px black;
}

#hero-content p{
    margin: 0;
    padding: 0;
    font-size: 2rem;
    color: white;
    -webkit-text-stroke: 1px black;
}

#hero-content button{
    margin: 12rem 0 0 0;
    padding: 1.5rem 3rem;
    font-size: 2rem;
    color: var(--color-grey-900);
    background-color: #F9A763;
    border-radius: 4px;
    border: 2px solid var(--color-grey-900);

    transition: background-color 0.25s, font-size 0.25s;
}

#hero-content button:hover{
    background-color: #DF863C;
}


#grid-description{
    text-align: center;    
}

#grid-description h2 {
    font-size: 2.5rem;
    margin: 2rem 0;
}


#grid-field ol{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 1rem;
    width: 90%;
    list-style: none;
    margin: 6rem auto;
    padding: 0;
    text-align: center;
}

#grid-field ol li{
    border: 1px solid black;
    /* background-color: #fff9f5; */
    background-color: #fceee3;
}

.item-image-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-image-container{
    position: relative;
    height: 12rem;
}

.item-image-btn-container{
    display: flex;
    position: absolute;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    width: 100%;
}

.item-image-btn{

    background-color: #FFC28F;
    color: var(--color-grey-900);
    border: 2px solid var(--color-grey-900);
    padding: 0.5rem 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.25s, font-size 0.25s;
}

.item-image-btn:hover{
    /* background-color: #DF863C; */
    background-color: #F9A763;
    border: 2px solid var(--color-grey-900);
    font-size: 1.5rem;
    /* color: #FFC28F; */
    /* border: 2px solid #FFC28F; */
}


@media (max-width: 119rem) {
    #grid-field ol{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
}

@media (max-width: 96rem) {
    
    #grid-field ol{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}
@media (max-width: 72rem) {
    
    #grid-field ol{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media (max-width: 60rem){
    #hero-content {
        position: relative; /*ez miert mukodik*/
    }
    #hero-content h1{
        font-size: 2.9rem;
    }
    
    #hero-content p{
        font-size: 1.5rem;
    }
    #hero-content button{
        margin: 8rem 0 0 0;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}
@media (max-width: 48rem) {
    
    #grid-field ol{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 32rem) {
    

    


    #grid-field ol{
        display: grid;
        grid-template-columns: 1fr;
    }
}