/*------------------Alle...------------------*/
@font-face {
    font-family: NS;
    src: url(./Fonts/NunitoSans-Regular.ttf);
}

@font-face {
    font-family: NS-Light;
    src: url(./Fonts/NunitoSans-Light.ttf);
}

@font-face {
    font-family: Lato;
    src: url(./Fonts/Lato-Regular.ttf);
}

@font-face {
    font-family: Lato-Bold;
    src: url(./Fonts/Lato-Bold.ttf);
}


body {
    margin: 0;
    width: 100vw;
}

li {
    list-style: none;
}

img {
    display: block;
}

.btn, p, header li {
    font-family: 'Lato', sans-serif;
}
/*------------------------------------*/


/*------------------Header------------------*/
header img {
    width: 100%;
    object-position:100% 30% ;
    height: 400px;
}

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}
  
.mySlides {
    display: none;

}

.fade {
    animation-name: fade;
    animation-duration: 0.8s;
}
  
@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

nav {
    background-color: black; /*Placeholder*/
    color: white; /*Placeholder*/
    display: flex;
    justify-content: space-between;
}

h1 {
    padding-top: 5px;
    padding-left: 3%;
    font-family: 'NS-Light', sans-serif;
}

nav #myLinks {
    display: none;
    padding-right: 3%;
}

.menu-btn {
    width: 80px;
    height: 80px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.menu-btn__burger {
    width: 50px;
    height: 6px;
    background: #fff;
    border-radius: 5px;
    transition: all .2s ease-in-out;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 6px;
    background: #fff;
    border-radius: 5px;
    transition: all .2s ease-in-out;
}

.menu-btn__burger::before {
    transform: translateY(-16px);
}

.menu-btn__burger::after {
    transform: translateY(16px);
}


.menu-btn.open .menu-btn__burger {
    transform: translateX(-50px);
    background: transparent;
}

.menu-btn.open .menu-btn__burger::before {
    transform: rotate(45deg) translate(35px, -35px);
    background: #fff;
}

.menu-btn.open .menu-btn__burger::after {
    transform: rotate(-45deg) translate(35px, 35px);
    background: #fff;
}

/*------------------------------------*/


/*------------------Main------------------*/
h2, h3 {
    font-family: 'NS', sans-serif;
}

h2 {
    display: flex;
    justify-content: center;
}

.text p {
    margin-left: 15%;
    margin-right: 15%;
}

.examples{
    background-color: lightgray;

    display: flex;
    flex-direction: column;
    align-items: center
}

article div{
    background-color: white;
    
    width: 60%;
    margin-top: 10%;
    margin-bottom: 10%;
}

.examples div img{
    width: 100%;
}

h3, .p2 {
    margin-bottom: 0;
}

.p1, .p3{
    margin-top: 0;
}


.examples div p, h3 {
    margin-left: 6%;
}

article img {
    width: 40%;
}

.container {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.container img {
    width: 160%;
    height: 100%;
    object-position:100% 550% ;
}

.container .btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background-color: transparent;
    color: white;
    border-color: white;
    padding: 12px 24px;
    cursor: pointer;
    border-radius: 20px;
    text-align: center;
    transition: 1.5s;
}

.container .btn:hover {
    background-color: rgba(255, 255, 255, 0.432);
    color: black;
    border-color: black;
}
/*------------------------------------*/


/*------------------Footer------------------*/
footer {
    background-color: rgb(50, 50, 50); 
    color: gray; 
}

footer li, footer a {
    font-family: 'Lato-Bold',sans-serif;
}

.icons {
    display: flex;
    justify-content: end;
    padding-top: 15px;
    padding-right: 5px;
}

.fa-brands {
    padding-right: 5px;
}

.contact {
    padding-bottom: 10%;
}

footer a {
    color: gray; 
}

footer li {
    padding: 5px;
}
/*------------------------------------*/

@media (min-width: 480px) {

/*------------------Header------------------*/
.menu-btn {
    display: none;
}

nav #myLinks {
    display: flex;
    align-items: flex-end;
}

nav #myLinks li {
    padding-right: 20px;
}
/*------------------------------------*/


/*------------------Main------------------*/
.text{
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center
}

article:nth-of-type(1){
    grid-area:2/1/3/2 ;
}

article:nth-of-type(2){
    grid-area:2/2/3/3 ;
}


.examples {
    display: flex;
    flex-direction: row;
    padding: 40px;
}

.examples div {
    margin: 10px;
}

.examples img {
    height: 200px;
}

.container img {
    width: 160%;
    height: 160%;
    /* object-position:80%; */
}
/*------------------------------------*/


/*------------------Footer------------------*/
.icons {

    padding-top: 20px;
    padding-right: 50px;
}

.info {
    display: flex;
    justify-content: space-evenly;
}

.info ul {
    padding-top: 40px;
    padding-left: 70px;
    padding-right: 70px;    
}
/*------------------------------------*/
}