body {
    background: #F7F6F0 url(images/terminalogo.png) center center repeat;
    background-size: 6em;
    border: 12px solid #202A4F;
    font-family: "Nerko One", sans-serif;
}

img {
    display: block;
    margin: auto;
     width: 90%;
}

.welcome-bar {
    width: 100%;
    margin: 0;
    padding: 50px 20px;
    background: #9AA8D1;
    box-sizing: border-box;
}

.welcome-bar h2 {
    margin: 0 auto;
    max-width: 1400px;
    font-size: 70px;
    line-height: 1.25;
    text-align: center;
    color: #202A4F;
}

.section-bar {
    width: 100%;
    margin: 80px 0 50px;
    padding: 40px 20px;
    background: #9AA8D1;
    box-sizing: border-box;
    margin-bottom: 220px;

}

.section-bar h2 {
    margin: 0 auto;
    max-width: 900px;
    font-size: 60px;
    text-align: center;
    color: #202A4F;
}

h2,
h3,
p {
    color: #202A4F;
    text-align: center;
    max-width: 900px;
    margin: auto;
    padding: 0 25px;
}

h2 {
    font-size: 80px;
    margin-bottom: 100px;
    text-wrap: balance;
}

h3 {
    margin-top: 50px;
    font-size: 45px;
}

p {
    font-size: 50px;
    margin-bottom: 60px;
    margin-top: 60px;
    line-height: 1.5;
    text-wrap: balance;
}

h2,
p, h3 {
    max-width: 1400px;
}



hr {
    margin: 200px auto;
}

hr.dotted {
    border-top: 10px dotted #202A4F;
    border-bottom: none;
}

.title-box {
       width: 100%;
    margin: 0 auto;
    padding: 50px 20px;
    background: #4E5C8A;
    box-sizing: border-box;
    margin-bottom: -100px;
}



.titleImage {
    display: block;
    width: 70%;
    height: auto;
    margin: 0 auto;
    margin-bottom: -40px;

}

.map-frame {
    width: fit-content;
    margin: 40px auto 80px;
    padding: 25px;
    background: #EBEFFA;
    border: 6px solid #4E5C8A;
    border-radius: 25px;
}

.map {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0;
}

.container {
margin: 20px auto;
text-align:center;
}



.image-box {
display: inline-block;
min-width: 170px;
width: 12%;

}

.image-box img {
    transition: transform 0.3s ease;
}

.image-box:hover img {
    transform: scale(1.2);
}


.hover-text {
    display: none;
    padding: 10px;
    font-size: 20px;
    color: #202A4F;
    background: #F7F6F0;
    border: 2px solid #4E5C8A;
    border-radius: 8px;
    box-sizing: border-box;
    text-align: center;
    width: 12%;
    position: absolute;
    margin-top: 20px;
    line-height: 20px;
    min-width: 170px;

}
.hover-text.data-hover {
    margin-top: -250px;
    width: 20%;
    margin-left: -70px;
}

.image-box:hover .hover-text {
    display: block;
}


.sensory-section {
    width: 90%;
    margin: 80px auto;
    padding: 50px;
    background-color: #F7F6F0;
    border: 8px solid #9C9272;
    border-radius: 25px
}

.half {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin: 50px 0;
}

.diagram {
    width: 70%;
    height: auto;
}

.keyone,
.keytwo {
    width: 25%;
    height: auto;
}



.ford-hover,
.license-hover {
    position: relative;
    display: block;
    width: 60%;          
    max-width: 900px;   
    margin: 40px auto;
}

.ford-hover img,
.license-hover img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.ford-hover-image,
.license-hover-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
    opacity: 0;
}

.ford-hover:hover img:first-child,
.license-hover:hover img:first-child {
    opacity: 0;
}

.ford-hover:hover .ford-hover-image,
.license-hover:hover .license-hover-image {
    opacity: 1;
}
a {
    color: #202A4F;
    text-decoration: none;
    border-bottom: 3px dotted #4E5C8A;
}

a:hover {
    color: #4E5C8A;
}
 
.end {
     width: 100%;
    margin: 0 auto;
    padding: 80px 20px;
    background: #4E5C8A;
    box-sizing: border-box;
}
.end p {
    color: #F5CA44;
    font-size: 70px;
    max-width: 1400px;
    line-height: 1.25;
    text-align: center;
    }
.end h3 {
    color: #F5CA44;
}
.portfolio h3 a{
    color: #F5CA44;
}
