/* LÖSNING FÖR FASTIGHETSÄGARE */

.fastighetsagare {
  margin-top: 75px;
  padding: 50px 50px;
  background: linear-gradient(to right, rgb(52, 72, 92, 0.75) 25%, rgb(52, 92, 92, 0.1)),
    url('/img/langsiktigt-hallbart-och-effektivt.jpg');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  min-height: 50vh;
  height: 50vh;
  color: #fff;
  display: flex;
}

.fastighetsagare h3.underline {
  color: var(--white-color);
  margin-bottom: 25px;
  font-size: 30px;
}

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

.fastighetsagare p {
  font-size: 25px;
  width: 75%;
}

/* UPPKOPPLAD */

.connected {
  padding: 50px 50px;
}

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

.connected h3.underline {
  font-size: 30px;
}

.connected p {
  font-size: 22px;
  width: 100%;
  padding: 0 50px;
}

.evenmorecircles {
  padding: 50px 50px;
}

.evenmorecircles .grid {
  gap: 50px;
}

.evenmorecircles .card {
  height: 100%;
}
.evenmorecircles .card div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  width: auto;
  align-self: flex-start;
}

.evenmorecircles .card h3 {
  font-size: 30px;
  align-self: center;
}

.evenmorecircles .card p {
  font-size: 22px;
  text-align: center;
}

.evenmorecircles .card i {
  border-radius: 50%;
  background-color: var(--warm-white-color);
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: 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);
}

/* SE DET MED EGNA ÖGON */

.today {
  padding: 50px 50px;
  width: auto;
}

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

.today p {
  font-size: 22px;
  text-align: center;
  width: 100%;
  padding: 0 50px;
}

.contact .btn {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

@media screen and (min-width: 320px) and (max-width: 425px) {
  body {
    border: 0px solid red;
  }

  .fastighetsagare {
    margin-top: 70px;
    padding: 25px 25px;
    display: flex;
    height: 60vh;
  }

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

  .fastighetsagare h2 {
    font-size: 40px;
    text-align: left;
  }

  .fastighetsagare p {
    font-size: 20px;
    width: 100%;
    text-align: left;
  }

  .connected {
    padding: 25px 25px;
  }

  .connected h2 {
    font-size: 40px;
    text-align: center;
    padding: 0;
  }

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

  .connected p {
    font-size: 16px;
    width: 100%;
    padding: 0 25px;
    text-align: justify;
  }

  .evenmorecircles {
    padding: 25px 25px;
  }

  .evenmorecircles .grid {
    gap: 25px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .evenmorecircles .card {
    height: 100%;
  }
  .evenmorecircles .card div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: auto;
    align-self: flex-start;
  }

  .evenmorecircles .card h3 {
    font-size: 25px;
    text-align: center;
  }

  .evenmorecircles .card p {
    font-size: 16px;
    text-align: justify;
  }

  .evenmorecircles .card i {
    border-radius: 50%;
    background-color: var(--warm-white-color);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: 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);
  }

  .evenmorecircles .card i.fa-4x {
    font-size: 40px;
  }

  .today {
    padding: 25px 25px;
  }

  .today h2 {
    font-size: 40px;
    text-align: center;
  }

  .today img {
    width: 100%;
  }

  .today p {
    font-size: 16px;
    text-align: center;
    width: 100%;
    padding: 0 25px;
  }

  table {
    display: none;
  }

  .contact {
    padding: 25px 25px;
    height: auto;
  }

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

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

  .contact p {
    font-size: 16px;
  }

  .contact .grid {
    grid-template-columns: 1fr;
    height: 100%;
    margin-top: 125px;
  }

  .contact .grid p {
    font-size: 16px !important;
    padding: 0;
    margin: 0;
  }

  .contact .grid form {
    width: 90%;
  }

  .contact .grid .form-control {
    width: 100%;
  }

  .contact .grid label {
    font-size: 16px;
  }

  .contact .grid form label {
    font-size: 16px;
  }
  body > section.contact > div.container.grid > div.right > div > form > div:nth-child(3) > label {
    font-size: 16px;
  }

  .footer {
    height: auto;
    padding: 25px 25px 0px 0px;
    max-width: 99%;
  }

  .footer .grid {
    gap: 0px;
    margin-left: 50px;
    margin-top: 0px;
  }

  .footer .grid .logo-social-container {
    display: none;
    position: absolute;
    top: 50px;
    left: 150px;
  }

  .footer .grid .social {
    border: 0px solid red;
    display: none;
  }

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

  .footer .grid ul li {
    width: 99px;
  }

  .footer .grid ul li a {
    width: 375px;
  }

  .footer .grid h4 {
    font-size: 16px;
  }

  .footer .grid a {
    font-size: 12px;
  }
}

@media screen and (min-width: 426px) and (max-width: 480px) {
  body {
    border: 0px solid red;
  }

  .fastighetsagare {
    margin-top: 75px;
    padding: 25px 25px;
    display: flex;
    height: 60vh;
    align-items: center;
    justify-content: center;
  }

  .fastighetsagare h2 {
    font-size: 40px;
    text-align: left;
  }

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

  .fastighetsagare p {
    font-size: 22px;
    line-height: 1.6;
    width: 100%;
  }

  .connected {
    padding: 25px 25px;
  }

  .connected h2 {
    font-size: 40px;
    text-align: center;
  }

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

  .connected p {
    font-size: 16px;
    padding: 0;
    width: 100%;
    text-align: justify;
  }

  .evenmorecircles {
    padding: 25px 25px;
  }

  .evenmorecircles .grid {
    gap: 25px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .evenmorecircles .card {
    height: 100%;
  }
  .evenmorecircles .card div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: auto;
    align-self: flex-start;
  }

  .evenmorecircles .card h3 {
    font-size: 25px;
    text-align: center;
  }

  .evenmorecircles .card p {
    font-size: 16px;
    text-align: justify;
  }

  .evenmorecircles .card i {
    border-radius: 50%;
    background-color: var(--warm-white-color);
    width: 125px;
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: 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);
  }

  .evenmorecircles .card i.fa-4x {
    font-size: 50px;
  }

  .today {
    padding: 25px 25px;
  }

  .today h2 {
    font-size: 40px;
    text-align: center;
  }

  .today img {
    width: 100%;
  }

  .today p {
    font-size: 16px;
    text-align: center;
    width: 100%;
    padding: 0 25px;
  }

  table {
    display: none;
  }

  .contact {
    padding: 25px 25px;
    height: auto;
  }

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

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

  .contact p {
    font-size: 16px;
  }

  .contact .grid {
    grid-template-columns: 1fr;
    height: 100%;
    margin-top: 125px;
  }

  .contact .grid p {
    font-size: 16px !important;
    padding: 0;
    margin: 0;
  }

  .contact .grid form {
    width: 90%;
  }

  .contact .grid .form-control {
    width: 100%;
  }

  .contact .grid label {
    font-size: 16px;
  }

  .contact .grid form label {
    font-size: 16px;
  }
  body > section.contact > div.container.grid > div.right > div > form > div:nth-child(3) > label {
    font-size: 16px;
  }

  .footer {
    height: auto;
    padding: 25px 25px 0px 0px;
    max-width: 99%;
  }

  .footer .grid {
    gap: 0px;
    margin-left: 100px;
    margin-top: 0px;
  }

  .footer .grid .logo-social-container {
    display: none;
    position: absolute;
    top: 50px;
    left: 150px;
  }

  .footer .grid .social {
    border: 0px solid red;
    display: none;
  }

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

  .footer .grid ul li {
    width: 150px;
  }

  .footer .grid ul li a {
    width: 375px;
  }

  .footer .grid h4 {
    font-size: 16px;
  }

  .footer .grid a {
    font-size: 12px;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  body {
    border: 0px solid red;
  }

  .fastighetsagare {
    margin-top: 70px;
    display: flex;
    flex-direction: column;

    padding: 25px 25px;
  }

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

  .fastighetsagare h2 {
    font-size: 40px;
    text-align: left;
  }

  .fastighetsagare p {
    font-size: 20px;
    width: 100%;
    padding-right: 50px;
  }

  .connected {
    padding: 25px 25px;
  }

  .connected h2 {
    font-size: 40px;
    text-align: center;
    padding: 0;
  }

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

  .connected p {
    font-size: 18px;
    width: 100%;
    padding: 0 25px;
    text-align: justify;
  }

  .evenmorecircles {
    padding: 25px 25px;
  }

  .evenmorecircles .grid {
    gap: 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .evenmorecircles .card {
    height: 100%;
  }
  .evenmorecircles .card div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: auto;
    align-self: flex-start;
  }

  .evenmorecircles .card h3 {
    font-size: 25px;
    text-align: center;
  }

  .evenmorecircles .card p {
    font-size: 16px;
    text-align: justify;
  }

  .evenmorecircles .card i {
    border-radius: 50%;
    background-color: var(--warm-white-color);
    width: 125px;
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: 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);
  }

  .evenmorecircles .card i.fa-4x {
    font-size: 50px;
  }

  .today {
    padding: 25px 25px;
  }

  .today h2 {
    font-size: 40px;
    text-align: center;
  }

  .today img {
    width: 100%;
  }

  .today p {
    font-size: 16px;
    text-align: center;
    width: 100%;
    padding: 0 25px;
  }

  .contact {
    padding: 25px 25px;
    height: auto;
  }

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

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

  .contact p {
    font-size: 16px;
  }

  .contact .grid {
    grid-template-columns: 1fr;
    height: 100%;
    margin-top: 125px;
  }

  .contact .grid p {
    font-size: 16px !important;
    padding: 0;
    margin: 0;
  }

  .contact .grid form {
    width: 90%;
  }

  .contact .grid .form-control {
    width: 100%;
  }

  .contact .grid label {
    font-size: 16px;
  }

  .contact .grid form label {
    font-size: 16px;
  }
  body > section.contact > div.container.grid > div.right > div > form > div:nth-child(3) > label {
    font-size: 16px;
  }

  .footer {
    height: auto;
    padding: 25px 25px 0px 0px;
    max-width: 99%;
  }

  .footer .grid {
    gap: 0px;
    margin-left: 75px;
    margin-top: 0px;
  }

  .footer .grid .logo-social-container {
    display: none;
    position: absolute;
    top: 50px;
    left: 150px;
  }

  .footer .grid .social {
    border: 0px solid red;
    display: none;
  }

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

  .footer .grid ul li {
    width: 125px;
  }

  .footer .grid ul li a {
    width: 375px;
  }

  .footer .grid h4 {
    font-size: 16px;
  }

  .footer .grid a {
    font-size: 12px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  body {
    border: 0px solid red;
  }

  .fastighetsagare {
    display: flex;
    padding: 50px 50px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

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

  .fastighetsagare h2 {
    font-size: 60px;
    text-align: left;
  }

  .fastighetsagare p {
    font-size: 22px;
    width: 100%;
  }

  .connected {
    padding: 50px 50px;
  }

  .connected h2 {
    font-size: 40px;
    text-align: center;
  }

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

  .connected p {
    font-size: 18px;
  }

  .evenmorecircles {
    padding: 25px 25px;
  }

  .evenmorecircles .grid {
    gap: 25px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .evenmorecircles .card {
    height: 500px;
    width: 50%;
  }
  .evenmorecircles .card div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: auto;
    align-self: flex-start;
  }

  .evenmorecircles .card h3 {
    font-size: 25px;
    text-align: center;
  }

  .evenmorecircles .card p {
    font-size: 18px;
    text-align: justify;
  }

  .evenmorecircles .card i {
    border-radius: 50%;
    background-color: var(--warm-white-color);
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: 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);
  }

  .evenmorecircles .card i.fa-4x {
    font-size: 60px;
  }

  .today {
    padding: 50px 50px;
  }

  .today h2 {
    font-size: 40px;
    text-align: center;
  }

  .today img {
    width: 100%;
  }

  .today p {
    font-size: 16px;
    text-align: center;
    width: 90%;
    padding: 0 50px;
  }
}
@media screen and (min-width: 1025px) and (max-width: 1200px) {
  body {
    border: 1px solid red;
  }

  .menu .become-customer {
    display: none;
  }
}

@media screen and (min-width: 1201px) {
  .fastighetsagare {
    display: flex;
    padding: 50px 50px;
    margin-top: 70px;
  }
  .container {
    max-width: 1280px;
  }
}
