@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700");
@import url("https://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css");
*, *:before, *:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
    font: 14px/1 'Open Sans', sans-serif;
    color: #555;
    background-color:  rgb(5, 23, 82);
    background-image: url(../home-background.svg);
    background-size: cover; /* Make the image cover the entire screen */
    background-repeat: no-repeat; /* Prevent repeating the image */
    background-position: center; /* Center the image */
    height: 100vh; /* Ensure the body takes the full height of the viewport */
    margin: 0; /* Remove default margin */
    overflow: hidden; /* Prevent scrolling */
  }
  

h1 {
  padding: 50px 0;
  font-weight: 400;
  text-align: center;
  color: #fff;
}

p {
  margin: 0 0 20px;
  line-height: 1.5;
}

main {
  min-width: 320px;
  max-width: 900px;
  padding: 50px;
  margin: 0 auto;
  background: rgba(1, 1, 31, 0.829);
}

section {
  display: none;
  padding: 20px 0 0;
  border-top: 1px solid rgb(5, 23, 82);
}

input {
  display: none;
}

label {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 15px 25px;
  font-weight: 600;
  text-align: center;
  color: white;
  border: 1px solid transparent;
}

label:before {
  font-family: fontawesome;
  font-weight: normal;
  margin-right: 10px;
}


label:hover {
  color: #888;
  cursor: pointer;
}

input:checked + label {
  color: white;
  border: 1px solid #ddd;
  border-top: 2px solid rgb(5, 23, 82);
  border-left: 2px solid rgb(5, 23, 82);
  border-right: 2px solid rgb(5, 23, 82);
  border-bottom: 1px solid rgb(5, 23, 82);
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4, 
#tab5:checked ~ #content5 {
  display: block;
}

@media screen and (max-width: 650px) {
  label {
    font-size: 14px;
    color: #fff;
  }

  label:before {
    margin: 0;
    font-size: 18px;
  }
}
@media screen and (max-width: 400px) {
  label {
    padding: 15px;
    font-size: 14px;
    color: #fff;
  }
}

textarea, input[type="text"], button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #222;
    color: white;
}

button {
    background-color: #007bff;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

p {
    font-size: 0.9rem;
    color: #bbb;
}

h1 {
    margin-bottom: 20px;
}