* { box-sizing: border-box; } @font-face { font-family: 'PeaceSans'; src: url("fonts/Peace Sans.otf") format("opentype"); } *::selection { background-color: rgba(253, 199, 25, 0.5); } body { margin: 0; font-family: 'Public Sans', sans-serif; background-color: #fafafa; background-position: 10px 0, 10px 0, 0 0, 0 0; background-size: 20px 20px; background-repeat: repeat; transition: background-color 0.5s; } .darkmode { position: absolute; right: 2vw; top: 1vh; height: 45px; width: 45px; border-radius: 50%; background-image: url("assets/dark.png"); background-size: contain; cursor: pointer; transition: all 0.5s; } .darkmode:hover, .darkmode:focus { transform: scale(1.15); opacity: 1; border-radius: 10%; } body.dark { background-color: #222!important; } .dark .darkmode { background-image: url("assets/light.png"); } .dark * { color: white!important; } .dark .companies__title, .dark .banner__title, .dark .blogpageheadings__title, .dark .email__link { color: black!important; } .dark .companies { background-color: #eeca61 !important; } .dark .banner { background-color: #eeca61 !important; } .dark .email__link:hover { background-color: rgb(255, 211, 92); transform: scale(1.05); } .header, .main { text-align: center; } .main { display: flex; flex-direction: column; align-items: center; margin-bottom: 3vh; } .subpage { display: flex; flex-direction: column; align-items: center; margin-bottom: 3vh; text-align: center; } .blogpage { display: flex; flex-direction: column; align-items: center; margin-bottom: 3vh; text-align: left; } .breadcrumb { display: flex; width: 95%; text-align: left; margin-left: 3vw; margin-bottom: 2vh; } .header__title { color: black; font-size: 3rem; font-family: 'PeaceSans', sans-serif; font-weight: 500; margin-top: 50px; margin-bottom: 0; transform: translateY(-100vh); animation: drop 0.5s forwards; } .header__description { padding: 1vh 10vw; margin-top: 2vh; margin-bottom: 1.75vh; font-size: 1.75rem; font-weight: 100; font-style: italic; } .header__logo { position: absolute; left: 3px; top: 3px; width: 50px; height: 50px; border-radius: 50%; visibility: hidden; } .logo__link, .breadcrumb__link { text-decoration: none; } .breadcrumb__text, .breadcrumb__link { color: black; font-size: 0.8em; font-weight: 700; margin: 1vh 3px; font-style: italic; } .companies { overflow: scroll; max-width: 100vw; background-color: #FDC719; padding-bottom: 3vh; } .companies__link { text-decoration: none; } .companies__wrapper { overflow: hidden; width: max-content; max-height: 160px; padding: 10px; } .companies__wrapper--first { margin-bottom: 2vh; } .companies__title { font-weight: 200; font-size: 1.125rem; margin-bottom: 1vh; } .companies__title::selection { background-color: white; } .companies__image { margin: 0 8px 0; width: 120px; height: 120px; border-radius: 10%; box-shadow: 2px 3px 8px 4px rgba(0, 0, 0, 0.25); transition: all 0.2s; } .companies__image:hover { transform: translateY(-2vh) scale(1.05); box-shadow: 3px 5px 15px 4px rgba(0, 0, 0, 0.35); } .services { display: flex; flex-direction: column; justify-content: center; border: #FDC719 solid 10px; border-radius: 15px; width: 90vw; height: 40vh; padding: 1vh 1vw; margin-top: 3vh; } .services__title { font-size: 1.5rem; font-weight: 300; margin: 0 0 1vh; } .services__link { color: black; font-weight: 700; text-decoration-line: underline; text-decoration-color: #FDC719; text-decoration-thickness: 3px; margin: 1vh 0; font-style: italic; } .services__list { display: flex; flex-direction: column; align-items: center; margin: 1vh 0; padding: 0; list-style-type: none; } .services__item { font-weight: 700; margin: 1vh 0; font-style: italic; } .services__item:last-of-type { margin-bottom: 0; } .banner { background-color: #FDC719; width:100%; } .banner__title { font-weight: 700; font-size: 4rem; margin-top: 1.5vh; margin-bottom: 1.5vh; } .banner__title::selection { background-color: white; } .footer { margin-top: 3vh; } .blogscontainer { display: flex; flex-direction: column; font-size: 1.25em; } .blogteaser { border: #FDC719 solid 10px; border-radius: 15px; width: 90vw; padding: 1vh 1vw; margin-top: 3vh; margin-left: 1vw; margin-right: 1vw; } .blog__link { color: black; font-weight: 700; text-decoration-line: underline; text-decoration-color: #FDC719; text-decoration-thickness: 3px; margin: 1vh 0; font-style: italic; } .blogpageheadings__title { font-weight: 700; font-size: 2rem; margin-top: 1.5vh; margin-bottom: 1.5vh; padding: 10px; text-align: center; } .blogpageheadings__title::selection { background-color: white; } .blogpageimagecontainer { margin-top: 1.5vh; margin-bottom: 1.5vh; } .blogpage__image { display: block; margin-right: auto; margin-left: auto; width: 90%; height: 90%; box-shadow: 2px 3px 8px 4px rgba(0, 0, 0, 0.25); transition: all 0.2s; } .blogpage__text { padding: 1vh 3.5vw; margin-right: auto; margin-left: auto; line-height: 150%; font-size: 1.25rem; } .subpage__footer { margin-top: 3vh; text-align: center; } .email { margin-top: 2vh; width: 90vw; color: black; display: flex; flex-direction: column; font-size: 1.25rem; } .email__link:active { background-color: white; } .email__link { margin-top: 1vh; margin-bottom: 1vh; font-size: 1rem; color: black; background-color: #FDC719; border-radius: 15px; padding: 5vw; text-decoration: none; border: #FDC719 solid 10px; word-break: break-all; } .refer { margin-top: 3vh; width: 90vw; border: #FDC719 solid 10px; border-radius: 15px; display: flex; flex-direction: column; justify-content: center; padding-bottom: 2vh; } .refer__title { font-size: 1.5rem; font-weight: 300; } .refer__image { width: 50vw; height: 50vw; max-width: 200px; max-height: 200px; border-radius: 50%; box-shadow: 0 3px 8px 4px rgb(0 0 0 / 25%); transition: 0.5s; } .refer__image:hover { border-radius: 10%; } .external__link { color: black; font-weight: 700; text-decoration-line: underline; text-decoration-color: #FDC719; text-decoration-thickness: 3px; margin: 1vh 0; font-style: italic; word-break: break-word; } @media (min-width: 600px) { .email__link { font-size: 1.5rem; } .breadcrumb__text, .breadcrumb__link { font-weight: 700; font-size: 1em; margin: 1vh 10px; } } @media (min-width: 980px) { .darkmode { top: 2vh; } .main { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; max-width: 100vw; margin-bottom: 5vh; } .subpage { max-width: 100vw; margin-bottom: 5vh; } .blogpage { max-width: 100vw; margin-bottom: 5vh; text-align: justify; text-justify: inter-word; } .companies { grid-column: 1 / 4; grid-row: 1; } .services { grid-column: 1; grid-row: 2; width: unset; } .blogscontainer { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 1rem; justify-content: center; width: 70vw; } .blogteaser { width: 25vw; height: calc(100% - 3vh); } .blogcontentcontainer { width: 80vw; } .email { grid-column: 2; grid-row: 2; width: unset; } .refer { grid-column: 3; grid-row: 2; width: unset; } .footer { grid-column: 1 / 5; grid-row: 5; width: unset; } .header__title { font-size: 3rem; margin-bottom: 0; } .header__description { margin-top: 2vh; font-size: 2rem; } .header__logo { width: 150px; height: 150px; visibility: visible; } .logo__link { display: inline-block; } .companies { display: grid; grid-template-columns: auto; grid-template-rows: auto auto auto; row-gap: 2vh; width: 100%; overflow: unset; max-width: unset; padding: 0 5vw 6vh; } .companies__wrapper { justify-content: space-evenly; width: 100%; padding: unset; max-height: unset; height: unset; overflow: unset; display: flex; } .companies__wrapper--first { grid-row: 2; grid-column: 1; } .companies__title { grid-row: 1; } .companies__wrapper--second { grid-row: 3; grid-column: 1; } .companies__link { display: inline-block; } .companies__link, .companies__image { margin: 0 0.25vw 0; height: 8vw; width: 8vw; } .services { justify-self: center; width: 85%; height: calc(100% - 3vh); } .services__title { font-size: 2rem; } .services__item { font-size: 1.75rem; } .banner { row-gap: 0vh; width: 100%; padding: 0 5vw 0vh; } .blog { justify-self: center; width: 85%; } .blog__title { font-size: 1.25rem; } .blogpage__image { height: 35vw; width: 70vw; } .email { height: 80%; font-size: 1.4rem; } .email__link { justify-self: center; display: flex; flex-direction: column; justify-content: center; width: 100%; height: 25%; font-weight: bold; padding: 2vh 1vw; font-size: 1rem; transition-duration: 0.5s; } .email__link:hover { background-color: rgba(253, 199, 25, 0.2); transform: scale(1.05); } .email__link:active { background-color: white; } .refer { justify-self: center; padding: 3vh 0; width: 85%; } .refer__title { font-size: 2rem; margin: 0 0 2vh; } .refer__image { width: 200px; height: 200px; } } @media (min-width: 1300px) { .header__logo { width: 200px; height: 200px; visibility: visible; } .email__link { font-size: 1.125rem; } } @media (min-width: 1500px) { .header__title { font-size: 4rem; } .header__description { font-size: 3rem; } .companies__title { font-size: 2rem; } .banner__title { font-size: 5rem; } .header__logo { width: 200px; height: 200px; } .blogpageheadings__title { font-size: 3rem; } .email__link { font-size: 1.5rem; } } @keyframes drop { 0% { transform: translateY(-100vh); } 50% { transform: translateY(3vh); } 70% { transform: translateY(-2vh); } 100% { transform: translateY(0); } }