
hr {
    margin: 150px 0;
}

h2 {
    text-align: center;
}

nav a[href='projects.html'] {
    text-decoration: underline;
}

/* Intro */

.intro-section {
    display: flex;
    justify-content: space-between;
    gap: 5vw;
    align-items: flex-start;
}

.intro-section p {
    margin: 0;
}

.tech-used {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.tech-icons img {
    height: 30px;
}

.tech-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* NepKey */

.nepkey-section {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nepkey-section > img {
    width: 50vw;
    margin-left: -20vw;
    transition: 1s;
}

.nepkey-section > img:hover {
    scale: 1.05;
}

.nepkey-details {
    display: flex;
    flex-direction: column;
    gap: 3vw;
}

.nepkey-details p {
    margin: 0;
}

.nepkey-tech-used {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

.nepkey-tech-used p {
    flex: 0;
    white-space: nowrap;
    margin: 0;
}

.nepkey-tech-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nepkey-tech-icons img {
    height: 30px;
}

.download-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    gap: 20px;
    flex-wrap: wrap;
}

.download-buttons button {
    font-weight: bold;
    padding: 20px 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    width: 15rem;
    gap: 10px;
    border: none;
    transition: transform .15s ease, background-color .15s ease;
}

.download-buttons button img {
    width: 30px;
}

.google-button {
    background-color: var(--accent-color);
    color: white;
}

.google-button:hover {
    background-color: var(--accent-color-hover);
    transform: translateY(-2px);
}

.apple-button {
    background-color: white;
    color: black;
}

.apple-button:hover {
    background-color: #ddd;
    transform: translateY(-2px);
}

.cutting-up-sim-section {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.cutting-up-sim-section * {
    font-family: Inter, Roboto, sans-serif;
}

.video-container {
    position: relative;
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

#cutting-up-sim-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-weight: 1000;
    font-style: italic;
    z-index: 2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    width: 100%;
    height: 100%;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.cutting-up-sim-details {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sound-preview-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 5rem;
}

.sound-preview-container img {
    transform: translateY(-13%);
}

.cutting-up-sim-section a img {
    width: 100%;
}

ul {
    list-style: none;
    text-align: left;
    padding: 0;
}

li:before {
    content: "✔ ";
    color: #E69A1D;
}

li {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

li:last-child {
    margin-bottom: 0;
}

#github-link {
    display: block;
    width: fit-content;
    margin: auto;
    padding: 0;
    border: none;
    cursor: pointer;
    background-color: transparent;
    font-size: 1.5rem;
    font-family: monospace, sans-serif;
}

@media (min-width: 1600px) {

    .intro-section,
    .nepkey-section,
    .cutting-up-sim-section {
        gap: 8vw;
    }

    .nepkey-section > img {
        width: 60vw;
        margin-left: -25vw;
    }

    .video-container {
        max-height: 600px;
    }
}

@media (max-width: 600px) {
    .intro-section,
    .nepkey-section,
    .cutting-up-sim-section,
    .cutting-up-sim-details{
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .sound-preview-container {
        gap: 1rem;
    }

    .nepkey-section > img,
    .cutting-up-sim-section a img {
        width: 100%;
        margin: 0;
    }

    .video-container {
        max-height: none;
        aspect-ratio: auto;
        height: auto;
    }
    .video-container video {
        height: auto;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}
