/* 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;
}

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 STYLES
   ============================================ */

* {
  box-sizing: border-box;
}

/* Base typography and color  */

body {
  font-family: 'Inter', 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 1.03em;
  font-weight: 300;
  line-height: 1.55;
  background-color: #fffcf4;
  color: #222;
}

/* main content containter - max 750px for optimal reading line length */

main {
  max-width: 750px;
  margin: 0 auto;
  padding: 4em 1.5em 0; /* space to the top left and right */

}


/* ============================================
   HEADER & NAVIGATION
   ============================================ */

/* Space between the svg logo and navigation links */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0A3D3D;
  padding: 1.2em 4.5em;
}

/* Horizontal navigation menu with space between*/

nav ul {
  display: flex;
  gap: 25px;

}

/* Navigation links with hover transition */

nav a {
  color: #F4F1DE;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #E07A5F;
}


/* ============================================
   IMAGES and SVG ICON
   ============================================ */

/* Main content images - floated right  */

img {
  display: block;
  border: 2px solid #E07A5F;
  float: right;
  margin: 6px 0 5px 15px;
  border-radius: 0 0 0 50px;/* bottom-left curve on image */
  width: 38%; /* Takes up 38% of parent container width */
  height: auto;

}

/*  svg Logo styling with rotation effects on hover  */

svg {
  max-width: 60px;
  height: auto;
  cursor: pointer;
}

/* Animate SVG circles on hover */

svg circle {
  transition: transform 0.5s ease;
  transform-origin: center;
}

svg:hover circle {
  transform: rotate(15deg);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1 {
  font-family: 'Roboto Condensed', 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 2.5em;
  line-height: 1.2;
  margin-bottom: 0.5em;
  font-weight: 500;
  color: #0A3D3D;
}

p {
  margin-bottom: 1.6em;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: 30px 0;
  margin-top: 60px;
  text-align: center;
  border-top: 1px solid #0a3d3d1e;
}

/* faded footer text */
footer p {
  font-size: 0.8em;
  opacity: 0.5;
  margin-bottom: 0;
}