* {
    box-sizing: border-box;
}
html {
    margin: 0;
    padding: 0;   
}

html, body {
    min-height: 100%;
}

body {    
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
    max-width: 800px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
header h1 {
    font-family: "Space Grotesk", sans-serif;
    margin-bottom: 150px;
    margin-top: 0.25em;
    padding-left: 1em;   
}
header {
    position: relative;
    top: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("../images/Banner.png");    
    padding: 0;
    margin: 0;  
    margin-top: 5px;
    border-radius: 25px;    
    height: 250px;    
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    
    overflow: hidden;
}

nav>ul {
  list-style-type: none; 
  padding: 0;            
  margin: 0;
  display: flex;         
  gap: 20px;
  padding-bottom: 2em;
  padding-left: 1em;
  
}

header, nav a, nav a:visited {
    color: antiquewhite;
    text-decoration: none;
}

main {
    flex: 1;
    margin-top: 2em;
    margin-bottom: 2em;
    line-height: 1.6;
}

footer {
    text-align: center;
    padding: 0;
    position: relative;
    background-color: #65A5A9;    
    color: antiquewhite;
    border-radius: 25px;
}

footer p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;  
}

.app-card {
    margin-top: 1rem;
}

.app-card-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.app-icon {
    width: 220px;
    height: 220px;
    border-radius: 25px;
    flex: 0 0 220px;
}

.app-card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.coming-soon {
    width: 150px;
    height: auto;
    margin-top: 0.5rem;
}

.contact-form {
    width: 100%;
    background-color: rgba(255,255,255,0.35);
    border: 1px solid rgba(101,165,169,0.35);
    box-shadow:
        inset 0 1px 3px rgba(255,255,255,0.35),
        0 1px 4px rgba(0,0,0,0.06);
    padding: 1em;
 
    border-radius: 25px;
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 0.5em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;    
}

.contact-form button {
    background-color: #65A5A9;
    color: antiquewhite;

    border: none;
    border-radius: 10px;

    padding: 0.6rem 1.2rem;

    font-family: inherit;
    font-size: 1rem;

    cursor: pointer;
}

.contact-form button:hover {
    filter: brightness(1.05);
}
.initial-hidden {
    display: none;
}

.contact-result {
    margin-top: 1.5rem;
}
.contact-result, .app-card {
    padding: 1rem;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e3e7e8;
}

@media (max-width: 650px) {
    .app-card-content {
        flex-direction: column;
    }

    .app-icon {
        width: 100%;
        max-width: 250px;
        height: auto;
        flex-basis: auto;
    }
}