
:root{
    --background: rgba(255, 255, 255, 0.979);
    --accent: rgba(236, 207, 90, 0.979);
    --text: #333;
}
html{
    padding: 0;
    margin: 0;
    background-color: var(--background);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100%;

}

html, body {
    min-height: 100%;
    overflow-x: hidden; /* stop horizontal scrollbars */
}

body{
    height: 100%;
    width: 100%;
    margin: 0px;
    color: #555;
}

header{
    background: #f9f9f9;
    padding: 20px 5%;
    border-bottom: 1px solid #eee;
}
header nav{
    display: flex;
    justify-content: space-between;
    align-items: center;

}

header nav h1{
    margin: 0;
    font-size: 24px;
    color: var(--text);
}

header nav button {
    margin: 0 5px;
    padding: 8px 20px;
    font-size: 20px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background-color: var(--accent);
    color: var(--text);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

#home-button{
    color: black;
    background-color: var(--accent);
    
}

#home-button:hover{
    color: black;
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    transform: translateY(-2px);
}

#logout-button{
    color: black;
    background-color: rgba(226, 226, 225, 0.979);
}

#logout-button:hover{
    box-shadow: 0 0 10px rgba(167, 167, 166, 0.979);
    transform: translateY(-2px);
}

a{
    text-decoration: none;
}
.content{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    margin: 5% 5%;
    min-height: 70vh; 
    height: auto;   
}

.content-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;                
    margin-left: 3%;
    text-align: center;

}

.content img{
    width: 75vh;
    height: 75vh;
}

.content button{
    margin: 0 5px;
    font-size: 22px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background-color: var(--accent);
    color: var(--text);
    transition: background-color 0.2s ease, transform 0.2s ease;
    flex-wrap: nowrap;
    display: flex;
    width: 100%;
    text-wrap:nowrap;
    align-items: center;
}

.content button:hover{
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    transform: translateY(-1px);
}

#google-login{
    padding: 10px 22px;
    font-weight: 545;
}

#create{
    font-size: 28px;
    padding: 8px 18px;
    font-weight: 530;
}

.main-text{
    font-size: 40px;
    margin-bottom: 8px;
}

.slideshow {
    font-weight: 400;
    margin: 0 0 16px 0;
        display: inline-block;
        transition: opacity 0.5s ease;
        opacity: 1;
        font-size: 36px;
    }

.slideshow.hidden {
        opacity: 0;
    }

#google-logo{
    margin-left: 10%;
    width: 45px;
    height: 45px;
}

footer {
    margin-top: 50px;
    padding: 30px 10%;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    color: #666;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

footer p {
    margin: 0 0 10px 0;
    font-weight: 500;
}

#slogan {
    display: block;
    font-weight: normal;
    opacity: 0.8;
    font-size: 16px;
}

.socials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

#linkedin-logo,
#github-logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

#linkedin-logo:hover {
    box-shadow: 0 0 8px rgba(0, 119, 181, 0.5);
    transform: translateY(-1px);
}

#github-logo:hover {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    transform: translateY(-1px);
}


@media screen and (max-width: 450px){

    html{
        padding:0;
        margin:0;
        overflow-y: auto;
    }

    body{
        width: 100%;
    }

    header{
        width: 100%;
        margin: 0;
        padding: 1% 0;
    }

    header nav{
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    header nav h1{
        font-size: 18px;
        margin: 2% 0 2% 0;
    }

    #nav-buttons{
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 2% 0 0 0;
    }

    #nav-buttons a button{
        margin: 0;
        padding: 8px 30px;
    }
    #nav-buttons a{
        margin:0;
    }

    .content{
        flex-direction: column;
        width: 100%;
        height: auto;
        min-height: auto;   
        margin: 5% 0;

    }

    .content img{
        max-width: 90%;
        height: auto; 
    }
    #google-logo{
        width: 4vh;
        height: 4vh;
    }

    .main-text{
        font-size: 24px;
    }

    .slideshow {
        font-size: 22px;
    }

    #google-login, #create{
        scale:80%;
    }
    footer{
        font-size: 14px;
    }
    #slogan{
        font-size: 12px;
    }
}