/* 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 RULES START HERE*/

body {
   font-family: "Manrope", sans-serif;
   font-optical-sizing: auto;
   font-weight: 300;
   font-style: normal;
   text-align: left;
   color: #1f0d05;
   background-color: #f0efef;
}

h1 {
   display: block;
   font-size: 3rem;
   text-align:left;
   padding: 10px 20px 15px 10px;
   border: 10px 10px 10px 10px solid #1f0d05;
   margin-top: 20px;
   margin-bottom:20px;
   margin-left: 10px;
}

p {
   font-size: 1.5rem;
   line-height: 1.45;
   background-color: rgba(255, 255, 255, 0.35);
   padding-left: 1.2rem;
   padding-right: 1.2rem;
}

p:last-of-type {
   padding-bottom: 1.6rem;
}

img {
  display: block;
  margin: 40px auto;
  border-radius: 50%;
}

li{
   display: inline;
   margin-left: 20px;
   margin-right: 20px;
}

nav ul li a{
   text-decoration: none;
   color: #1f0d05;
   text-decoration-line: none;
   display: inline;
}

.button-1{
   border: 2px solid #1f0d05;
   color: white;
   padding: 10px 10px 10px 10px;
   text-align: center;
   text-decoration: none;
   display: inline-block;
   font-size: 16px;
   transition-duration: 0.4s;
}

.button:hover {
   background-color: #04AA6D; /* Green */
   color: white;
 }

.nav{
   display: inline;
   text-decoration: none;
   font-family: "Darumadrop One", sans-serif;
   font-weight: 2rem;
   font-style: normal;
   background-color: #f0efef;
   color: #1f0d05; 
   margin-top: 50px;
   margin-bottom: 50px;
}

@media (max-width: 768px) { 
   nav ul {
      display: flex;
      flex-direction: column; /* Stack buttons vertically on smaller screens */
      align-items: center; /* Center-align buttons */
      gap: 10px; /* Adds spacing between buttons */
   }

   li {
      display: block; /* Ensures each button is on its own line */
      margin: 5px 0; /* Reduces side margins for better spacing */
   }

   .button-1 {
      width: 90%; /* Makes buttons take up most of the width */
      text-align: center; /* Ensures text is centered */
   }
}
