@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}
.backgroundimage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; 
    background-image: url('images/Datorgif2.gif');
    background-size: cover;
    background-position: center;
    text-align: center;
}
li, .a1, .button {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #edf0f1;
    text-decoration: none;
    background-color: #252b33;
}
.a1{
    text-decoration: underline;
}
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10%;
    background-color: #252b33;
}
.logo{
    cursor: pointer;
height: 150px;
}
.nav_links{
    list-style: none;
    background-color: #252b33;
}
.nav_links li{
    display: inline-block;
    padding: 0px 20px;
}
.nav_links li a{
    transition: all 0.3s ease 0s;
}
.nav_links li a:hover{
    color: #0088a9;
}
.button{
    padding: 9px 25px;
    background-color: rgba(0, 136, 169, 1);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}
.button:hover{
    background-color: rgba(0, 136, 169, 0.8);
}
footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10%;
    background-color: #252b33;  
}
.end{
    background-color: #252b33;
    color: white;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
}
p{
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px; 
}
.text{
    background: transparent;
    color: #fff;
    font-family: "Montserrat", sans-serif; 
}
.text2{
    background: transparent;
    color: #fff;
    font-family: "Montserrat", sans-serif; 
}
.instagram, .facebook, .tiktok, .mail{
    background-color: #252b33;
    width: 25px;
    height: 25px;
    transition: all 0.3s;
    position: relative;
}
.instagram:hover{
width: 30px;
height: 30px;
transform: translateX(-5px) translateY(-5px);
}
.facebook:hover{
    width: 30px;
    height: 30px;
    transform: translateX(-5px) translateY(-5px);
}
.tiktok:hover{
        width: 30px;
        height: 30px;
        transform: translateX(-5px) translateY(-5px); 
}
.mail:hover{
    width: 30px;
    height: 30px;
    transform: translateX(-5px) translateY(-5px);
}
.button2{
    padding: 20px 40px;
    background-color: transparent;
    border-width: 0.1px;
    border-color: white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #edf0f1;
    text-decoration: none;
}
.button2:hover{
    backdrop-filter: blur(5px)
}
.a2{
    background-color: transparent;
}
.text,
.text2,
.a2 {
    margin: 10px;
}
html{
    scroll-behavior: smooth;
}
.vad{
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: white
    ;
}
.backgroundimage2{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; 
    background-image: url('./images/backgrund1.jpeg');
    background-size: cover;
    background-position: center;
    text-align: center;
}
.container {
	padding: 2rem;
}

.slider-wrapper {
	position: relative;
	max-width: 48rem;
	margin: 0 auto;
}

.slider {
	display: flex;
	aspect-ratio: 16 / 9;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
	border-radius: 0.5rem;
	-ms-overflow-style: none; 
	scrollbar-width: none; 
}
.slider::-webkit-scrollbar {
	display: none;
}
.slider img {
	flex: 1 0 100%;
	scroll-snap-align: start;
	object-fit: cover;
}
.slider-nav {
	display: flex;
	column-gap: 1rem;
	position: absolute;
	bottom: 1.25rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
}
.slider-nav a {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background-color: #fff;
	opacity: 0.75;
	transition: opacity ease 250ms;
}

.slider-nav a:hover {
	opacity: 1;
}
.backgroundimage3{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; 
    background-image: url('./images/Lake.png');
    background-size: cover;
    background-position: center;
    text-align: center;
}
.projekt{
    color: #fff;
    font-family: "Montserrat", sans-serif;
}
.backgroundimage4{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; 
    background-image: url('./images/backgrund3.jpeg');
    background-size: cover;
    background-position: center;
    text-align: center;
}
:root{
    --purple: rgb(123, 31, 162);
    --violet: rgb(103, 58, 182);
    --pink: rgb(244, 143, 177);
    --darkgreen: rgb(0,100,0);
    --green: rgb(124,252,0);
    --lightgreen: rgb(144,238,144);
    --yellow: rgb(255,255,0);
    --lightyellow: rgb(255,255,224);
    --peachpuff: rgb(255,218,185);
    --greenyellow: rgb(173,255,47);
}

@keyframes background-pan{
    from{
        background-position: 0% center;
    }
    to{
        background-position: -200% center;
    }
}
h1{
color: white;
font-family: "Montserrat", sans-serif;
font-size: clamp(2em, 2vw, 4em);
font-weight: 400;
margin: 0px;
padding: 20px;
text-align: center;
}
h1 > .magic{
    animation: background-pan 3s linear infinite;
    background: linear-gradient(
        to right,
        var(--purple),
        var(--violet),
        var(--pink),
        var(--purple)
    );
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}
h1 > .magic2{
    animation: background-pan 3s linear infinite;
    background: linear-gradient(
        to right,
        var(--yellow),
        var(--lightyellow),
        var(--peachpuff),
        var(--greenyellow),
        var(--yellow)
    );
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}
@media (max-width: 768px) {
            .text{
                font-size: 1.5em;
            }
            .text2{
                font-size: 1.2em;
            }
            .button{
                display: none;
            }
            .end{
                margin-left: 20px;
            }
            .nav_links{
                flex-direction: column;
                text-align: center;
            }

            .nav_links li{
                margin:7px 0;
                text-decoration: underline;
            }
            .end{
                display: none;
            }
            .instagram, .facebook, .tiktok, .mail{
                margin: 10px;
            }
            #logo2{
                display: none;
            }
            #footer1{
                height: 120px;
            }
            #contact{
                width: 345px;
        }
    }  
