* {
    margin: 0;
    padding-top: 38px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

html, body {
    min-width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    padding-top: 2rem;
    font-size: 1rem;
}

@media screen and (max-width: 600px) and (orientation: portrait) {
    html, body {
    min-width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    padding-top: 4vh;
    font-size: 1rem;
}
}

header {
    height: 4.6875rem;
    width: auto;
    background-color: white;
    display: flex;
    align-content: center;
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 1000; 
    background-color: white;
    box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.2);
}

.header-text {
    font-family: "Kanit", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.5rem;
    margin-left: 2.5rem;
    color: #004e89;
    text-decoration: none;
}

.header-text:hover {
    text-decoration: underline;
}


.header-link1 {
    transform: translateY(-150%);
}

.top {
    background: url('car-picture.png') no-repeat center center/cover;
    height: 16.875rem;
    display: flex;
    position: relative;
    width: 100%;
}

h1 {
    color: white;
    margin-left: 10rem;
    font-size: 4.1875rem;
    justify-content: center;
    font-family: "Kanit", serif;
    font-weight: 500;
    font-style: normal;
}

.angaben-section {
    margin-left: 15vw;
    margin-right: 15vw;
    margin-top: -3.8%;
    margin-bottom: 20px;
    font-size: 19px;
    max-width: 1320px;
}

.angaben-text {
    color: dimgrey;
}

@media screen and (max-width: 600px) and (orientation: portrait) {
    .angaben-section {
    width: 85vw;
    max-width: 85vw;
    margin-left: 5vw;
    margin-right: 5vw;
    margin-top: -3rem;
    margin-bottom: 6vw;
    font-size: 3vw;
}
}

h2 {
    color: #004e89;
    font-size: 2rem;
}

footer {
    background-color: #004e89;
    color: white;
    padding: 1.25rem;
    text-align: left;
}

.contact-info {
    color: white;
    font-size: 1.5vw;
    font-family: "Kanit", serif;
    font-weight: 500;
    font-style: normal;
    display: inline-block;
    margin-right: 2.5rem;
    margin-left: 6vw;
}

footer .legal-info {
    margin-top: -4.375rem;
    
}

footer .legal-info a {
    color: white;
    margin: 0 1.875rem;
    text-decoration: none;
    font-family: "Kanit", serif;
    font-weight: 300;
    font-style: normal;
}

footer .legal-info a:hover {
    text-decoration: underline;
}





@media screen and (max-width: 600px) and (orientation: portrait) {
header {
    height: 9vh;
    width: auto;
    background-color: white;
    display: flex;
    align-content: center;
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 1000; 
    background-color: white;
    box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.2);
}

.header-text {
    font-family: "Kanit", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 5.5vw;
    margin-left: 6vw;
    color: #004e89;
    text-decoration: none;
}

.header-text:hover {
    text-decoration: underline;
}


.header-link1 {
    transform: translateY(-150%);
}

.top {
    background: url('car-picture.png') no-repeat center center/cover;
    height: 10.875rem;
    display: flex;
    position: relative;
    width: 100%;
}

h1 {
    color: white;
    margin-left: 1rem;
    font-size: 3.1875rem;
    justify-content: center;
    font-family: "Kanit", serif;
    font-weight: 500;
    font-style: normal;
    margin-top: -1.5rem;
}
h2 {
    color: #004e89;
    font-size: 6.98vw;
}

footer {
    background-color: #004e89;
    color: white;
    padding: 4vw;
    text-align: left;
}

.contact-info {
    color: white;
    font-size: 6vw;
    font-family: "Kanit", serif;
    font-weight: 500;
    font-style: normal;
    display: inline-block;
    margin-right: none;
    margin-left: none;
}

footer .legal-info {
    margin-top: -4.375rem;
    
}

footer .legal-info a {
    color: white;
    margin: 0 5vw;
    text-decoration: none;
    font-family: "Kanit", serif;
    font-weight: 300;
    font-style: normal;
}

footer .legal-info a:hover {
    text-decoration: underline;
}

}