* {
    margin: 0;
    padding: 0;
}

::selection {
    background: #89b4fa;
    color: #6c7086;
}

body {
    height: 100vh;
    width: 100vw;
    color: #cdd6f4;

    font-family: sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

    background-color: #11111b;
    background-image: url(./images/domitori.webp);
    background-repeat: repeat;
    background-size: 250px auto;

    animation: movebg 10s linear infinite;
}

@keyframes movebg {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 250px 0;
  }
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

#container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    height: 50%;
    width: 50%;
    border: 1px solid rgba(180, 190, 254,0.7);
    background-color: rgba(24, 24, 37, 0.8);
    overflow-y: scroll;
}

#title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    padding-top: 0
}

#description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

#description > p {
    font-size: 20px;
    text-align: center;
}

#content {
    display: flex;
    flex-direction: row;
}

#content > div {
    height: 100%;
    width: 100%;
}

#links svg {
    height: 32px;
}

#links ul {
    list-style: none;
    column-count: 2;
}

#links a {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
    font-size: 20px;
    border: 1px solid rgba(180, 190, 254, 0.6);
    padding: 10px;

    color: #cdd6f4;
    cursor: pointer;
    text-decoration: none;

    transition: all 0.1s;
}

#links a p {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#links a:hover {
    text-decoration: underline;
    transform: translate(2px, -2px);
}

#links ul li a svg {
    flex-shrink: 0;
}

@media screen and (max-height: 715px) {
    #container {
        height: 70%;
    }
}

@media screen and (max-height: 515px) {
    #container {
        height: 90%;
    }
}

@media screen and (max-width: 1250px) {
    #container {
        width: 70%;
    }
}

@media (orientation: portrait) {
    #container {
        width: 90%;
        height: 90%;
    }

    #links ul {
        column-count: 1;
    }
}