/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ================== My own stylesss =============================== */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
    background: #F8F9FA;
    color: #2a4a4b;
    line-height: 1.5;
    font-size: 1.125em;
    color: #2d4a4b;

}

header {
    background-image: url("thebrtitishmuseum.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin-bottom: 30px;
    height: 350px;

}

/* Main Content */
main {
    max-width: 900px;
    margin: 5em auto;
}

/* Links */
a {
    color: #741fdc;
    font-weight: 600;
    text-decoration: none;

}

a:hover {
    color: #DC241F;
    text-decoration: underline;

}

/* Typography */
h1 {
    font-size: 2em;
    font-weight: 700;

    margin-bottom: 12px;
}

h2 {
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
}


/* ------- SECTION CARD BASE STYLE -------- */

section {
    background: white;
    padding: 35px;
    margin: 45px 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


/* ------- CARD COLORS BY TRANSPORT -------- */

section:nth-of-type(1) {
    border-left: 8px solid#DC241F;
}

/* Elizabeth Line */

section:nth-of-type(2) {
    border-left: 8px solid #6950A1;
}

/* Central Line */

section:nth-of-type(3) {
    border-left: 8px solid #DC241F;
}

/* Bus 188 */
section:nth-of-type(4) {
    border-left: 8px solid #538606;
}

/* Car */
section:nth-of-type(5) {
    border-left: 8px solid #555;
}


.central,
.bus {
    color: #DC241F;
    font-weight: 600;
}

.dlr {
    color: #30D5C8;
    font-weight: 600;
}

.elizabeth {
    color: #6950A1;
    font-weight: 600;

}

ul {
    list-style: disc;
    padding-left: 20px;
}

ul li {
    margin-bottom: 8px;
    font-size: 1em;
}

/* address to the location */
.address {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    margin-bottom: 100px;
}

iframe {
    border-radius: 12px;
}

#map {
    height: 500px;
    width: 100%;
}


footer {
    margin-bottom: 50px;
    text-align: center;
}