@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
:root {
    background-color: #0b0f14;
    color: white;
    font-family: "Righteous", sans-serif;
}
body {
    margin: 0;
}
.container {
    margin: 0 clamp(30px, 20%, 3000px) 0 clamp(30px, 20%, 600px);
}

.banner {
    background-image: url(/static/IMG/tokio.jpg);
    background-size: cover;
}
.banner div {
    backdrop-filter: brightness(0.5);
    display: grid;
    place-items: center;
    width: 100%;
    height: clamp(200px, 20vw, 600px);
    align-content: center;
}

.portfolio {
    margin: 2.5% 0 10% 0;
    line-height: 1.5;
    color: #d1d1d1;
    display: flex;
    gap: 30px;
}


.portfolio-text {
    flex-basis: 60%;
}
.portfolio-img {
    flex-basis: 40%;
}

.portfolio img {
    height: 500px;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 20%;
    opacity: 0;
    transform: translateY(20px);
    animation: opacity 0.7s 0.2s forwards; 
}
.portfolio p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s 0.2s forwards; 
}

summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-left: 28px;
  user-select: none;

opacity: 0;
transform: translateY(20px);
animation: fadeIn 1s 0.2s forwards; 
}

summary::-webkit-details-marker {
  display: none;
}

summary::before,
summary::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 250ms ease;
}


summary::after {
  transform: translateY(-50%) rotate(90deg);
}

summary::before {
  transform: translateY(-50%) rotate(0deg);
}


details[open] summary::before {
  transform: translateY(-50%) rotate(45deg);
}

details[open] summary::after {
  transform: translateY(-50%) rotate(-45deg);
}

table {
    opacity: 0;
    margin: 10px 0 10px 0;
    font-size: clamp(0.5rem, 1vw, 1rem);
    word-wrap: break-word;
    border-collapse: collapse;

}

table, th, td {
    box-shadow: 0 0 0.3em aquamarine;
    border: 1px solid aquamarine;
    padding: 10px;
}


.icon {
    color: rgb(107, 215, 179);
    font-size: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s 0.2s forwards; 
}



@keyframes slideIn {
    from {
        transform: translateY(-10%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.icon:hover {
    filter: brightness(1.7);
}
.icons {
    column-gap: 20px;
    display: flex;
}

footer {
    font-size: clamp(0.7rem, 1vw, 2rem);
    text-align: center;
    color: #7a7a7a;
    background-color: #19232e;
    padding: max(30px, 3%) 0 max(30px, 3%) 0;
}


/* In test phase */

.anime-row {
    filter: grayscale() brightness(0.6);
    width: 100%;
    height: 100px;
    background-color: #18191b;

    background-image: url(/static/IMG/anime-girl-eyes-pattern-comics-600nw-2490948099.webp);
    background-repeat:repeat;
    background-size: 300px;
    animation: movePattern 35s linear infinite;
    border-top:2px solid rgb(95, 95, 95);
    border-bottom:2px solid rgb(95, 95, 95);
}
@keyframes movePattern {
    from{ background-position: 0 0; }
    to{ background-position: -1000px -1000px; }
}

/* In test phase */

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes opacity {
    to {
        opacity: 1;
    }
}

h1, h2 {
    margin: 0;
}
h1, h2, h3 {
    opacity: 0;
    transform: translateY(20px);
    animation: opacity 0.8s 0.2s forwards; 
}
h1 {
    font-size: clamp(1.8rem, 4vw, 4rem);
    color: #E6ECED;
}
h2 {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: #dfe4e5bb;
    font-weight: 400;
}
h3 {
    position: relative;
    font-size: 2rem;
}
h3::after {
    content: "";
    width: 50px;
    height: 2px;
    left: 0;
    bottom: -5px;
    background-color: aquamarine;
    position: absolute;
}


hr {
    box-shadow: 0 0 0.3em currentColor;
    border: 1px solid aquamarine;
    margin: 0;
}


.neon {
    text-shadow: 0 0 1em currentColor;
}

@media (max-width: 768px) {
    .portfolio {
        flex-direction: column;
    }
    .portfolio-img, .portfolio-text {
        flex-basis: 100%;
    }
    .portfolio img {
        max-width: 250px;
        width: 100%;
        height: auto;
    }
}

@media (max-width: 1250px) {
    .container {
        margin: 0 clamp(20px, 5%, 600px) 0 clamp(20px, 5%, 600px);
    }

}
