html {
    cursor: url("./assets/bunny.cur") 16 16, auto;
}

body {
    padding: 4rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: monospace;
    background-color: #a4c263;
    scroll-behavior: smooth;
    font-size: 1rem;
    color: #2b393b;
    overflow-x: hidden;
    background-image: url("./assets/portBg_lg.png");
    background-size: 155% auto;
    background-position: top center;
}

::selection {
    color: #251a18;
    background: #90625d;
    /* cursor: auto; */
}

::-moz-selection { /* Code for Firefox */
    color: #251a18;
    background: #90625d;
    /* cursor: auto; */
}

#loader {
    position: fixed;
    inset: 0;
    background-color: #a4c263;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-family: monospace;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 2px solid #a4c263;
    border-top: 2px solid #2b393b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 0.8rem;
    opacity: 0.8;
    letter-spacing: 0.05em;
}

img {
    border-radius: 3px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

video {
    border-radius: 3px;
}

.vimeo iframe{
    width: 100%;
    height: 500px;
    padding: 0;
    margin: 0;
    display: block;
    line-height: 0;
}

.main {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#name {
    opacity: 0.8;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.info {
    text-align: left;
}

.caption {
    opacity: 0.8;
    font-size: 0.8rem;
}

.about {
    width: auto;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vertical-img {
    width: 100%;
    height: auto;
    border-radius: 3px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.pages {
  color: #2b393b;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  width: fit-content;
  cursor: pointer;
}

.repository {
  color: #2b393b;
  opacity: 0;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  width: fit-content;
  cursor: pointer;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tilde {
    opacity: 0.8;
    text-align: center;
}

.card {
    display: flex;
    flex-direction: row;
    gap: 0.3rem;
}

.work-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pages-container {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

#title {
    text-decoration: none;
    color: #2b393b;
    font-weight: bold;
    font-size: 1.5rem;
}

.cd {
    display: flex;
    flex-direction: row;
    gap: 0.8rem;
    opacity: 0.8;
}

.moi {
    font-weight: bold;
}

.updates {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 1rem;
}

.date {
    display: flex;  
    flex-direction: row;
    gap: 1rem;
    opacity: 0.8;
}

.caption {
    padding-left: 2rem;
}

.kitty {
    font-size: 0.8;
    text-decoration: none;
    color: #2b393b;
    width: fit-content;
}

#commit {
    color: #2b393b;
    opacity: 0.8;
    width: 100%;
    padding-top: 4rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-weight: bold;
}


@media (min-width: 600px) {
    body {
        background-repeat: repeat-y;   
        background-size: 100% auto;   
        padding: 2rem 2rem 3rem 2rem;
    }

    .main {
        padding: 5rem 10rem 0 10rem;
        width: 40%;
        height: fit-content;
        gap: 3rem;
        font-size: 1rem;
        justify-content: center;
    }

    #title {
        font-size: 2rem;
    }

    .info {
        text-align: justify;
    }

    .about {
        width: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 1rem;
    }

    .vertical-img {
        width: 50%;
        border-radius: 3px;
        filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    }

    .content {
        text-align: justify;
    }
    
    .card {
        gap: 1rem;
    }

    .date {
        gap: 2rem;
    }
    
    .caption {
        padding-left: 3rem;
    }
}