
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* COLORS */
:root {
    --orange: #FF6100;
    --light-orange: #ff7300;
    --lighter-orange: #ff8616;
    --black: #272727;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--black);
    font-size: 16px;
    font-family: Inter, sans-serif;
    scroll-behavior: smooth;
}

/* HEADER */
#header {
    z-index: 1;
    position: relative;
    border: 10px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    display: flex;
    overflow: hidden;
    --headerHeight: 90px;
    height: var(--headerHeight);
}


#header #buttons  {
    display: flex;
    min-width: 45%;
    height: 100%;
}

.header-button {
    background: white;
    border-right: 3px solid var(--black);
    font: 500 120% Montserrat, Inter, sans-serif;
    color: var(--black);
    transition: .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
    width: calc(100% / 3);
    font-size: clamp(1.00rem, calc(0.909rem + 0.455vw), 1.25rem);
    height: 100%;
}

.header-button:hover {
    border-color: var(--orange);
    color: var(--orange);
    cursor: pointer;
    font-weight: 750;
}

#header #headerLogo {
   display: flex;
}

#header #headerLogo #headerCutout {
    user-select: none;
}

#headerText {
    background-image: url('../Afbeeldingen/headerBg.png');
    background-size: calc(var(--headerHeight) - 20px);
    display: flex;
    align-items: center;
    justify-content: right;
    width: 100%;
}

#headerText img {
    max-width: calc(120%);
    max-height: 100%;
}

/* COMMON */

.bigTitle {
    font-size: clamp(3.13rem, calc(1.037rem + 4.344vw), 6.25rem);
    font-family: Montserrat, sans-serif;
    font-weight: 800;
    text-align: center;
}

/* 404 */

#a404Flex {
    height: calc(100vh - 330px)
}

/* HOMEPAGE */

/* content1 */
.content1 {
    display: flex;
    overflow: hidden;
    margin-bottom: 20px;
    
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, .85) 100%), url(../Afbeeldingen/Home/peerBg.webp), url(../Afbeeldingen/Home/tireMarksBg.webp);
    background-repeat: no-repeat;
    background-position: right top, center center;
    background-size: auto, clamp(8.13rem, calc(-1.062rem + 19.114vw), 21.88rem), clamp(18.75rem, calc(6.223rem + 26.064vw), 37.50rem);
}

.content1 img {
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.2));
    max-width: calc(50vw - 20px);
    border-radius: 30px;
}

.content1 #content1-text {
    display: flex;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
    width: calc(50vw - 20px);
}

.content1 #content1-text p {
    overflow: hidden;
    padding-bottom: 40px;
}

.content1 #content1-text #leer-meer #info-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: white;
    background: var(--orange);
    border-radius: 20px;
    transition: .1s;
    user-select: none;
    text-decoration: none;
}

.content1 #content1-text #leer-meer #info-button:hover {
    cursor: pointer;
    transform: translateY(-15%); 
    background: var(--light-orange);
}

.content1 #content1-text #leer-meer #info-button span {
    font-family: Inter, sans-serif;
    color: white;
    font-weight: 400;
    font-size: clamp(1.88rem, calc(1.040rem + 1.738vw), 3.13rem);
}

.content1 #content1-text #leer-meer #info-button svg {
    width: clamp(3.13rem, calc(2.290rem + 1.738vw), 4.38rem);
}

.content1 #content1-text #leer-meer #info-button svg path {
    color: white;
}

/* slaganScroll */
.slaganScroll {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    font-size: clamp(1.00rem, calc(0.909rem + 0.455vw), 1.25rem);
    margin-bottom: 40px;
}

.slaganScroll .scrollTrack {
    display: flex;
    width: max-content;
    animation: scroll-left 300s linear infinite;

}

.slaganScroll .scrollTrack span {
    font-family: Montserrat, Inter, sans-serif;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 10vw;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* FOOTER */
#footer {
    --height: 220px;
    display: flex;
    height: var(--height);
    align-items: center;
    justify-content: space-between;
    background: var(--orange) url('../Afbeeldingen/tireMarks.webp');
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: 80% 50%;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, .2);
    max-width: 100%;
    overflow: hidden;
}

#footer #icon-links {
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
    padding: 20px;
    font-size: 0;
}

#footer #icon-links a {
    font-size: 0;
}

#footer #icon-links .socialMediaIcon {
    width: calc(var(--height) * .5 - 40px);
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.2));
    transition: 0.1s;
    font-size: 10px;
    color: var(--light-orange)
}

@media (min-width: 1200px){
#footer #icon-links {
    display: flex;
}

#footer #icon-links .socialMediaIcon {
    width: clamp(5.00rem, calc(-4.375rem + 12.500vw), 8.13rem);
}
}

#footer #icon-links .socialMediaIcon path {
    color: inherit;
}

#footer #icon-links .socialMediaIcon:hover {
    cursor: pointer;
    transform: scale(1.1);
    color: var(--lighter-orange);
}

#footer #socialsCTA {
    align-items: left;
    font-size: 0px;
}

#footer #socialsCTA img {
    font-size: 0px;
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.2));
}

#footer #footerLogo {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    width: 100%;
}

#footer #footerLogo p {
    color: white;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

#footer #footerLogo span{
    color: white;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

#footer #footerLogo a {
    font-size: 0px;
}

#footer #footerLogo a img {
    max-height: calc(var(--height) / 2.5);
    max-width: 40vw;
}

/* desktop */
@media (min-width:769px) {
    #footer #socialsCTA img {
    max-height: var(--height);
    max-width: clamp(12.50rem, calc(-14.054rem + 55.249vw), 18.75rem);
}
}

/* mobile */
@media (max-width: 768px) {

#header {
    flex-direction: column-reverse;
    --headerHeight: 120px;
}

#header #headerLogo {
    height: calc((var(--headerHeight) / 2) );
}

#header #headerLogo #headerText {
    background-size: calc((var(--headerHeight) / 2) );
    border-radius: 0 20px 20px 0;

}

.content1 {
    flex-direction: column;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, .85) 100%), url(../Afbeeldingen/Home/peerBg.webp), url(../Afbeeldingen/Home/tireMarksBg.webp);
    background-repeat: no-repeat;
    background-position: right top, bottom clamp(5.31rem, calc(3.193rem + 10.274vw), 8.13rem) center ;
    background-size: auto, clamp(6.25rem, calc(2.718rem + 17.123vw), 10.94rem), clamp(15.63rem, calc(8.562rem + 34.247vw), 25.00rem);
}

.content1 img {
    max-width: calc(100vw - 40px);
    border-radius: 20px;
}

.content1 #content1-text {
    width: calc(100vw - 20px);
}

.content1 #content1-text p {
    font-size: clamp(2.50rem, calc(0.146rem + 11.416vw), 5.63rem);
}

.content1 #content1-text #leer-meer #info-button span {
    font-size: clamp(1.88rem, calc(0.462rem + 6.849vw), 3.75rem);
}

.content1 #content1-text #leer-meer #info-button svg {
    width: clamp(3.44rem, calc(2.496rem + 4.566vw), 4.69rem);
}

#footer {
    --height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-size: auto clamp(11.25rem, calc(7.483rem + 18.265vw), 16.25rem);
    background-position: left calc(-1 * (clamp(14.06rem, calc(9.118rem + 23.973vw), 20.63rem))) bottom;
    max-width: 100%;
    overflow: hidden;
}

#footer #icon-links {
    display: flex;
    padding: 5vw 5vw 0 5vw;
    gap: 5vw;
}

#footer #icon-links .socialMediaIcon {
    width: 18.75vw;
}

#footer #socialsCTA img {
    width: 90vw;
    height: auto;
    content: url("../Afbeeldingen/socialsCTAMobile.webp");
}

#footer #footerLogo a img {
    max-width: 90vw;
}

#footer #footerLogo {
    margin: 30px 0 20px 0;

}
}