body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 10px;
    flex-direction: column;
}

.container {
    max-width: 800px;
    width: 100%;
    margin: 0px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

label {
    cursor: pointer;
    flex-basis: calc(33.333% - 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

label img {
    max-width: 100%;
    height: auto;
    border: 2px solid transparent;
    max-height:100px;
    border-radius: 5px;
}



input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

input[type="radio"]:checked + img {
    border-color: #4CAF50;
    transform: scale(1.05);
}

select, input[type="text"] {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    width: calc(100% - 200px);
}


button {
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.5em;
}

button:hover {
    background-color: #0056b3;
}


.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}



.continue-btn {
    background-color: #4CAF50;
    color: white;
}

.continue-btn:hover {
    background-color: #45a049;
}

.exit-btn {
    background-color: #f44336;
    color: white;
}

.exit-btn:hover {
    background-color: #d32f2f;
}



.progress {
    font-size: 2em;
    margin: 10px 0;
}

.disclaimer {
    font-size: 0.8em;
    text-align: center;
    margin: 10px 0;
    color: #666;
    max-width: 800px;
}

.links {
    font-size: 1em;
    text-align: center;
    margin-top: 20px;
    color: #666;
    max-width: 800px;
}

.info-text {
	margin: 10px 0;
}

.iq-image {
    max-width: 100%; /* Gör bilden responsiv */
    height: auto;

}



.form-control {
    margin: 5px 0;
}

.get-results {
margin: 20px 0;
}

.checkbox-container {
    display: flex;
    align-items: center; /* Centrerar elementen vertikalt */
    gap: 10px; /* Lägger till utrymme mellan checkboxen och etiketten */
    margin: 10px 0; /* Lägger till lite marginal ovanför och under containern */
    white-space:nowrap;
    
}



nav {
	text-align: center;
	margin-bottom: 20px;
}
nav a {
	margin: 0 10px;
	text-decoration: none;
	color: #007bff;
}


table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}


.strong {
    font-weight: bold;
}

p {margin: 10px 0;}

/* Responsiv design för skärmar mindre än 600px breda */
@media (max-width: 768px) {
    body {
        background-color: #fff;
        height: auto;
        padding: 20px 10px;
    }
    .container {
        box-shadow: none;
        max-width:none;
        margin: 0 20px;
        padding:0;
    }
    .form-inline {
        flex-direction: column;
        align-items: center;
    }

    
}



.resp-sharing-button__link,
.resp-sharing-button__icon {
  display: inline-block
}

.resp-sharing-button__link {
  text-decoration: none;
  color: #fff;
  margin: 0.5em
}

.resp-sharing-button {
  border-radius: 5px;
  transition: 25ms ease-out;
  padding: 0.5em 0.75em;
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif
}

.resp-sharing-button__icon svg {
  width: 1em;
  height: 1em;
  margin-right: 0.4em;
  vertical-align: top
}

.resp-sharing-button--small svg {
  margin: 0;
  vertical-align: middle
}

/* Non solid icons get a stroke */
.resp-sharing-button__icon {
  stroke: #fff;
  fill: none
}

/* Solid icons get a fill */
.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
  fill: #fff;
  stroke: none
}

.resp-sharing-button--twitter {
  background-color: #55acee
}

.resp-sharing-button--twitter:hover {
  background-color: #2795e9
}

.resp-sharing-button--pinterest {
  background-color: #bd081c
}

.resp-sharing-button--pinterest:hover {
  background-color: #8c0615
}

.resp-sharing-button--facebook {
  background-color: #3b5998
}

.resp-sharing-button--facebook:hover {
  background-color: #2d4373
}

.resp-sharing-button--tumblr {
  background-color: #35465C
}

.resp-sharing-button--tumblr:hover {
  background-color: #222d3c
}

.resp-sharing-button--reddit {
  background-color: #5f99cf
}

.resp-sharing-button--reddit:hover {
  background-color: #3a80c1
}

.resp-sharing-button--google {
  background-color: #dd4b39
}

.resp-sharing-button--google:hover {
  background-color: #c23321
}

.resp-sharing-button--linkedin {
  background-color: #0077b5
}

.resp-sharing-button--linkedin:hover {
  background-color: #046293
}

.resp-sharing-button--email {
  background-color: #777
}

.resp-sharing-button--email:hover {
  background-color: #5e5e5e
}

.resp-sharing-button--xing {
  background-color: #1a7576
}

.resp-sharing-button--xing:hover {
  background-color: #114c4c
}

.resp-sharing-button--whatsapp {
  background-color: #25D366
}

.resp-sharing-button--whatsapp:hover {
  background-color: #1da851
}

.resp-sharing-button--hackernews {
background-color: #FF6600
}
.resp-sharing-button--hackernews:hover, .resp-sharing-button--hackernews:focus {   background-color: #FB6200 }

.resp-sharing-button--vk {
  background-color: #507299
}

.resp-sharing-button--vk:hover {
  background-color: #43648c
}

.resp-sharing-button--facebook {
  background-color: #3b5998;
  border-color: #3b5998;
}

.resp-sharing-button--facebook:hover,
.resp-sharing-button--facebook:active {
  background-color: #2d4373;
  border-color: #2d4373;
}

.resp-sharing-button--twitter {
  background-color: #55acee;
  border-color: #55acee;
}

.resp-sharing-button--twitter:hover,
.resp-sharing-button--twitter:active {
  background-color: #2795e9;
  border-color: #2795e9;
}

.resp-sharing-button--email {
  background-color: #777777;
  border-color: #777777;
}

.resp-sharing-button--email:hover,
.resp-sharing-button--email:active {
  background-color: #5e5e5e;
  border-color: #5e5e5e;
}


.sharing-button-container {
    display: flex;
    align-items: center;
    justify-content: center; 
}

.resp-sharing-button__link,
.resp-sharing-button__icon {
    display: flex;
    align-items: center;
}

.resp-sharing-button {
    display: inline-flex;
    align-items: center;
}

.sharing {
display: ruby;
}

.filter-buttons a {
    padding: 10px 20px; 
    background-color: #007BFF; /* Blå färg */
    color: white; 
    text-decoration: none; /* Tar bort understrykningen */
    border-radius: 5px; /* Rundade hörn */
    margin-right: 10px; /* Marginal mellan knapparna */
    transition: background-color 0.3s; /* Gör färgändringen mjuk */
}

.filter-buttons a:hover {
    background-color: #0056b3; /* Mörkare blå färg när musen är över */
    color: #FFF;
}

.filter-buttons {
    margin: 20px 0;
}

strong {font-size:1.2em;}