
:root {
    --blue: #10828c;
    --orange: #eba10c;
    --white: #ffffff;
    --black: #000000;
    --light-grey: #efefef;
    --light-blue: #aacfd3;
    --light-orange: rgba(235, 161, 12, 0.75);
    --medium-blue: #4ca1a9;
    --dark-grey: #676464;
    --body-fonts: "Roboto";
    --logo-fonts: "Sansation", sans-serif;
    --font-size-heading: 2.9vw;
    --font-size-nav: 50px;
    --font-size-nav-active: 60px;
  }
  
  html, body {
    top:0;
    bottom:0;
    left:0;
    right:0;
}

.main-heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: var(--logo-fonts);
    color: var(--black);
    font-size: 2.8vw;
    padding: none;
    margin-bottom: 0.5vw;
    margin-top: 4vw;  
}

.main-heading-text {
    font-weight:lighter;
    margin-bottom: auto;
    margin-top: none;
    letter-spacing: 0.5vw;
}

.main-heading-grundfos {
    color:var(--blue);
    font-weight: bold;
    padding: 0vw 0.7vw 0vw 0.7vw;
    margin-bottom: auto;
    letter-spacing: 0.5vw;
}

.horizontal-line {
    border-bottom: 0.05vw solid var(--dark-grey);
    width: 64vw;
    margin-left: auto;
    margin-right: auto;
}

.main-content-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 2.5vw;
    margin-top: 3.5vw;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width:26vw;
    height: 17vw;
    background-color: var(--blue);
    border-radius: 10px;
}

.main-image {
    width: 26vw;
    height: 13.5vw;
    border-radius: 10px 10px 0px 0px;
    padding: 0vw;
    object-fit: cover;
    object-position: 100% 25%;
}


.main-laundry-image {
    width: 26vw;
    height: 13.5vw;
    border-radius: 10px 10px 0px 0px;
    padding: 0vw;
    object-fit: cover;
    object-position: 25% 100%;
}


.main-link-text {
    color: white;
    font-family: var(--body-fonts);
    font-size: 1.8vw;
    font-weight: light;
    margin: 0.5vw ;
}

.main-link {
    text-decoration: none;
}

.main-link:visited {
    text-decoration: none;
}

.main-link:hover {
    font-weight: bold;
}

.main-search-icon {
    width:3vw;
    height: auto;
    margin-left: 93vw;
    position:absolute;
    top:3.5vw;
    margin-bottom:auto;
}

.main-icons-bottom {
    display: flex;
    justify-content: space-between;
    padding-left:3vw;
    padding-right:3vw;
    bottom:0;
    margin-top:2vw;

}

.main-qrcode {
    width: 5.5vw;
    height: auto;
    margin-top:1vw;
}

.main-help-icon {
    width: 3.5vw;
    height: auto;
    margin-top:3vw;
}

/*MOBILE NAVIGATION*/
.navigation-mobile {
    background-color: var(--blue);
    display: none;
    width: 100vw;
    align-items: center;
    justify-content: space-between;
    left:0;
  }
  
  .mobile-nav-icon {
    padding: 15px 30px;
  }



/* breakpoints*/

/*for larger devices*/
@media only screen and (min-width: 600px) {
    .mobile-main-heading {
        display: none;
    }
    .mobile-main-content-cards {
        display: none;
    }

    .navigation-mobile {
        display:none;
    }
}

/*for small devices*/

@media only screen and (max-width: 599px) {

    .main-heading {
        display:none;
    }

    .mobile-main-heading {
        text-align: center;
        font-family: var(--logo-fonts);
    }

    .mobile-main-heading-grundfos-kollegiet {
        display:flex;
        flex-direction: row;
        justify-content: center;
        font-size: 6vw;
        margin-top:2vw;
        letter-spacing: 0.6vw;
    }

    .mobile-main-heading-welcome {
        font-weight:lighter;
        margin-bottom: 0vw;
        margin-top: 13vw;
        margin-right:0vw;
        margin-left:3vw;
        font-size: 10vw;
        letter-spacing: 2.5vw;
    }
    
    .mobile-main-heading-grundfos {
        color:var(--blue);
        font-weight: bold;
        padding: 0vw 0.5vw 0vw 0.5vw;
        margin-bottom: 0vw;
        margin-top: 0vw;
    }
    
    .mobile-main-heading-kollegiet {
        font-weight:lighter;
        margin-bottom: 0vw;
        margin-top: 0vw;;
        padding-left:1.5vw;
    }


    .horizontal-line {
        border-bottom: 0.05vw solid var(--dark-grey);
        width: 87vw;
        margin-left: auto;
        margin-right: auto;
    }

    .main-content-cards {
        display: none;
    }

    .mobile-main-content-cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        gap: 4vw;
        margin-top: 3.5vh;
    }

    .mobile-main-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width:42vw;
        height: 42vw;
        background-color: var(--blue);
        border-radius: 10px;
    }
    
    .mobile-main-image {
        width: 42vw;
        height: 35vw;
        border-radius: 10px 10px 0px 0px;
        padding: 0vw;
        object-fit: cover;
        object-position: 100% 25%;
    }
    
    
    .mobile-main-laundry-image {
        width: 42vw;
        height: 35vw;
        border-radius: 10px 10px 0px 0px;
        padding: 0vw;
        object-fit: cover;
        object-position: 25% 100%;
    }

    .mobile-main-link-text {
        color: white;
        font-family: var(--body-fonts);
        font-size: 4vw;
        font-weight: light;
        margin: 1vh ;
        text-decoration: none;
    }

    .main-link {
        text-decoration: none;
    }
    
    .main-link:visited {
        text-decoration: none;
    }

    .navigation-mobile {
        margin-top: 3rem;
        margin-left:0vw;
        display: flex;
        position: fixed;
        bottom: 0;
      }

    .main-search-icon {
        display:none;
      }

    .main-help-icon {
        display:none;
    }

    .main-qrcode {
        display:none;
    }
}