@import url('https://fonts.googleapis.com/css2?family=Rammetto+One&display=swap');
body {
background-color: #FFEA00;
font-family: Corbel, Arial ,'Sans serif';
font-size: 10px;
margin-bottom: 150px;
}
h1 {
	font-size: 5vw;
	text-align: center;
	font-family: 'Rammetto One', cursive;
	margin-bottom:-3vh;
	margin-top:0.3vh;
}
h2 {
	font-size: 3vw;
	text-align: center;
	font-family: 'Rammetto One', cursive;
	margin-bottom:-3vh;
	margin-top:4vh;
}
h3 {
	font-size: 2vw;
	text-align: center;
	font-family: 'Rammetto One', cursive;
	margin-top:4vh;
}
p {
	font-size: 3vw;
	text-align: center;
}

.text {
	font-size: 2vw;
	text-align: center;
	margin:2vh;
}

.text2 {
	font-size: 1.3vw;
	text-align: center;
	margin:1.3vh;
	margin-bottom:2vh;
}

.text2a {
	font-size: 1.5vw;
	text-align: center;
	margin:1.3vh;
}

.text3 {
	font-size: 1.1vw;
	text-align: center;
	margin:1.3vh;
	margin-top:-1em;
}
.text4 {
		margin-top:1.6vh;
		font-size:1.6vh;
		margin-top:4vh;
	}
.demo-versions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 2em 0;
	margin-left:20em;
	margin-right:20em;
}

.comingsoon {
	position: relative;
	pointer-events: none;
}

.comingsoon::before {
	content: "Coming soon";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	background-color: rgba(255, 255, 255, 0.8);
	padding: 10px;
	border-radius: 5px;
	z-index: 1;
}

.comingsoon.demo-version a {
  pointer-events: none;
}

.comingsoon.demo-version * {
  opacity: 0.4;
}

.demo-version {
	position: relative;
	z-index: 0;
	flex-basis: 18%;
	background-color: #f0f0f0;
	padding: 1em;
	margin-bottom: 2em;
	text-align: center;
	border-radius: 10px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

a {
  color: blue;
}
.intuikeys {
    flex-basis: 44%;
	width:6em;
}

.demo-version h2 {
    margin-bottom: 1em;
    color: #333;
	font-size:1.8vh;
}

.flag {
	margin-top:-1.5em;
	margin-bottom: 2.5em;
	width:60%;
}

.demo-version p {
    margin-bottom: 1em;
}

.demo-version img {
    max-width: 100%;
    height: auto;
}

/* Style the images */
.images {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.images img {
  width: 20%;
  height: 20%;
  margin: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.images img:hover {
  transform: scale(1.1);
}


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
}

/* Caption of Modal Image */
#caption{
  display: block;
  margin-top:0px;	
  max-width:: 80%;
  margin-left: 10%;
  margin-right: 10%;
  background-color: black;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 2rem;
  color: white;
  text-align: center;
  z-index:2;
}



/* Add Animation */
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Responsive Grid */
@media (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}

.footer {
      position: fixed;
	  
      bottom: 0;
	  left:0;
	  font-style:italic;
      width: 100%;
      background-color: black;
      color: yellow;
      text-align: center;
	  font-size:1.5vh;
      padding: 10px;
      box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
    }
	
	.topnav {
  overflow: hidden;
  background-color: #333;
  position: fixed;
  top: 0;
  left:0;
  width: 100%;
  z-index: 1;

  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.3);
}

.topnav a {
  float: right;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 20px;
  
}

.topnav a:hover {
  background-color: white;
  color: black;
}

.topnav .language-selector a {
	 float: right;
  text-align: center;
  padding: 0;
}

.topnav .language-selector a:hover {
	 background-color: transparent;
}

.topnav select {
	margin-top: 15px;
	margin-left: 15px;
}

.area {
	overflow: hidden;
  background-color: lightgray;
  position: relative;
  height:24px;
  width: 100%;
  z-index: 1;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.3);
  font-size:14px;
  padding-top:6px;
  padding-left:6px;
  
}

.area a, .area a:link, .area a:visited {

  color: black;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight:700;
  margin-top:-12px;
  
}

.area a:hover {
  background-color: black;
  color: white;
}



@media (max-width: 980px) {
    .demo-versions {
        flex-direction: column;
        align-items: center;
        margin-left: 1em;
        margin-right: 1em;
    }
    .demo-version {
        flex-basis: 100%;
		width:50%;
    }
	
	.text2 {
		font-size:2.6vh;
	}
	
	.text3 {
		margin-top:1.6vh;
		font-size:1.6vh;
	}
	
	
}




.submenu {
    position: relative;
    display: inline-block;
}

.submenu-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.submenu-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.submenu-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.submenu:hover .submenu-content {
    display: block;
}

/* Form Container */
.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5vh auto;
    padding: 2em;
    max-width: 500px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	
}

/* Form Groups */
.form-group {
    width: 100%;
    margin-bottom: 1.5em;
    display: flex;
    flex-direction: column;
	position:relative;
	
}

.form-group label {
    margin-bottom: 0.5em;
    font-weight: bold;
    font-size: 1.8em;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group select {
    padding: 0.8em;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 2em;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="number"]:focus,
.form-group select:focus {
    border-color: #555;
    outline: none;
}

/* Submit Button */
.form-container input[type="submit"] {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 0.8em 2em;
    border-radius: 5px;
    font-size: 2.2em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
}

.form-container input[type="submit"]:hover {
    background-color: #555;
    transform: translateY(-2px);
}

/* Error Message */
.error {
    color: red;
    margin-bottom: 1em;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 500px) {
    .form-container {
        padding: 1.5em;
        margin: 2vh auto;
    }

    .form-group label {
        font-size: 1em;
    }

    .form-container input[type="submit"] {
        font-size: 1em;
        padding: 0.6em 1.5em;
    }
}

/* main.css */

/* Språkväljare */
.language-selector {
    display: flex;
    align-items: center;
    margin-right: 20px;
	margin-top: 10px;
	margin-left: 10px;
}

.language-flag {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.language-flag:hover {
    transform: scale(1.1);
}

/* Färgschemsväljare */
.color-scheme-selector {
    display: flex;
    align-items: center;
}

.color-scheme-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-scheme-icon:hover {
    transform: scale(1.1);
}

.color-scheme-label {
	color: white;
	font-size: 1.6em;
	margin-top:15px;
}
#colorSchemeDropdown  {
	font-size: 1.6em;
	margin-top:15px;
	 border-radius: 5px;
}

/* Justera topnav-länkar */
.topnav a {
    float: right;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 20px;
}

.topnav a:hover {
    background-color: white;
    color: black;
}

/* Justera toppnav selektorer */
.topnav .language-selector,
.topnav .color-scheme-selector {
    float: left;
}
