/*@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');*/ @import url('/fonts/franklin-gothic/franklin-gothic.css'); :root { --fg-color: #000; --bg-color: #ffffff; --primary-color: #00AFD7; --border-color: #b9bfbb; } html { font-size: 150%; } body { margin: 0; padding: 0; background-color: var(--bg-color); color: var(--fg-color); font-family: 'Franklin Gothic', sans-serif; font-weight: 400; line-height: 1.65; } header { max-width: 42.67rem; margin: 0 auto 3rem; } header h1 { margin-bottom: 0; } header p { margin-top: 0; } main { max-width: 42.67rem; margin: 0 auto; } /* Text Elements */ p { margin-bottom: 1.15rem; } h1, h2, h3, h4, h5 { margin: 3rem 0 1.05rem; font-weight: 700; line-height: 1.15; } h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child { margin-top: 1rem; } h1 { font-size: 2.488rem; } h2 { font-size: 2.074rem; } h3 { font-size: 1.728rem; } h4 { font-size: 1.44rem; } h3 + h4 { margin-top: 0; } h5 { font-size: 1.2rem; } small { font-size: 0.833rem; } a { color: var(--primary-color); cursor: pointer; text-decoration: none; white-space: nowrap; } a:hover { color: var(--fg-color); } ol, ul { padding-left: 0; list-style-position: inside; } dl dt { font-style: italic; font-weight: bold; } dd + dt { margin-top: 1.15rem; } img { width: 100%; box-sizing: border-box; } nav { margin: 0 0 1.05rem; display: flex; } nav a { color: var(--fg-color); font-weight: bold; } nav a:not(:last-child) { margin-right: 2rem; } nav a.--active { text-decoration: underline; } section { margin-bottom: 3rem; } iframe { border: 0; width: 100%; /*height: 24rem;*/ } figure { margin: 0 0 1rem; padding: 0; width: 100%; } figure img { border: 0.0625rem solid #bdc3c7; } figure figcaption { text-align: center; font-style: italic; font-size: 0.833rem; } .albums-list, .website-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } .website-list__item { display: flex; flex-direction: column; /*max-width: 400px;*/ margin-bottom: 2rem; /*font-weight: bold;*/ color: var(--fg-color); } .website-list__item img { border: 0.0625rem solid var(--border-color); } @media all and (max-width: 1000px) { .website-list__item { max-width: 100%; margin-bottom: 2rem; } } footer { text-align: center; color: white; background-color: var(--fg-color); padding: 2rem 0 1rem; } footer section { max-width: 42.67rem; margin: 0 auto 2rem; } footer a:hover { color: white; } @media all and (max-width: 600px) { header { padding: 0 1rem; flex-flow: column; justify-content: space-around; } main { padding: 0 1rem; } .website-list { grid-template-columns: 1fr; } .website-list__item { max-width: 100%; margin-bottom: 2rem; } } .carousel-wrapper { overflow: hidden; } .carousel-wrapper * { box-sizing: border-box; } .carousel { transform-style: preserve-3d; } .carousel__photo { opacity: 0; position: absolute; top:0; width: 100%; margin: auto; padding: 1rem 4rem; z-index: 100; transition: transform .5s, opacity .5s, z-index .5s; } @media all and (max-width: 600px) { .carousel__photo { padding: 1rem 2rem; } } .carousel__photo.initial, .carousel__photo.active { opacity: 1; position: relative; z-index: 900; } .carousel__photo.prev, .carousel__photo.next { z-index: 800; }.carousel__photo.prev { transform: translateX(-100%); /* Move 'prev' item to the left */ }.carousel__photo.next { transform: translateX(100%); /* Move 'next' item to the right */ } .carousel__button--prev, .carousel__button--next { position: absolute; top:50%; width: 3rem; height: 3rem; background-color: #fff; transform: translateY(-50%); border-radius: 50%; cursor: pointer; z-index: 1001; /* Sit on top of everything */ border: 1px solid black; }.carousel__button--prev { left:0; }.carousel__button--next { right:0; }.carousel__button--prev::after, .carousel__button--next::after { content: " "; position: absolute; width: 10px; height: 10px; top: 50%; left: 54%; border-right: 2px solid black; border-bottom: 2px solid black; transform: translate(-50%, -50%) rotate(135deg); }.carousel__button--next::after { left: 47%; transform: translate(-50%, -50%) rotate(-45deg); } @media all and (max-width: 600px) { .carousel__button--prev, .carousel__button--next { width: 1.5rem; height: 1.5rem; } } /* To-top button */ /* Scroll-to-top button ========================================================================== */ #to-top-button { display: none; position: fixed; bottom: 1rem; right: 1rem; z-index: 99; cursor: pointer; padding: 1rem; font-size: 1.25rem; /*box-shadow: 0 0.125rem 0.75rem var(--gray);*/ } button { border: 0.125rem solid var(--border-color); background-color: white; cursor: pointer; font-weight: 700; font-size: 1rem; transition: background-color 0.1s ease-in-out; } button:hover { color: white; background-color: var(--primary-color); border-color: var(--primary-color); }