/* css reset rule */
* {
    margin: 0; padding: 0;box-sizing: border-box;

}

header {
    border: 8px;
    padding: 10px;
    text-align: center;
    width: 70%; height: 20%;
    min-height: 100px;
    min-width: 100px;
    background-color: steelblue;
    margin: 2px auto;
    border-radius: 20px;
}

header > h1 {
    text-align: center;
    font-weight: heavy;
    border-bottom: 4px solid navy;
}
a{
    color: white;
}

a:hover {
    color: navy;
}

body{
    font-family: "Montserrat", sans-serif;
    background-color: lightblue;
    color: white, black;
    border: 2px solid steelblue;
    padding-block: 2px;
    margin: 10px;
    padding: 15px;
    text-align: left;
    height: fit-content;
    min-height: 100px;
    min-width: 100px;

}

section.location {
    background-color: skyblue;
    min-height: 250px;
    background-image: url(/cis195/hometown/images/salem_map.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}
.location_text {
    color: #fff;
    font-family: impact;
    font-size: 3em;
    padding: 20px ;
    background-color: #090a0ba4;
    position: absolute;
    top: 10px; left: 30px;
    letter-spacing: .1em;

}

.location_link {
    display: block;
    background-color: steelblue;
    width: 180px; padding: 8px 8px;
    position: absolute; bottom: 30px; left: 30px;
    text-align: center;
    color: #090a0b;
    font-size: 16pt;
    border-radius: 8px;
    box-shadow: 2px 3px 6px rgba(10,10,10,.7);
    transition: background-color 20ms linear;
}

section.salem_intro { 
    padding: 10px 10px 10px 30px;

}
section.l_and_e_text {
    padding: 10px 10px 10px 30px;
}

section.places_events_facts {
    min-height: 400px;
    display:flex; /* make this a flexbox parent*/
    flex-flow: row wrap;
    gap: 10px;
    padding: 10px 10px 10px 30px;

}
.fact {
    flex: 40%;
    text-align: center;
    border-radius: 10px;
    color: #090a0b;
    background-color: steelblue;
    padding: 20px;
    min-width: 200px;
}

.fact img {
    width: 60%;
    display: right;
    padding: 20px 0px 0px 0px;
}

footer {
    padding: 15px 0px 15px 0px;

}