* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.scroll {
    height: 100%;
    overflow-y: auto;
}

.background {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    background-image: url("resource/background.jpg");
    background-size: cover;
    z-index: -2;
}

.background2 {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    background-image: url("resource/tree.jpg");
    background-size: cover;
    z-index: -1;
    opacity: 0;
}

.background::after,
.background2::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.background2:after {
    background-color: rgba(0, 0, 0, 0.7);
}

header {
    height: 110px;
    display: flex;
    flex-direction: row;
    background-color: rgba(255, 255, 255, .75);
    backdrop-filter: blur(4px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, .1);
}

header .logo {
    height: 100%;
}

header .logo img {
    height: 100%;
}

#topContact {
    position: sticky;
    top: 0;
    z-index: 999;
    text-align: center;
    background-color: rgba(255, 255, 255, .75);
    backdrop-filter: blur(4px);
    padding: 5px;
}

#topNav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
}

#topNav ul {
    list-style: none;
    height: 100%;
    display: flex;
    align-items: end;
}

#topNav li {
    padding: 5px 25px;
    text-decoration: none;
    color: black;
}

#topNav a {
    font-size: 20pt;
    text-decoration: none;
    height: 100%;
    display: flex;
    align-items: center;
    color: black;
    text-shadow: 10px 10px 20px white,
        10px -10px 20px white, -10px -10px 20px white, -10px 10px 20px white;
}

#topNav a:hover {
    background-color: #d3d3d3;
}

#topNav li:last-child {
    display: none;
}

#sideNav {

    position: fixed;
    overflow: visible;
    z-index: 1000;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    background-color: rgba(255, 255, 255, .5);
    backdrop-filter: blur(4px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, .1);
    display: none;
}

#sideNav ul {
    width: 100%;
    list-style: none;
}

#sideNav li {
    text-align: right;
    margin: 5px 20px;
}

#sideNav li:first-child {
    text-align: left;
}

#sideNav a {
    font-size: 20pt;
    text-decoration: none;
    color: black;
    text-shadow: 10px 10px 20px white,
        10px -10px 20px white, -10px -10px 20px white, -10px 10px 20px white;
}

#titleArea {
    text-align: center;
    padding: 60px 0;
}

#titleAreaContainer {
    display: inline-block;
    margin: 0 10px;
    padding: 10px 40px;
    background-color: rgba(255, 255, 255, .2);
    border-radius: 10px;
    border-width: 2px;
    border-color: black;
    border-style: solid;
}

#title {
    font-size: 50pt;
    --offset: 10px;

    text-shadow: 10px 10px 20px white,
        10px -10px 20px white, -10px -10px 20px white, -10px 10px 20px white;
}

fieldset {
    text-align: left;
    margin: 10px;
    padding: 10px;
}

fieldset legend {
    font-size: 24pt;
}

fieldset input {
    min-width: 200px;
}

fieldset .cell {
    padding: 4px;
}

.a-button {
    border-style: solid;
    border-width: 2px;
    border-radius: 10px;
    border-color: #000000;
    color: #000000;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, .25);
    backdrop-filter: blur(4px);
    background-color: rgba(255, 255, 255, 0.5);
    min-width: 200px;
}

.a-button:hover {
    background-color: white;
}

.a-button:active {
    background-color: grey;
}

@media (max-width:800px) {
    #topContact a {
        font-size: 16pt;
        min-width: 150px;
        padding: 2px 5px;
    }

    #topContact a:last-child{
        display: none;
    }

    #titleAreaContainer {
        padding: 10px 40px;
    }

    #title {
        font-size: 30pt;
    }

    #topNav li {
        display: none;
        padding: 5px 20px 5px 0;
    }

    #topNav li:last-child {
        display: block;
    }

    fieldset legend {
        font-size: 20pt;
    }

}