@import url(./var.css);
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
}

.material-symbols-rounded {
  font-variation-settings:
  'FILL' 0,
  'wght' 200,
  'GRAD' -25,
  'opsz' 24
}

body {
    background-color: var(--background-col);
    color: white;
    display: grid;
    grid-template-columns: auto 1fr;
    /*width: 100vw;*/
    /*height: 100vh;*/
}

html {
    font-family: Poppins, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1em;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    background: var(--background-col);
}
::-webkit-scrollbar-thumb {
    background: var(--text-col);
}

#sidebar_button {
    position: fixed;
    padding: var(--sidebar-padding);
    z-index: 1000;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 8px;
}

#sidebar_button > button {
    height: var(--side_button_size);
    width: var(--side_button_size);
    border: none;
    background-color: transparent;
    color: white;
    /*border-radius: 6px;*/
    transition: 100ms ease-in-out;
}

#sidebar_button > button:hover {
    background-color: var(--hover-col);
}

#sidebar_button > button > span {
    display: flex;
    justify-content: space-around;
}

#sidebar_button > img {
    height: calc(var(--side_button_size) - 10px);
}

#sidebar {
    background-color: rgb(0, 0, 0);
    height: 100vh;
    width: 230px;

    position: fixed;
    left: 0;
    top: 0;
    align-self: start;
    
    display: flex;
    flex-direction: column;
    flex-grow: 1;

    transition: 300ms ease-in-out;
    overflow: hidden;
    overflow-y: auto;
}

#sidebar.close {
    width: 0px;
}

#sidebar > ul {
    padding: calc((var(--sidebar-padding) * 2) + var(--side_button_size)) 0 0; /*var(--sidebar-padding) var(--sidebar-padding);*/
    
    list-style: none;
    display: flex;
    flex-direction: column;
    /*gap: var(--sidebar-padding);*/
}

#sidebar > ul > li {
    height: calc(var(--side_button_size) + 20px);
    padding-left: var(--sidebar-padding);
    /*border-radius: 6px;*/
    display: flex;
    transition: 100ms ease-in-out;
}

#sidebar > ul > li.active {
    background-color: var(--active-col);
    .material-symbols-rounded {
        font-variation-settings:
        'FILL' 1,
        'wght' 200,
        'GRAD' -25,
        'opsz' 24
    }
    a {
        color: black;
    }
}

#sidebar > ul > li:hover {
    background-color: var(--hover-col);
}

#sidebar > ul > li.active:hover {
    background-color: var(--active-col);
}

#sidebar > ul > li > a {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    text-decoration: none; 
    color: var(--text-col);
}

#sidebar > ul > li > a > span {
    flex-shrink: 0;
}

#sidebar > ul > li > a > span:first-child {
    padding-left: 5px;
}

#content {
    transition: 100ms ease-in-out;
    display: flex;
    flex-direction: column;
    font-size: 1.2em;
    display: flex;
    flex-direction: column;
}

#sidebar.close + #content {
    width: 100%;
}

#sidebar:not(.close) + #content {
    margin-left: calc(230px + var(--sidebar-padding));
    width: calc(100vw - var(--sidebar-padding) * 2 - 230px);
}


#layout {

    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 10vw 10vw;
    gap: 140px;
}

#layout .info_box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

#layout .info_box .visual{
    flex: 1 1 200px;
    max-width: 300px;

    display: flex;
    align-items: center;
    justify-content: center;
    
}

#layout .info_box .visual a{
    width: 100%;
}

#layout .info_box .visual a img{
    width: 100%;
}

#layout .info_box .visual img{
    width: 100%;
}


#layout .info_box .text{
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

b {
    background: linear-gradient(270deg, #00ffe7, #ff6ec4, #ffd200, #00ffe7);
    font-weight: bold;
    background-size: 600% 600%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.2em;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    animation: gradientMove 10s ease infinite;
}

#button {
    background-color: var(--active-col);
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    color: black;
    width: auto;
    text-align: center;
    transition: 50ms ease-in-out;
}

#button:hover {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

hr.spliter {
    border: 1px solid #3a3a3a;
    margin-left: 16%;
    margin-right: 16%;
}

