/* simple reset rule to set page defaults*/
* {
    margin: 0;padding: 0;border: 0;
    box-sizing: border-box;
}

:root {
    font-size: 62.5%; /*16px *.625= 10px*/

    --color-bg1: #EEE5E9;
    --color-bg2: #EFC88B;
    --color-fn1: rgb(214, 212, 212);
    --color-accent1: #cf5c36;

}

body{
    background-color: var(--color-bg2);
    color: var(--color-fn1);
    font-size: 1.4rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    min-height: 100vh;
    border: 8px solid sandybrown;
    background-image: linear-gradient(to bottom right, rgb(226, 111, 111),rgb(49, 49, 109));
}

header{
    text-align: center;
    background-image: url(/images/ladabig.jpg);
    background-position:center;
    min-height: 500px;
    background-size: 100%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(212, 198, 187);
}

header h1{
    position: relative;
    top: -55px;
    font-size: 50px;
}

article{
    margin-top: 50px;
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center; 
}

div{
    min-height: 300px;
    min-width: 300px;
    background-image: url(/images/city.jpg);
    max-height: 500px;
    max-width: 500px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    border: seashell solid;

}

div h1{
    font-size: 50px;
    text-align: center;
    position: relative;

}

.item{
    flex-direction:column;
    text-align: center;
    border-radius: 20px;
    box-shadow: 10px 5px 5px rgba(0, 0, 0, 0.7);
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#one:hover{
    transition: all .5s ease-in-out;
    background-size: 120%;
}

#two:hover{
    transition: all .5s ease-in-out;
    background-size: 120%;
}

#three:hover{
    transition: all .5s ease-in-out;
    background-size: 120%;
}

#four:hover{
    transition: all .5s ease-in-out;
    background-size: 120%;
}

h2{
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    margin:30px;
    padding:10px;
}

ul{
    text-align: left;
    padding-left: 15px;
}