@charset "utf-8";
/* div alignment - all centred*/
.container{
	display:flex;
	justify-content:center;
	align-items:center;
}
/* nav bar */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 600px;
    margin: auto;
}

.nav-grid a {
    display: block;
    text-align: center;
    padding: 12px 0;
    text-decoration: none;
    background: #00F;
    color: white;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s ease;
}

.nav-grid a:hover {
	background: #ff9800;
	color: #000;
}

.spacer-div {
	clear: both;
	float: left;
	margin-left: 0; 
	width: 100%;
	font: 18px;
	display: flex;
  	justify-content: center;
  	align-items: center;
}

/* background image */
body {
	background-image: url(../images/background.gif);	
}

/* support */
.support {
    font-weight: bold;
    background-color: #aabbbb;
    border: 5px solid #999;
    border-radius: 25px;
    padding: 2%;
}
/* services */
.service-grid {
  display: grid;
  grid-template-columns: auto;
  grid-gap: 10px;
  width: 350px;
  padding: 20px;
}

.service-grid a {
    display: block;
    text-align: center;
    padding: 12px 0;
    text-decoration: none;
    background: #00F;
    color: white;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s ease;
}

.service-grid a:hover {
    background: #ff9800;
    color: #000;
}

/* CSS Document */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Container */
.container {
  width: 100%;
  padding: 20px;
}

/* Card style */
.card {
  max-width: 600px;
  background: #fff;
  margin: auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Header */
.card h2 {
  text-align: center;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 20px;
}

/* Form layout */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  width: 100%;
  margin-bottom: 15px;
}

/* Inputs */
input, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: 0.3s;
}

input:focus, textarea:focus {
  border-color: #667eea;
  outline: none;
  box-shadow: 0 0 5px rgba(102,126,234,0.3);
}

/* Button */
button {
  width: 100%;
  padding: 12px;
  border: none;
  background: #667eea;
  color: #fff;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #5a67d8;
}
