body {
    margin-bottom: 150px;
}

header {
    background-image: url(/resources/images/headerBackground.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: space-between;
    height: 15vh;
    margin-bottom: 20px;
}

.region-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	
    width: 200px;
	background-color: white;
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
    border: black solid 2px;
}

.header-box {
    display: flex;
    align-items: center;
    text-decoration: none;

    margin-left: 10px;
    wrap-option: wrap;
    gap: 15px;
}

.header-box img {
    height: 100%;
    width: 100%;
}

.header-box a {
    text-decoration: none;
    font-size: 20px;
    color: #900903;;
}

.header-box h1 {
    font-size: 45px;
    color: white;
}

.header-box a:hover {
    font-weight: bold;
}

#tutorWithStacey {
    
}


.chat-button {
    background-image: url(../resources/images/chatIcon.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 50px;
    width: 100px;
    height: 100px;
}

.chat {
    position: fixed;
    bottom: 120px;
    right: 90px;
    width: 200px;
    height: 200px;
    background-color: white;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border: black solid 2px;
}

.chat textarea {
    width: 98%;
    height: 90%;
    border: none;
    resize: none;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
}

.chat button {
    font-size: 20px;
    margin-top: 2px;
    background-color: blue;
    color: white;
    border: none;
}

#email-box {
    visibility: hidden;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    background-color: white;
    height: 50px;
    width: 300px;
}

#email-box input {
    height: 15px;
}

#email-box button {
    height: 20px;
}

.email-button {
    background-color: blue;
    color: white;
}

@media (orientation: portrait) {
    header {
        height: 10vh;
    }
}

@media (min-width: 1000px) {
    .header-box {
        gap: 20px;
    }
}

@media (max-width: 1000px) {
    .header-box a {
        font-size: 20px;
    }
    
    .header-box img {
        width: 110%;
        height: 110%;
    }

    #email-box {
        top:  40%;
    }
}

@media (min-width: 520px) and (max-width: 767px) {
    #tutorWithStacey h1 {
        font-size: 25px;
    }
}

@media (max-width: 520px) {
    .header-box a {
        font-size: 15px;
    }
    
    #tutorWithStacey {
        visibility: hidden;
        width: 5px;
    }
    
}

@media (max-width: 300px) {
    #chat-box {
        left: 50%;
        transform: translate(-50%, 0%);
    }
}

@media (max-width: 200px) {
    #chat-box, #email-box {
        width: 150px;
    }

    #email-box input{
        width: 70px;
    }
}
