@font-face { font-family: 'Luciole'; src: url('../font/Luciole-Regular.woff2') format('woff2'), url('../font/Luciole-Regular.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; } html { font-family: 'Luciole'; color: black; background-color: white; } body { line-height: 2; display: flex; flex-direction: column; min-height: 100vh; a { color: black; transition-duration: 0.2s; } a:hover { text-decoration:none; box-shadow: 5px 5px 0px black; } .icon-list { list-style-type: none; div { margin-left:20px; } li { display: flex; margin-top:20px; margin-bottom:20px; } } div { margin-top: auto; margin-bottom:auto; } .ico { height:50px; width:50px; transition-duration: 1s; } .ico:hover { transform: rotate(20deg); } .tstuff { border-radius:10px; border:solid 2px black; padding:10px; transition-duration: 0.5s; h2 { text-decoration:underline; } span { margin-left:20px; } } article { margin-top: 20px; a:hover { box-shadow: 0px 0px 0px black; } } .tstuff:hover{ box-shadow: 10px 10px 0px black; } .collection { display: flex; align-items:center; } #mainFrame { margin: auto; border-radius:30px; width: 60vw; box-shadow: 0px 0px 10px black; z-index: 7; } #left, #right { font-size:10vw; color: lightgrey; border: none; background-color: white; transition-duration: 1s; } #left:hover, #right:hover { color: black; text-shadow: 0px 0px 20px black; } figcaption { border: solid 2px black; background-color: white; border-radius: 30px; text-align: center; } } main { flex: 1; flex-grow: 1; width: 80%; margin:auto; margin-top:50px; margin-bottom:50px; } hr{ width: 40%; border: 1px solid black; } header{ font-size:20px; display:flex; flex-direction: row; margin-top: 10px; margin-left: 10px; img { height: 100%; } a { text-decoration: none; color: black; display: flex; } a:hover { box-shadow: 0px 0px 0px; } nav { display: flex; flex-direction: row; width: 50%; margin:auto; margin-right:0px; justify-content: right; img { width: 100%; } } .img { float:left; width: 20%; min-width:50px; max-width:100px; } .text { float:right; margin-top: auto; margin-bottom: auto; margin-right:auto; margin-left:20px; width: 80% } .cloud, .forge, .stuff{ transition-duration: 0.5s; padding-left: 10px; border-radius:30px; } .forge-ico-op, .cloud-ico-op, .stuff-ico-op { display: none; } .cloud:hover .cloud-ico-op, .forge:hover .forge-ico-op, .stuff:hover .stuff-ico-op { display:block; } .cloud:hover .cloud-ico, .forge:hover .forge-ico, .stuff:hover .stuff-ico { display:none; } .cloud:hover, .forge:hover, .stuff:hover { box-shadow: 0px 0px 10px black; } .logo { transition-duration: 0.5s; border-radius:90px; max-height:150px; margin-left:auto; margin-right:auto; } .logo:hover { box-shadow: 0px 0px 5px black; } } footer { text-align: center; a { color: black; } div { border-top: solid black 2px; width:40%; margin-left:auto; margin-right:auto; padding-top:20px; } } @media (max-width: 868px) { header { flex-direction: column; nav { a{ margin-left:auto; margin-right:auto; } flex-direction: column; width:100%; } } footer { div { width:100%; } } body { #left, #right { color: black; } } }