body {
    background-color: #265073;
}


h1 {
    color: #9AD0C2;
    text-align: center;
    font-family: "Zen Tokyo Zoo", system-ui;
    font-weight: 400;
    font-style: normal;
}

h2 {
    color: #9AD0C2;
    text-align: left;
    margin-left: 3%;
    font-family: "Orbitron", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: 50px;
    font-style: normal;
}

h3 {
    color: #9AD0C2;
    font-family: "Orbitron", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: 45px;
    font-style: normal;
}

p {
    color: #9AD0C2;
    font-family: "Jura", sans-serif;
    line-height: 1.5;
    font-optical-sizing: auto;
    font-size: 20px;
    font-style: normal;
    margin-left: 2.5%;
}

hr {
    height: 3px;
    border-width: 0;
    color: #9AD0C2;
    background-color: #9AD0C2;
}

footer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}

ul li {
    color: #9AD0C2;
    font-family: "Orbitron", sans-serif;
    font-size: 30px;
}

nav {
    place-items: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li a {
    text-decoration: none;
    color: #F1FADA;
    font-size: 30px;
    font-family: "Jura", sans-serif;
    display: block;
    position: relative;
    margin: 0 60px;
}

nav ul li a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #F1FADA;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

video {
    width: 70%;
}

/* Swiper */
a:hover {
    cursor: pointer;
}

.swiper {
    width: 1200px;
    height: 700px;
}

.swiper-slide {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slide-title {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background-color: rgba(0,0,0,0.6);
    font-size: 1.6em;
}

div.swiper-button-next, div.swiper-button-prev {
    top: 50%;
}

div.swiper-pagination {
    bottom: 20%;
}

/* Swiper */

.button {
    border: none;
    border-radius: 25px;
    background-color: #9AD0C2;
    color: black;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    font-family: "Orbitron", sans-serif;
    display: inline-block;
    font-size: 20px;
    cursor: pointer;
}

.button:hover
 {
    background-color: #8CBAAD;
    transition: .5 ease;
 }

.logolockup {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-layout {
    display: flex;
    gap: 70px;
    margin-bottom: 7%;
    max-width: 100%;
    padding: 0 10px;
}

.links-flex {
    display: flex;
    gap: 45px;
}

.about-column {
    float: left;
    width: 48.5%;
    padding: 10px;
    height: 480px;
}

.about-row::after {
    content: "";
    display: table;
    clear: both;
}

.home-column1 {
    float: left;
    width: 48.5%;
    padding: 10px;
    height: 50%;
}

.home-column2 {
    float: left;
    width: 48.5%;
    padding: 10px;
    height: 50%;
}

.home-row::after {
    content: "";
    display: table;
    clear: both;
}

.home-row img {
    width: 500px;
    height: auto;
    border: 6px solid #9AD0C2;
    border-radius: 100%;
    margin: 1em auto;
    display: block;
}

.projects-column1 {
    float: left;
    width: 45%;
    height: 90%;
}

.projects-column2 {
    float: left;
    width: 50%;
    padding: 10px;
    height: 40%;
}

.projects-row::after {
    content: "";
    display: table;
    clear: both;
}

.all-column1 {
    float: left;
    width: 50%;
    height: 90%;
}

.all-column2 {
    float: left;
    width: 48%;
    padding: 10px;
    height: 80%;
}

.all-row::after {
    content: "";
    display: table;
    clear: both;
}

.all-column1 img {
    width: 80%;
    height: auto;
    display: block;
    margin: 1em auto;
}

.images-column {
    float: left;
    width: 48.5%;
    padding: 10px;
    height: 90%;
}

.images-row::after {
    content: "";
    display: table;
    clear: both;
}

.kirby-row {
    width: 50%;
    display: block;
    margin: auto;
}

.image {
    opacity: 1;
    transition: .5s ease;
    backface-visibility: hidden;
    width: 90%;
    height: auto;
    border: 6px solid #9AD0C2;
    border-radius: 25px;
    display: block;
    margin: 1em auto;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.container {
    position: relative;
    width: 100%;
}
  
.container:hover .image {
    opacity: 0.3;
}
  
.container:hover .middle {
    opacity: 1;
}

.text {
    color: #9AD0C2;
    font-family: "Orbitron", sans-serif;
    font-size: 75px;
}

.portfolio-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 1em;
}

.images img {
    width: 100%;
    cursor: pointer;
    transition: 0.3s all ease;
}

.images img:hover {
    transform: scale(0.9);
}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 900px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    text-align: center;
    font-family: "Orbitron", sans-serif;
    font-size: 20px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption { 
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 800px){
    nav ul li a {
        font-size: 20px;
        margin: 0 25px;
    }

    video {
        width: 100%;
    }

    .button {
        font-size: 15px;
        padding: 8px 20px;
    }
    
    .text {
        font-size: 30px;
    }

    .modal-content {
        width: 100%;
        max-width: 400px;
    }

    .home-column1 {
        width: 95%;
        height: 60%;
    }

    .home-column2 {
        width: 95%;
        height: 45%;
    }

    .home-row img {
        width:300px; 
    }

    .about-column {
        width: 95%;
        height: 400px;
    }

    .images-column {
        width: 95%;
        height: 20%;
    }

    .kirby-row {
        width: 95%;
        height: 20%;
        display: block;
    }

    .projects-column1 {
        width: 100%;
    }

    .projects-column2 {
        width: 90%;
        height: 100%;
    }

    .all-column1 {
        width: 100%;
        height: 40%;
    }

    .all-column2 {
        width: 90%;
        height: 65%;
    }

    .center {
        display: flex;
        margin: auto;
    }

    .images {
        grid-template-columns: repeat(2, 1fr);
    }

    .swiper {
        width: 100%;
        height: 30vh;
    }

    .swiper-slide {
        position: relative;
        height:100%;
    }

    .slide-title {
        position: absolute;
        top: 3.5%;
        margin: 0;
        font-size: 1em;
    }

}