/* LATO */

/* lato-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/lato-v24-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lato-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/lato-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}




/* VARIABLER */
:root {
  --primary-color: #34485b;
  --secondary-color: #fe6f62;
  --grey-color: #262626;
  --white-color: #ffffff;
  --warm-white-color: #fefaef;
  --black-color: #000000;
}

/* ÅTERSTÄLLNING */
*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: 0;
}

html,
body {
  font-family: 'Lato', sans-serif;
  background-color: var(--white-color);
  color: var(--grey-color);
  /*line-height: 1.6;*/
}

a {
  color: var(--grey-color);
  text-decoration: none;
}

h1,
h2 {
  font-weight: 300;
  line-height: 1.2;
  margin: 10px 0;
}

section {
  padding-top: 75px;
  padding-bottom: 75px;
}

h1 {
  font-size: 80px;
}

h2 {
  font-size: 60px;
}

h3 {
  font-size: 30px;
}

ul,
li {
  list-style-type: none;
}

img {
  width: 100%;
  border-radius: 0 !important;
}

p {
  margin: 10px 0;
  line-height: 1.6;
}

/* VANLIGA KLASSER */

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.container .flex {
  width: auto;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.flex-column {
  flex-direction: column;
}

.flex-left {
  justify-content: left;
  align-items: flex-start;
  height: auto;
}

.d-none {
  display: none;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  justify-content: center;
  align-items: center;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gap-sm {
  gap: 25px;
}

.gap-md {
  gap: 50px;
}

.gap-lg {
  gap: 75px;
}

.gap-xl {
  gap: 100px;
}

.card {
  background-color: var(--white-color);
  border-radius: 0;
  padding: 20px;
  margin: 10px;
  height: auto;
  transition: all 0.4s;
  /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);*/
  width: 100%;
}

.card:hover {
  /*box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);*/
}

.card i {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  height: 75px;
}

.btn {
  border: 2px solid var(--secondary-color);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 45px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
}

.showcase .center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.btn-showcase {
  border-radius: 9999px;
  padding: 10px 20px;
  color: var(--white-color);
  background-color: var(--secondary-color);
  border: 3px solid var(--white-color);
  margin-left: 25px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.btn-today {
  border-radius: 9999px;
  padding: 10px 20px;
  color: var(--white-color);
  background-color: var(--secondary-color);
  border: 3px solid var(--white-color);
  margin-left: 25px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  text-align: center;
  margin-top: 25px;
}

.btn:hover {
  transform: scale(0.98);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-justify {
  text-align: justify;
}

.my-1 {
  margin: 1rem 0;
}

.my-2 {
  margin: 1.5rem 0;
}

.my-3 {
  margin: 2rem 0;
}

.my-4 {
  margin: 3rem 0;
}

.my-5 {
  margin: 4rem 0;
}

.m-1 {
  margin: 1rem;
}

.m-2 {
  margin: 1.5rem;
}
.m-3 {
  margin: 2rem;
}
.m-4 {
  margin: 3rem;
}
.m-5 {
  margin: 4rem;
}

.py-1 {
  padding: 1rem 0;
}

.py-2 {
  padding: 1.5rem 0;
}

.py-3 {
  padding: 2rem 0;
}

.py-4 {
  padding: 3rem 0;
}

.py-5 {
  padding: 4rem 0;
}

.underline {
  text-decoration: none;
  position: relative;
  text-align: left;
  margin-top: 0px;
  padding-top: 0px;
  color: var(--grey-color);
}

.underline:after {
  position: absolute;
  text-align: left;
  content: '';
  height: 8px;
  bottom: -10px;
  left: 0px;
  right: 0;
  width: 96px;
  background: var(--secondary-color);
}

/* NAVIGATION */

nav {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 0 50px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  overflow: visible;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
  height: 75px;
}

.menu,
.submenu {
  list-style-type: none;
}

.logo-menu {
  width: 123px;
  height: auto;
  padding-top: 10px;
  margin-left: 25px;
}

.item {
  padding: 10px 0;
}

.toogle a {
  color: var(--white-color);
}

.item.button {
  padding: 9px 5px;
}
.item:not(.button) a:hover,
.item a:hover::after {
  color: var(--white-color);
}

/* .menu li {
  position: relative;
  padding-bottom: 3px;
  margin-right: 10px;
}

.menu li:after {
  content: '';
  display: block;
  margin: auto;
  height: 3px;
  width: 0px;
  background: transparent;
  transition: width 0.5s ease, background-color 0.5s ease;
}

.menu li:hover:after {
  width: 100%;
  max-width: 100px;
  background: var(--secondary-color);
}
 */
/* MOBIL MENU */

.nav-menu {
  margin: 0;
  padding: 0;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  color: var(--white-color);
  background-color: var(--primary-color);
}
.menu li a {
  display: block;
  padding: 10px 5px;
  color: var(--white-color);
}
.menu li.subitem a {
  padding: 10px;
}
.toggle {
  order: 1;
  font-size: 20px;
  margin-right: 25px;
  color: var(--white-color);
}
.item.button {
  order: 2;
}
.item {
  order: 3;
  width: 100%;
  text-align: center;
  display: none;
}
.active .item {
  display: block;
}
.button.secondary {
  border-bottom: 1px var(--grey-color) solid;
}

.submenu {
  display: none;
}
.submenu-active .submenu {
  display: block;
}
.has-submenu i {
  font-size: 20px;
}
.has-submenu > a::after {
  font-family: 'Font Awesome 5 Free';
  font-size: 16px;
  line-height: 20px;
  font-weight: 900;
  content: '\f078';
  color: white;
  padding-left: 10px;
}
.subitem a {
  padding: 10px 15px;
  text-align: center;
  width: 300px;
  margin: 0 auto;
}
.submenu-active {
  background-color: rgba(52, 72, 92, 0.8);
  border-radius: 3px;
}

/* KLASSER FÖR STARTSIDA */

.showcase {
  background-color: var(--primary-color);
  background: linear-gradient(
      to right,
      rgb(52, 72, 92, 0.3) 10%,
      rgb(255, 255, 255, 0) 35%,
      rgb(255, 255, 255, 0) 50%,
      rgb(255, 255, 255, 0) 65%,
      rgb(52, 72, 92, 0.3) 90%
    ),
    url('/img/hjartat_i_centrum.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 25vh;
  height: 50vh;
  margin-top: 75px;
  padding: 0;
  width: 100%;
  display: flex;
}

/* HJÄRTAT I CENTRUM */

.heart {
  background-color: var(--warm-white-color);
  height: auto;
  padding: 50px 50px;
}

.heart h2 {
  font-size: 60px;
  text-align: center;
  font-weight: 300;
}

.heart p {
  text-align: left;
  width: auto;
  max-width: 0 auto;
  font-size: 22px;
  padding: 0 50px;
}

/* SEKTION VÅR PLATTFORM */

.platform {
  padding: 50px 50px;
  min-height: 50vh;
  height: auto;
}

.platform .grid-3 {
  height: 100%;
  width: auto;
}

.platform h3.underline {
  font-size: 25px;
}

.platform h2 {
  font-size: 60px;
  text-align: center;
  margin-bottom: 50px;
}

.platform .flex-column p {
  width: 100%;
  text-align: center;
  font-size: 22px;
}

.platform .card {
  height: 100%;
  padding: 20px 20px;
}

.platform .card div {
  border: 0px solid red;
}

#smart {
  border: 0px solid red;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-items: center;
  padding: 20px 0px;
}

.platform .card i {
  border-radius: 50%;
  background-color: var(--warm-white-color);
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-bottom: 25px;
  margin-top: 25px;
  border: 3px solid var(--secondary-color);
  color: var(--primary-color);
  /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);*/
}

.platform .card h4 {
  font-size: 25px;
}

/* SEKTION MER INTUITION */

.less {
  background-color: var(--warm-white-color);
  height: auto;
  padding: 50px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.less img {
  width: 100%;
  padding: 0;
  margin-left: -25px;
}

.less-center p {
  margin-top: 0px;
  height: auto;
  font-size: 22px;
}

.less .flex-left {
  padding-bottom: 50px;
}

body > section.less > div > div.container.flex.flex-column .btn-middle {
  font-size: 16px;
  display: flex;
  align-items: flex-start;
  align-self: center;
  justify-content: center;
}

.less > div > div.container.flex-column .btn-middle > .btn {
  width: 100%;
}

.less .flex-left h3 {
  font-size: 25px;
}

.less .flex-left p {
  font-size: 22px;
}

.less .flex-center {
  align-items: flex-start;
}

body > section.less > div > div.container.flex.flex-column p {
  font-size: 22px;
  text-align: left !important;
}

.less .btn {
  background-color: var(--secondary-color);
  color: var(--white-color);
  width: 50%;
  text-align: center;
  border-radius: 9999px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

/* SEKTION FÖRDELAR FÖR DIG SOM VÅRDGIVARE */

.advan-caretaker {
  padding: 50px 50px;
  height: auto;
  display: block;
}

.advan-caretaker .grid {
  gap: 50px;
}

.advan-caretaker .grid .right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.advan-caretaker .grid .right h4 {
  font-size: 25px;
}

.advan-caretaker .grid .right p {
  font-size: 22px;
}

.advan-caretaker .grid .right .btn {
  font-size: 16px;
  background-color: var(--secondary-color);
  color: var(--white-color);
  border-radius: 9999px;
  width: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.advan-caretaker img {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.advan-caretaker img:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}
/* SEKTION FÖRDELAR FÖR DIG SOM FASTIGHETSÄGARE */

.advan-owner {
  background-color: var(--primary-color);
  color: var(--white-color);
  height: auto;
  padding: 50px 50px;
  display: block;
}

.advan-owner .grid {
  gap: 50px;
}

.advan-owner .grid .left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.advan-owner .grid .left h4 {
  font-size: 25px;
  font-weight: bold;
}

.advan-owner .grid .left p {
  font-size: 22px;
}

.advan-owner .grid .left .btn {
  background-color: var(--secondary-color);
  color: var(--white-color);
  border-radius: 9999px;
  width: 100%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.advan-owner img {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.advan-owner img:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}

/* SEKTION FÖRETAG SOM VI SAMARBETAR MED */

.works {
  min-height: 35vh;
  height: auto;
  padding: 50px 50px;
  width: 100%;
  display: block;
}

.works h3.underline {
  font-size: 25px;
}

.works h2 {
  font-size: 60px;
  text-align: center;
  padding: 0 50px 0 0;
  margin-bottom: 50px;
}

.works .grid .grid-4 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

.works .company {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.works .company .lyktan {
  width: 120%;
  max-width: 200px;
}

.works .company .ljusrum {
  width: 70%;
  max-width: 125px;
}
.works .company .midroc {
  width: 100%;
  max-width: 125px;
}
.works .company .novemberbolaget {
  width: 100%;
  max-width: 175px;
}

.works .company img:hover {
  transform: scale(0.98);
}

/* SEKTION KONTAKT */

.contact {
  padding: 50px 50px;
  background-color: var(--warm-white-color);
  height: auto;
}

.contact .container {
  width: auto;
}

.contact h3.underline {
  font-size: 25px;
}

.contact h2 {
  font-size: 60px;
  text-align: center;
}

.contact .grid .left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 0 0 0px;
  margin-top: -125px;
}

.contact .grid .left p {
  font-size: 22px;
}

.contact .grid .right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact .grid .right .myform {
  width: auto;
}

.contact .grid .right .myform .form-control {
  padding: 10px 0;
}

.contact .grid .right .myform .form-control input[type='email'] {
  width: 100%;
  font-size: 20px;
  border: 3px solid var(--secondary-color);
  border-radius: 0;
  background-color: transparent;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
}

.contact .grid .right .myform .form-control input[type='submit'] {
  width: 100%;
  font-size: 18px;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
}

.contact .grid .right .myform .form-control textarea {
  width: 100%;
  font-size: 20px;
  border: 3px solid var(--secondary-color);
  border-radius: 0;
  background-color: transparent;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  resize: none;
  height: 200px;
}

.contact .grid .right .myform .form-control .btn {
  border: 3px solid var(--secondary-color);
  outline: none;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  height: 45px;
  font-weight: 600;
  font-size: 18px;
  background-color: var(--secondary-color);
  color: var(--white-color);
  width: 100%;
}

.contact .grid .right .myform .form-control input[type='checkbox'] {
  padding: 10px;
}

.contact .grid .right .myform .form-control label {
  font-size: 18px;
  padding: 10px 10px;
}

.contact .grid .right .myform .form-control .policy {
  text-decoration: underline;
  color: var(--secondary-color);
  font-size: 18px;
}

.contact input {
  /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);*/
  border: 3px solid #ddd !important;
}

.contact input[type='submit'] {
  border: 3px solid var(--white-color) !important;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.contact textarea {
  /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);*/
  border: 3px solid #ddd !important;
}

/* SEKTION FOT */

.footer {
  background: #34485b;
  width: 100%;
  padding-top: 50px;
  padding-left: 50px;
  padding-bottom: 50px;
  min-height: 20vh;
  height: auto;
}

.footer .flex {
  height: 100%;
}

.footer .logo {
  width: 143px;
  height: auto;
  margin-top: -20px;
}

.social {
  margin-top: 0px;
  margin-left: -30px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.social i {
  margin-left: 30px;
  padding: 10px 0px;
  cursor: pointer;
}

.social i:hover {
  transform: scale(0.98);
}

.social a {
  color: #fff;
}

.footer ul {
  margin: 0;
  padding: 0;
  height: 100%;
}

.footer h4 {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 3px solid rgb(254, 111, 98);
  padding-bottom: 4px;
  font-size: 22px;

  display: inline-block;
}

.footer ul li {
  padding: 5px 0;
}

.footer ul li a {
  margin: 0;
  padding: 0;
  color: var(--white-color);
  padding: 0px 0;
  font-size: 18px;
}

.footer .symbol-img {
  height: 76px;
  width: 50px;
  margin-top: 0px;
}

/* TABELL */

table {
  width: 300px;
  font-size: 22px;
  text-align: center;
  border: 0px solid var(--secondary-color);
  margin-bottom: 25px;
  margin-top: 12.5px;
  /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);*/
}
table caption {
  width: 100%;
  font-weight: bold;
  font-size: 22px;
  padding: 25px 0;
}

table,
th,
td,
td {
  padding: 10px;
  border: 0px solid var(--secondary-color);
  border-collapse: collapse;
}
