﻿html{overflow:hidden;font-family:"Merriweather",serif}body.dark,:root{--color-background: #303030;--color-primary: #ffbf46;--color-button: #b99a5e;--color-button-highlight: #ffc251;--logo: url("/img/logo-main-for-dark-main.png") }body.light{--color-background: #f7f7f7;--color-primary: #ffbf46;--color-button: #b99a5e;--color-button-highlight: #ffc251;--logo: url("/img/logo-main-for-light-main.png") }body{background-color:var(--color-background);display:flex;justify-content:center}main{width:400px;height:100vh;position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:center}main section{width:100%}main section.sides{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}@keyframes category-background{0%{background-position:10% 0}50%{background-position:91% 100%}100%{background-position:10% 0}}.categories{width:100%;display:grid;grid-template-columns:repeat(1, 1fr);grid-template-rows:1fr;grid-gap:90px}.categories>a.category{position:relative;aspect-ratio:1;padding:30px 60px 30px 30px;background-color:rgba(215,210,207,.66);transition:all .8s ease;border-radius:5px;overflow:hidden;color:#000;text-decoration:none;box-shadow:#00000011 0px 0px 40px 5px;display:flex;flex-direction:column;justify-content:flex-end}.categories>a.category>.content{position:relative;z-index:4;display:flex;flex-direction:column}.categories>a.category>.content>h2{font-size:3.1em;font-weight:900;line-height:1em}.categories>a.category>.content>span{width:100%;font-size:.8em;text-transform:uppercase;font-weight:700;margin-top:19px;letter-spacing:.01em}.categories>a.category>.content>.arrow{font-size:3.2em;position:absolute;top:0;left:0;transform:translateY(-70px) translateX(0px) rotateZ(-30deg);opacity:0;transition:all .3s ease}.categories>a.category>.background{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;animation-name:category-background;animation-duration:20s;animation-iteration-count:infinite}.categories>a.category>.background>.pattern{position:absolute;z-index:4;top:0;left:0;width:100%;height:100%;opacity:.1;background-size:30% 30%;background-image:url("../img/pattern-main-for-light-mono.png")}.categories>a.category:hover{transform:scale(1.05);cursor:pointer;transition:all .4s ease}.categories>a.category:hover>.content>.arrow{opacity:1;transform:translateY(-50px) translateX(20px) rotateZ(-30deg);transition:all .8s ease}.categories>a.category:nth-child(1)>.background{background:linear-gradient(30deg, #b38536, #f6c059);background-size:200% 200%}.categories>a.category:nth-child(1)>.background:after{content:" ";position:absolute;top:5%;right:15%;width:70px;height:70px;border-radius:50%;z-index:5;background-color:#000}.categories>a.category:nth-child(2)>.background{background:linear-gradient(-210deg, rgba(241, 89, 70, 0.85), #ffbf46);background-size:200% 200%;animation-direction:reverse;animation-duration:12s}.categories>a.category:nth-child(2)>.background:after{content:" ";position:absolute;bottom:-1%;right:1%;width:70px;height:70px;transform:rotateZ(30deg);z-index:5;border-radius:13%;background-color:#000}.categories>a.category:nth-child(2)>.background:before{position:absolute;top:5%;right:5%;font-size:4em;font-family:"Font Awesome 5 Free",serif;font-weight:900;content:"x";transform:rotateZ(70deg);z-index:5;color:#000}.logo{display:flex;justify-content:center;align-items:center;background:var(--logo);background-repeat:no-repeat;background-position:center center;background-size:cover;width:40%;aspect-ratio:3.5/1;height:auto}.languages{display:flex;flex-direction:column;gap:15px}.languages>.language{padding:8px 10px;background-color:var(--color-button);border-radius:5px;font-weight:bold;cursor:pointer;transition:transform .8s ease}.languages>.language.selected{background-color:var(--color-button-highlight);cursor:not-allowed}.languages>.language:not(.selected):hover{transform:scale(1.14);transition:transform .5s ease}aside.theme-switcher{position:fixed;right:-20px;bottom:50px;padding:10px 15px;padding-right:35px;background-color:var(--color-primary);border-bottom-left-radius:15px;border-top-left-radius:15px;color:#000;z-index:99;font-size:2em;transition:transform .5s ease}aside.theme-switcher:hover{transform:translateX(-20px);cursor:pointer;transition:transform .5s ease}@media(max-width: 910px){main{width:700px}}@media(max-width: 710px){html{overflow:auto}main{width:500px;height:auto;margin:75px 0}main>.categories{grid-template-columns:1fr}}@media(max-width: 510px){html{overflow:auto}main{width:90vw;height:auto;margin:75px 0}main>.categories{grid-template-columns:1fr}}
