@import url('https://fonts.googleapis.com/css2?family=Jost:wght@100;200;300;400;500;600;700;800;900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #202020;
}
html, body{
    height: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}
body {
    font-family: 'Jost', Roboto, Tahoma, sans-serif;
    font-weight: 400;
    background-color: #fff;
}
img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
p, li{
    font-weight: 300;
}
a{
    text-decoration: none;
    transition-duration: 0.2s;
}
a:hover{
    color: #368f8b !important;
}
a.btn-primary:hover{
    color: #fff !important;
}


/* Navbar */
nav{
    width: 100%;
    z-index: 10;
    top: 0;
    color: #202020;
}
.navbar{
    position: fixed;
    width: 100%;
    padding: 0 !important;
}
.navbar .container-fluid{
    background-color: #fff;
    padding: 10px 10px;
    transition-duration: 0.2s;
}
.navbar-brand{
    margin: 0 32px;
    height: 60px;
    align-items: center;
}
.navbar-brand img{
    height: 90%;
    width: auto;
}
.navbar-toggler{
    border: none;
}
#navbarNav{
    justify-content: center;
}
.nav-link {
    transition-duration: 0.3s;
    transition: all ease-in-out .2s;
}
nav .active{
    padding-bottom: 2px;
    border-bottom: 1px solid #000;
}

/* Slider */
.slider{
    height: calc(100vh - 80px);
    width: 100%;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    overflow: hidden;
    box-shadow: inset 0 0 128px rgba(0, 0, 0, 0.3);
    margin-top: 80px;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.53);
}
:not(.no-js) .slider{
    background-image: url(images/WebP/Background.webp);
}
.no-js .slider{
    background-image: url(images/Background.jpg);
}
.slider .btn{
    padding: 16px 32px;
    font-size: 24px;
}
.rounded-half{
    border-radius: 12px 12px 12px 0 !important;
}

/* About */
.about .pic{
    box-shadow: 0 0 8px #525252;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 50vh;
}
:not(.no-js) .about .pic{
    background-image: url(images/WebP/aboutme.webp);
}
.no-js .about .pic{
    background-image: url(images/aboutme.jpg);
}

/* Portfolio */
.nav-tabs{
    border: none;
}
.nav-item button.nav-link{
    border: none !important;
    background-color: #ededed !important;
    margin-right: 4px;
    font-size: 2em;
    color: #525252;
}
.nav-item .nav-link:hover{
    background-color: #fff !important;

}
.nav-item .nav-link.active{
/*    padding-bottom: 0 !important;*/
    background-color: #fff !important;
}

.tab-pane .content{
    background-color: #fff;
    border-radius: 0 16px 16px 16px;
}

.portfolio{
    background-color: #368f8b;
    color: #fff;
}

.portfolio .item{
    width: 100%;
    color: #fff;
    background-color: #2d3846;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 16px 0;
    padding-bottom: 16px;
}
.portfolio .item .split{
    width: 90%;align-items: center;
}
.portfolio .item .split .btn{
    width: 30%;
    height: 64px;
    font-size: 28px;
}
.portfolio .item .split h3{
    font-size: 42px;
    line-height: 42px;
    color: #fff;
}
.portfolio h2{
    color: #fff;
    font-size: 3.5em;
}
.portfolio > h3{
    font-size: 32px !important;
    padding: 16px;
    color: #fff;
}
.portfolio img{
    max-width: 100%;
    margin-bottom: 16px
}

/* Modal */
.modal{
    align-self: center;
}
.modal-body img{
    max-width: 100%;
}
.modal .split{
    justify-content: space-between;
}
.modal .split-item{
    justify-content: center;
}
.modal{
    font-size: 24px;
}
.modal-footer button{
    font-size: 24px;
}

/* Contact */
.contact{
    color: #303030 !important;
}
mb-3, .contact input[type="text"], .contact input[type="submit"]{
    width: 100%;
}
.contact input[type="submit"]{
    background-color: #246a73;
}
.contact input, .contact textarea{
    border-radius: 0;
    border: none;
    background-color: #fafafa;
}
.contact a{
    color: #ffffff !important;
    transition-duration: 0.1s;
}
.contact a:hover{
    color: #ffb62c !important;
    transition-duration: 0.1s;
}
.contact .links{
    background-color: #368f8b;
    padding: 32px;
    color: #fff;
}
.contact .links h3{
    color: #fff;
    font-size: 36px;
}
.contact .links ul{
    list-style-type: none;
}
.contact .links li{
    color: #fff;
    font-size: 32px;
}
.contact .links li i{
    color: #fff;
    margin-right: 16px;
}
.contact #contactmessage p{
    color: #fff !important;
}

/* Footer */
footer{
    width: 100%;
    padding: 16px 10%;
    justify-content: center;
}
footer p{
    margin-bottom: 0;
    text-align: center;
}

/* Generic */
.messagebox{
    width: 100%;
    display: none;
    color: #fff;
    padding: 16px 32px;
    background-color: #368f8b;
    margin: 16px 0 !important;
}
.btn-primary{
    background-color: #246a73;
    color: #fff;
    border-radius: 0;
    border: none;
    padding: 8px 16px;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary:focus-visible, .btn-primary:visited{
    background-color: #368f8b !important;
    border: none !important;
    box-shadow: none !important;
    outline: 0 !important;
}
.btn-primary:hover{
    background-color: #368f8b !important;
    border: none !important;
    box-shadow: none !important;
    outline: 0 !important;
}
.fw-semibold{
    font-weight: 500 !important;
}
.fw-medium{
    font-weight: 400 !important;
}

/* Dividers */
.wave {
    position: absolute;
    height: 72px;
    width: 100%;
    background: #368f8b;
    bottom: 0;
    scale: 1 -1;
}

.wave::before, .wave::after {
    content: "";
    display: block;
    position: absolute;
    border-radius: 100% 50%;
}

.wave::before {
    width: 55%;
    height: 109%;
    background-color: #fff;
    right: -1.5%;
    top: 60%;
}
.wave::after {
    width: 55%;
    height: 100%;
    background-color: #368f8b;
    left: -1.5%;
    top: 40%;
}

.skewed {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #368f8b;
    z-index: -1;
    transform: skewY(-3deg);
    transform-origin: top left;
}

.curved {
    position: relative;
    height: 64px;
}

.curved::after {
    content: '';
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #fff;
    height: 100%;
}


@media only screen and (min-width: 960px) {
    /* Navbar */
    #navbarNav{
        margin: 0 32px 0 -90px;
    }

    /* Slider */
    .slider{
        background-position: right bottom;
    }

    /* About */
    .about p{
        font-size: 26px;
    }

    /* Portfolio */
    .portfolio h2{
        padding: 16px;
        color: #fff;
    }
    .portfolio .item{
        width: calc((100% / 2.25) - 32px);
        min-width: calc((100% / 2.25));
        margin: 16px;
        flex: 1;
        flex-shrink: 1;
        flex-grow: 0;
        transition-duration: .2s;
    }
    .portfolio .item:hover{
        transform: scale(1.025);
        transition-duration: .2s;
    }

    .tab-pane{
        border: none !important;
    }
}

