

:root {
    --dark-gray: rgb(42, 42, 42);
    --transformation-length: 2s;
}

body {
    background-color: var(--dark-gray);
}

.section {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 100vh;
}

.scroll {
    background-color: white;
}

.scroll h1,
.scroll h2,
.scroll p {
    color: var(--dark-gray);
}



.skill {
    height: 150px;
    width: 150px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media only screen and (max-width: 600px) {
    .skill {
      height: 70px;
      width: 70px;
      border-radius: .2rem;
    }
  }


.skill > p {
    color: black;
}

.skill:nth-child(2){
    transition-delay: 200ms;
}

.skill:nth-child(3){
    transition-delay: 400ms;
}

.skill:nth-child(4){
    transition-delay: 600ms;
}

#skill-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 3rem;
}


h1, h2, h3, p {
    color: white;
}


a {
    color: lightblue;
    transition: .25s linear;
}

a:active {
    color: pink;
}

a:hover {
    color: green;
}


.hidden {
    opacity: 0;
    transition: all var(--transformation-length);
}

.from-left {
    opacity: 0;
    transform: translateX(-100%);
    transition: all var(--transformation-length);
}

.from-right {
    opacity: 0;
    transform: translateX(+100%);
    transition: all var(--transformation-length);
}

.grow {
    opacity: 0;
    transform: scale(.3, .3);
    transition: all var(--transformation-length);
}

.shrink {
    opacity: 0;
    transform: scale(3, 3);
    transition: all var(--transformation-length);
}

.show {
    opacity: 1;
    transform: translateX(0);
}

@media(prefers-reduced-motion) {
    .hidden {
        transition: none;
    }
}
