/* style.css - External stylesheet for Sam Page's Website */

body {
  background: url('bg.png') no-repeat center center fixed;
  background-size: cover;
  background-color: #0d0d0d;
  font-family: 'Open Sans', sans-serif;
  color: #EEEEEE;
  margin: 0;
  padding: 0;
  text-align: center;
}

a {
  color: #00C2FF;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #52D5FF;
}

header {
  padding: 5em 2em 2em 2em;
  position: relative;
}

nav {
  font-size: 1.1em;
  margin-bottom: 2em;
}

nav a, nav span {
  color: #00C2FF;
  margin: 0 0.5em;
}

h1 {
  font-size: 4em;
  font-weight: 700;
  margin-bottom: 0.5em;
}

section {
  padding: 6em 2em;
}

section h2 {
  font-size: 2.5em;
  color: #00C2FF;
  margin-bottom: 1em;
}

section h3 {
  font-size: 1.8em;
  color: #00C2FF;
  margin-top: 2em;
}

section p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 1em auto;
  line-height: 1.6em;
}

form {
  max-width: 500px;
  margin: 0 auto;
}

form input, form textarea {
  width: 100%;
  padding: 1em;
  margin-bottom: 1em;
  border: none;
  border-radius: 5px;
}

form button {
  background-color: #00C2FF;
  border: none;
  padding: 1em 2em;
  color: #0d0d0d;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
}

.icons {
  margin-top: 2em;
}

.icons li {
  display: inline-block;
  margin: 0 1em;
}

.icons li a {
  border: solid 1px #00C2FF;
  border-radius: 100%;
  width: 3em;
  height: 3em;
  display: inline-block;
  text-align: center;
  line-height: 3em;
  color: #00C2FF;
  transition: all 0.3s ease;
}

.icons li a:hover {
  background-color: #00C2FF;
  color: #0d0d0d;
  transform: scale(1.1);
}

.icons li a svg {
  height: 1.5em;
  width: 1.5em;
  vertical-align: middle;
  fill: currentColor;
}

ul {
  list-style: none;
  padding: 0;
}

footer {
  padding: 2em 1em;
  font-size: 0.9em;
  color: #666;
}
/* Language flag styles */
.lang-flag {
  position: absolute;
  /* These values are now relative to the header's padding box */
  top: 3em;  /* Adjust as needed relative to header */
  right: 3em; /* Adjust as needed relative to header */
  z-index: 10;
}

.flag-icon {
  height: 24px;
  vertical-align: middle;
}