* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Lato", sans-serif;
    background-color: #aaaaaa; /*#474747;*/

    width: 100vw;
}

/* --------------------- navigation ---------------------- */

nav ul {
    list-style-type: none;
    display: none;
}

nav ul a {
    display: block;
    background: #aaaaaa; /* #0d1317;*/
    padding: 15px;
    font-size: large;
    text-decoration: none ;
    font-weight: bold;
    /*text-transform: uppercase;*/
    color: #ad343e;
    transition: color 1s ease, background 1s ease, padding 1s ease;
}

@media only screen and (min-width: 1600px) {
    nav ul a {
        font-size: 1.1rem;
    }
}
nav ul a:hover {
    background: #474747;
    color: #e0e0ce;
    padding-left: 30px;
}

.nav-container img {
    width: 35px;
    align-self: center;
    background: #aaaaaa; /* #474747; */
}

.nav-container {
    padding: 0 20px;
    background: #aaaaaa; /* #474747;*/
    border-bottom: 3px solid #ad343e;
    display: flex;
    justify-content: space-between;
}

.bar {
    width: 30px;
    height: 3px;
    margin: 7px;
    background: #ad343e;
}

.btn {
    padding: 2px;
    display: inline-block;
    border: 2px solid #ad343e;
    align-self: center;
}

header {
    display: flex;
    flex-direction: column;
}

nav {
    flex: 0 0 auto;
}

/* --------------------- Home Section 1 ---------------------- */

#home {
    display: flex;
    height: 100vh;
    width: 100%;

    justify-content: center;
    line-height: 1;
    background: linear-gradient(to bottom, #bfc9ca 0%, #5a767f 100%);
}

.banner {
    display: flex;
    flex-direction: column;
    padding-top: 0.5rem;
    flex: 1 0 auto;
    text-align: center;
}

.img {
    width: 55%;
    height: auto;
}

@media only screen and (min-width: 1200px) {
    .img {
        width: 55%;
    }
}

.mainTitle {

    flex: 0 0 auto;

    color: #ad343e;
    font-weight: 700;
    margin: 1rem 0 0;
    font-size: 2rem;
    line-height: 1.5;
    position: relative;
    top: .8rem;
}
@media only screen and (max-width:600px) {
    .mainTitle {
        font-size: 2rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    .img1 {
        width: 20%;
    }
    .img {
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

.banner-center {
    margin: 0;
    padding: 0;
    transform: scale(.85);
}
.banner-center h1 {

    margin: 0;
    padding: 0;
    font-size: 110%;
    /* text-transform: uppercase; */
    color: #34495e;
}

.banner-center h2 {
    padding: 5px 5px 0 5px;
    font-size: 100%;
    color: #34495e;
}

@media only screen and (min-width: 600px) {
    .banner {
        padding-top: 1.5rem;
    }
    .banner-center h1 {
        margin-top: 2rem;
        font-size: 250%;
    }
    .banner-center h2 {
        font-size: 145%;
    }
}
nav {
    position: fixed;
    width: 100%;
    z-index: 10;
}

.btn {
    z-index: 11;
}

/* --------------------- Home media Section 1 ---------------------- */

@media screen and (min-width: 600px) {
    .nav-container {
        display: none;
    }

    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        background: #bfc9ca;
        border-bottom: 2px solid #bdbdbd;
    }
    nav ul a {
        background: transparent;
    }

    nav ul a:hover {
        background: transparent;
        padding-left: 20px;
    }

    .img {
        width: 40%;
    }
}


/* ---------------------  Section 2 ---------------------- */

.section2 {
    background: linear-gradient(to bottom, #bfc9ca 0%, #49717f 100%);
    display: flex;
    justify-content: center;
}

.div1 {
    width: 80%;
    height: 80%;
}

.div9 {
    padding-top: 0.5rem;
    width: 65%;
    height: 65%;
}

.slideShow-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.image-text {
    margin-bottom: 0.5rem;
}

.headertext {
    font-size: 1rem;
    font-weight: 700;
}
.headertext2 {
    font-size: 1rem;
}
.subtext {
    font-size: 1rem;
    display: flex;
    justify-content: center;
}

.dot {
    cursor: pointer;
    height: 0.7rem;
    width: 0.7rem;

    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.6s ease;
}

.dot:hover,
.active {
    background-color: #717171;
}

.prev1:hover,
.next1:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev1,
.next1 {
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    margin: 1px;
    padding: 1px;
    font-weight: bold;
    font-size: 1.2rem;
    color: whitesmoke;
    background-color: gray;
    transition: background-color 0.6s ease-in-out;
    text-decoration: none;
    border-radius: 50%;
}

.container {
    display: flex;
    justify-content: space-around;
}

.prev1 {
    position: absolute;
    left: 0.5rem;
    align-self: center;
}
.next1 {
    align-self: center;
    position: absolute;
    right: 0.5rem;
}

/* --------------------- Section 2 media  ---------------------- */

@media only screen and (width: 384px), (width: 360px) {
    .div1 {
        width: 65%;
        height: 65%;
    }

    .div9 {
        width: 50%;
        height: 50%;
    }
}

@media only screen and (width: 600px) {
    .image-text {
        margin-top: 1rem;
    }

    .div1 {
        width: 65%;
        height: 65%;
    }
    .div9 {
        width: 65%;
        height: 65%;
    }

    .dot {
        height: 1.4rem;
        width: 1.4rem;
    }

    .prev1,
    .next1 {
        width: 4rem;
        height: 4rem;
        font-size: 2.5rem;
    }
}

@media only screen and (min-width: 650px) {
    .div1 {
        width: 80%;
        height: 80%;
    }

    .div9 {
        width: 75%;
        height: 75%;
    }

    .headertext {
        font-size: 1.8rem;
    }
    .headertext2 {
        font-size: 1.8rem;
    }
    .subtext {
        font-size: 1.5rem;
    }

    .dot {
        height: 1.5rem;
        width: 1.5rem;
    }

    .prev1,
    .next1 {
        width: 4rem;
        height: 4rem;
        font-size: 2.5rem;
    }
}

@media only screen and (min-width: 1000px) {
    .div1 {
        width: 110%;
        height: 110%;
    }

    .div9 {
        width: 100%;
        height: 100%;
    }

    .dot {
        height: 2.5rem;
        width: 2.5rem;
    }
}

@media only screen and (min-width: 1200px) {
    .div1 {
        width: 70%;
        height: 70%;
    }

    .div9 {
        width: 65%;
        height: 65%;
    }

    .dot {
        height: 1.5rem;
        width: 1.5rem;
    }
}

@media only screen and (min-width: 1300px) {
    .div1 {
        width: 65%;
        height: 65%;
    }

    .div9 {
        width: 60%;
        height: 60%;
    }

    .dot {
        height: 1.5rem;
        width: 1.5rem;
    }
}

@media only screen and (min-width: 1600px) {
    .div1 {
        width: 90%;
        height: 90%;
    }
    .div9 {
        width: 85%;
        height: 85%;
    }
    .dot {
        height: 2rem;
        width: 2rem;
    }
}

@media only screen and (min-width: 2300px) {
    .div1 {
        width: 35vw;
    }
    .div9 {
        width: 33vw;
    }
    .prev1,
    .next1 {
        width: 5rem;
        height: 5rem;
        font-size: 3rem;
    }
}

/* ------------------------ section 3 ---------------------- */

.section3 {
    background: linear-gradient(to bottom, #bfc9ca 0%, #49717f 100%);
    display: flex;
    justify-content: center;
}

.div2 {
    width: 80%;
    height: 80%;
}

.div211 {
    padding-top: 0.5rem;
    width: 65%;
    height: 65%;
}

.slideShow-container2 {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.image-text {
    margin-bottom: 0.5rem;
}

.headertext {
    font-size: 1rem;
    font-weight: 700;
}
.headertext2 {
    font-size: 1rem;
}
.subtext {
    font-size: 1rem;
    display: flex;
    justify-content: center;
}

.dot3 {
    cursor: pointer;
    height: 0.7rem;
    width: 0.7rem;

    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.6s ease;
}

.dot3:hover,
.active2 {
    background-color: #717171;
}

.prev2:hover,
.next2:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev2,
.next2 {
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    margin: 1px;
    padding: 1px;
    font-weight: bold;
    font-size: 1.2rem;
    color: whitesmoke;
    background-color: gray;
    transition: background-color 0.6s ease-in-out;
    text-decoration: none;
    border-radius: 50%;
}

.container2 {
    display: flex;
    justify-content: space-around;
}

.prev2 {
    position: absolute;
    left: 0.5rem;
    align-self: center;
}
.next2 {
    align-self: center;
    position: absolute;
    right: 0.5rem;
}

/* --------------------- Section 3 media  ---------------------- */

@media only screen and (width: 384px), (width: 360px) {
    .div2 {
        width: 65%;
        height: 65%;
    }

    .div211 {
        width: 50%;
        height: 50%;
    }
}

@media only screen and (width: 600px) {
    .div2 {
        width: 65%;
        height: 65%;
    }
    .div211 {
        width: 65%;
        height: 65%;
    }

    .dot3 {
        height: 1.4rem;
        width: 1.4rem;
    }

    .prev2,
    .next2 {
        width: 4rem;
        height: 4rem;
        font-size: 2.5rem;
    }
}
@media only screen and (min-width: 650px) {
    .div2 {
        width: 80%;
        height: 80%;
    }

    .div211 {
        width: 75%;
        height: 75%;
    }

    .headertext {
        font-size: 1.8rem;
    }
    .headertext2 {
        font-size: 1.8rem;
    }
    .subtext {
        font-size: 1.5rem;
    }

    .dot3 {
        height: 1.5rem;
        width: 1.5rem;
    }

    .prev2,
    .next2 {
        width: 4rem;
        height: 4rem;
        font-size: 2.5rem;
    }
}

@media only screen and (min-width: 1000px) {
    .div2 {
        width: 110%;
        height: 110%;
    }

    .div211 {
        width: 100%;
        height: 100%;
    }

    .dot3 {
        height: 2.5rem;
        width: 2.5rem;
    }
}

@media only screen and (min-width: 1200px) {
    .div2 {
        width: 70%;
        height: 70%;
    }

    .div211 {
        width: 65%;
        height: 65%;
    }

    .dot3 {
        height: 1.5rem;
        width: 1.5rem;
    }
}

@media only screen and (min-width: 1300px) {
    .div2 {
        width: 65%;
        height: 65%;
    }

    .div211 {
        width: 60%;
        height: 60%;
    }

    .dot3 {
        height: 1.5rem;
        width: 1.5rem;
    }
}

@media only screen and (min-width: 1600px) {
    .div2 {
        width: 90%;
        height: 90%;
    }
    .div211 {
        width: 85%;
        height: 85%;
    }
    .dot3 {
        height: 2rem;
        width: 2rem;
    }
}

@media only screen and (min-width: 2300px) {
    .div2 {
        width: 35vw;
    }
    .div211 {
        width: 33vw;
    }
    .prev2,
    .next2 {
        width: 5rem;
        height: 5rem;
        font-size: 3rem;
    }
}


/* ------------------------ section 4 ---------------------- */

.section4 {
    background: linear-gradient(to bottom, #bfc9ca 0%, #49717f 100%);
    display: flex;
    justify-content: center;
}

.div3 {
    width: 80%;
    height: 80%;
}

.div311 {
    padding-top: 0.5rem;
    width: 65%;
    height: 65%;
}

.slideShow-container3 {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.image-text {
    margin-bottom: 0.5rem;
}

.headertext {
    font-size: 1rem;
    font-weight: 700;
}
.headertext2 {
    font-size: 1rem;
}
.subtext {
    font-size: 1rem;
    display: flex;
    justify-content: center;
}

.dot4 {
    cursor: pointer;
    height: 0.7rem;
    width: 0.7rem;

    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.6s ease;
}

.dot4:hover,
.active3 {
    background-color: #717171;
}

.prev3:hover,
.next3:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev3,
.next3 {
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    margin: 1px;
    padding: 1px;
    font-weight: bold;
    font-size: 1.2rem;
    color: whitesmoke;
    background-color: gray;
    transition: background-color 0.6s ease-in-out;
    text-decoration: none;
    border-radius: 50%;
}

.container3 {
    display: flex;
    justify-content: space-around;
}

.prev3 {
    position: absolute;
    left: 0.5rem;
    align-self: center;
}
.next3 {
    align-self: center;
    position: absolute;
    right: 0.5rem;
}

/* --------------------- Section 4 media  ---------------------- */

@media only screen and (width: 384px), (width: 360px) {
    .div3 {
        width: 65%;
        height: 65%;
    }

    .div311 {
        width: 50%;
        height: 50%;
    }
}

@media only screen and (width: 600px) {
    .div3 {
        width: 65%;
        height: 65%;
    }
    .div311 {
        width: 65%;
        height: 65%;
    }

    .dot4 {
        height: 1.4rem;
        width: 1.4rem;
    }

    .prev3,
    .next3 {
        width: 4rem;
        height: 4rem;
        font-size: 2.5rem;
    }
}
@media only screen and (min-width: 650px) {
    .div3 {
        width: 80%;
        height: 80%;
    }

    .div311 {
        width: 75%;
        height: 75%;
    }

    .headertext {
        font-size: 1.8rem;
    }
    .headertext2 {
        font-size: 1.8rem;
    }
    .subtext {
        font-size: 1.5rem;
    }

    .dot4 {
        height: 1.5rem;
        width: 1.5rem;
    }

    .prev3,
    .next3 {
        width: 4rem;
        height: 4rem;
        font-size: 2.5rem;
    }
}

@media only screen and (min-width: 1000px) {
    .div3 {
        width: 110%;
        height: 110%;
    }

    .div311 {
        width: 100%;
        height: 100%;
    }

    .dot4 {
        height: 2.5rem;
        width: 2.5rem;
    }
}

@media only screen and (min-width: 1200px) {
    .div3 {
        width: 70%;
        height: 70%;
    }

    .div311 {
        width: 65%;
        height: 65%;
    }

    .dot4 {
        height: 1.5rem;
        width: 1.5rem;
    }
}

@media only screen and (min-width: 1300px) {
    .div3 {
        width: 65%;
        height: 65%;
    }

    .div311 {
        width: 60%;
        height: 60%;
    }

    .dot4 {
        height: 1.5rem;
        width: 1.5rem;
    }
}

@media only screen and (min-width: 1600px) {
    .div3 {
        width: 90%;
        height: 90%;
    }
    .div311 {
        width: 85%;
        height: 85%;
    }
    .dot4 {
        height: 2rem;
        width: 2rem;
    }
}

@media only screen and (min-width: 2300px) {
    .div3 {
        width: 35vw;
    }
    .div311 {
        width: 33vw;
    }
    .prev3,
    .next3 {
        width: 5rem;
        height: 5rem;
        font-size: 3rem;
    }
}

/* ------------------------ section 5 ---------------------- */

#scancad {
    display: flex;
    height: 100vh;
    width: 100%;

    justify-content: center;

    line-height: 1;
    background: linear-gradient(to bottom, #bfc9ca 0%, #5a767f 100%);
}

.scheader {
    text-align: center;
}
.scancad-center {
    margin: 0;
    padding: 0;
    transform: scale(.85);
    color: #34495e;
}
div.cv {
    text-align: center;
}
div.name {
    text-align: center;
}
.section5 {
    display: flex;
/*    height: 100vh;*/
/*    width: 100%;*/


/*    line-height: 1;*/
/*    background: linear-gradient(to bottom, #a9e8d1 0%, #5a9cb0 100%);*/
}

div.licontainer1 {
    text-align: center;
}
ul.reflist {
    list-style: square;
    display: inline-block;
    font-size: large;
    text-align: left;
}

div.licontainer2 {
    text-align: center;
}
ul.cvlist {
    list-style: none;
    display: inline-block;
    text-align: left;
    font-size: large;
}

.imgego {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 7%;
    border-radius: 15px;

}

div.name{
    color: #bbbbbb;
}


/* ------------ fade ------------ */

.fade2 {
    -webkit-animation-name: fade2;
    -webkit-animation-duration: 1.5s;
    animation-name: fade2;
    animation-duration: 1.5s;
}

@keyframes fade2 {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

.fade3 {
    -webkit-animation-name: fade3;
    -webkit-animation-duration: 1.5s;
    animation-name: fade3;
    animation-duration: 1.5s;
}

@keyframes fade3 {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

.footer {
    /*display: flexbox;*/
    background-color: #474747;
    height: 30vh;
}

.footer-container h3 {
    flex: 1 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #e0e0ce;
    padding-top: 2rem;
}
@media only screen and (max-width: 1400px) {
    .footer-container h2 {
        font-size: 60%;
    }
}
.footer-container p {
    flex: 1 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #e0e0ce;
    padding-top: 2rem;
    font-size: 13px;
}
@media only screen and (min-width: 1400px) {
    .footer-container p {
        font-size: 90%;
        text-align: center;
    }
}

/* ---------------------------- POPUP -------------------- */
.popup2 {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(68, 65, 65, 0.8);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    text-align: center;
}
@supports (-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px)) {
    .popup2 {
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}
.popup2:target {
    opacity: 1;
    visibility: visible;
}
.popup2:target .popup2__content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.popup2__close:link,
.popup2__close:visited {
    color: #777;
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    font-size: 2rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    line-height: 1;
}

.popup2__close:link,
.popup2__close:visited {
    font-size: 1.5rem;
    top: 1rem;
    right: 1rem;
}

@media only screen and (min-width: 600px) {
    .popup2__close:link,
    .popup2__close:visited {
        font-size: 2rem;
        top: 1rem;
        right: 1rem;
    }
}
.popup2__close:hover {
    color: #1dca48;
}
.popup2__content {
    position: absolute;
    top: 50%;
    left: 50%;
    /*transform: translate(-50%, -50%);*/

    background-color: rgb(235, 226, 226);
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    display: table;
    overflow: hidden;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.25);
    transition: all 0.5s 0.2s;
    width: 30%;
    height: 30%;
}
.popup2__img {
    display: block;
}
.popup2__text {
    font-size: 1.2rem;
    margin-left: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;

    margin-bottom: 1rem;
    -moz-column-count: 1;
    -moz-column-gap: 3rem;
    column-count: 1;
    column-gap: 0;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.popup2__right {
    /* width: 100%; */
    display: table-cell;
    vertical-align: middle;
    padding: 1rem 4rem;
}

@media only screen and (min-width: 600px) {
    .popup2__text {
        font-size: 2rem;
    }
}
