* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    color: white;
    padding: 20px;
    background-image: url("../../Images/Projects/Gaoxy/Background.png");
    background-size: contain;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

#Logo {
    width: 80%;
    max-width: 400px;
    min-width: 230px;
    margin-bottom: 20px;
}

h1, h2 {
    text-align: center;
    color: #50C4FF;
}

p {
    line-height: 1.6;
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
}

strong{
    color: #50C4FF;
}

.VideoContainer {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.VideoContainer iframe {
    width: 80%;
    max-width: 720px;
    height: 400px;
}

.Contributions {
    list-style-type: none;
    padding: 0;
    margin-bottom: 40px;
}

.Contributions li {
    font-size: 18px;
    margin: 10px 0;
    text-align: center;
}

.Controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.Control {
    flex: 1;
    text-align: center;
    margin: 10px;
    max-width: 350px;
}

#Controller img{
    width: 100%;
    max-width: 450px;
    height: auto;
    margin-bottom: 10px;
}

#Buttons img{
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 10px;
}

#KeyBoard img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 10px;
}

footer {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
}

.Details {
    margin: 20px;
}

.Details h3 {
    font-size: 1.3em;
    color: #50C4FF;
    margin-top: 15px;
    text-align: center;
}

.Details p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
}

@media (min-width: 1024px) {
    .Details p {
        width: 45%;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .VideoContainer iframe {
        width: 100%;
    }

    .Control {
        flex: 1 1 100%;
        max-width: none;
    }

    #Logo {
        width: 50%;
    }
}

@media (min-width: 768px) {
    .Details {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-content: space-between;
    }

    .Details h3 {
        width: 100%; /* Garantir que os títulos ocupem toda a linha */
        margin-top: 30px;
    }

    .Details p {
        width: 48%;
        margin-bottom: 20px;
    }
    #Controller img{
        width: 120%;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .VideoContainer iframe {
        height: 250px;
    }

    .Control img {
        max-width: 300px;
    }
}

.ButtonContainer {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.ButtonContainer a {
    text-decoration: none;
}

.Button {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    background-color: #50C4FF;
    color: white;
    border-radius: 10px;
    text-shadow: -2px 1px 2px black;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: center;
}

.Button:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgb(255, 255, 255);
    background-color: #1db4ff;
}