/* styles.css */
body {
    background-image: url(images/bg10.png);
}

header {
    color: white;
    font-family: SFMono-Regular, Menlo, Monaco, 'Courier New', monospace;
    font-size: 50px;
    text-align: center;
}

h1 {
    font-size: 25px;
}

h2 {
    color: rgba(255, 255, 255, 0.0);
    text-align: center;
    font-size: 30px;
    font-family: SFMono-Regular, Menlo, Monaco, 'Courier New', monospace;

    animation-delay: 1.5s;
    animation-duration: 0.25s;
    animation-name: fade-in;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

h3 {
    color: rgba(255, 255, 255, 0.0);
    text-align: center;
    font-size: 20px;
    font-family: SFMono-Regular, Menlo, Monaco, 'Courier New', monospace;

    animation-delay: 1.5s;
    animation-duration: 0.25s;
    animation-name: fade-in;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

p {
    color: rgba(255, 255, 255, 0.0);
    font-size: 20px;
    font-family: SFMono-Regular, Menlo, Monaco, 'Courier New', monospace;
    text-align: justify;
    text-justify: inter-word;
    padding-left: 5px;
    padding-right: 5px;

    animation-delay: 1.5s;
    animation-duration: 0.5s;
    animation-name: fade-in;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

button {
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    font-family: SFMono-Regular, Menlo, Monaco, 'Courier New', monospace;

    border: none;
    background-color: inherit;
    cursor: pointer;
    display: inline-block;
}

a {
    font-size: 30px;
    font-family: SFMono-Regular, Menlo, Monaco, 'Courier New', monospace;

    display: inline-block;
    padding: 5px;
}

img {
    vertical-align: middle;
    display: inline-block;
    width: 100%;
    height: auto;
    opacity: 0;

    animation-delay: 1.5s;
    animation-duration: 0.5s;
    animation-name: img-fade-in;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

audio {
    opacity: 0;

    animation-delay: 1.5s;
    animation-duration: 0.5s;
    animation-name: img-fade-in;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-container.wrap {
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.flex-container.pad {
    padding-top: 25px;
    padding-bottom: 25px;
}

.flex-box {
    width: 60vw;
    height: 950px;
    border: 2px solid #fff;
    background-color: #000;
    padding: 15px;
    color: white;

    animation-duration: 1.5s;
    animation-name: grow;
    animation-timing-function: ease-out;
}

.scroll-box{
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
    height: 810px;
}

.email {
    color: rgba(255, 255, 255, 0.0);
    font-size: 20px;
    text-align: center;

    animation-delay: 1.5s;
    animation-duration: 0.5s;
    animation-name: fade-in;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.p-ref {
    color: rgba(255, 255, 255, 0.0);
    font-size: 20px;
    font-family: SFMono-Regular, Menlo, Monaco, 'Courier New', monospace;


    animation-delay: 1.5s;
    animation-duration: 0.5s;
    animation-name: fade-in;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

a:hover {
    background: rgb(21, 21, 21);
}

button:hover {
    background: rgb(21, 21, 21);
}

@keyframes grow {
    0% {
        height: 120px;
    }
    100% {
        height: 950px;
    }
}

@keyframes fade-in {
    0% {
        color: rgba(255, 255, 255, 0.0);
    }
    100% {
        color: rgba(255, 255, 255, 1.0);
    }
}

@keyframes img-fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* responsive design */
@media (max-width: 500px) {
    body {
        background-size: 50%;
    }


    p {
        font-size: 13px;
    }

    .flex-box {
        width: 75vw;
        height: 750px;
    }

    .scroll-box{
        scroll-behavior: smooth;
        overflow-x: hidden;
        overflow-y: auto;
        height: 565px;
    }

    .email {
        font-size: 15px;
    }

    .p-ref {
        font-size: 14px;
    }

    @keyframes grow {
        0% {
            height: 120px;
        }
        100% {
            height: 750px;
        }
    }
}

@media (min-width: 1000px) {
    img {
        display: block;
        margin: auto;
        width: 80%;
    }
}

@media (min-width: 1500px) {
    img {
        display: block;
        margin: auto;
        width: 60%;
    }
}

