* { box-sizing: border-box; }
body { background-color: #f0c4e3;
	   font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; }
       
#wrapper { margin: 0 auto; 
     width: 80%; 
    min-width: 940px; }

main { background-color: #f1abf3;  
    color: #141114; }

p { width: 350px; 
  border: 3px solid #000000;
  padding: 15px;
  word-wrap: break-word;
  word-break: normal; }

/*img { border-radius: 10px;
    float: right;
    width: 200px;
    height: 350px; 
    display: flex;
    margin-left: 15px; }*/

header { background-color: #82065f; 
        color: #ffffff;
        font-size: 150%; 
        text-decoration: underline;
        text-align: center;
		padding: 10px;
        height: 150px;
        background-repeat: no-repeat; }

 img { border-radius: 10px;
    float: right;
    width: 200px;
    height: 350px; 
    display: flex;
    margin-left: 15px; }

/*nav { list-style-type: none; 
    margin: 0;
    padding: 0;
    display: flex;
	font-weight: bold;
    letter-spacing: 0.1em; }*/

main { background-color: #ec99ef; 
        color: #000000;
		padding: 30px; 
		display: block;
		overflow:visible; }

h2 { color: #050404;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    border: 2px solid #333; 
    padding: 20px 20px; 
    border-radius: 20px;
    flex-wrap: wrap; }

/* #floatright { float: right; margin: 10px; }*/

ul {
  list-style-type: none;
  margin: 0;
  padding: 20px;
  background-color: #82065f;
  display: flex;
  justify-content: center;
}

ul li a {
  display: block;
  color: white;
  padding: 14px 16px;
  text-decoration: none;
}

ul li a:hover {
  background-color: #111111;
} 

footer { font-size: 70%; 
       text-align: center;
	   padding: 10px; }

main { background-color: #e4aae7;  
	   clear: both;
}

.services-section {
display: flex;
flex-direction: column;
gap: 3rem;
padding: 2rem;
}

/* EACH ROW (image + text) */
.services-row {
display: flex;
align-items: center;
justify-content: center;
gap: 2rem;
flex-wrap: wrap; /* makes it responsive */
}

/* TEXT CARD */
.tutorial-card {
background-color: #ffffffcc;
width: 300px;
padding: 1.5rem;
border-radius: 20px;
font-family: 'Lora', serif;
box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* TITLE */
.tutorial-card h3 {
margin-bottom: 1rem;
text-align: center;
}

/* ALTERNATE ROW DIRECTION */
.tutorial-row:nth-child(even) {
flex-direction: row-reverse;
}

}
