.background-clip {
    position: absolute;
    left: 0;
    z-index: -1;
}

@media (min-aspect-ratio: 16 /9) {
    .background-clip {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16 /9) {
    .background-clip {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 550px){
    .start {
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
        /*background-image: url(../Nieuwe_images/new-bg.jpg);*/
        height: 90vh;
        overflow: hidden;
        position: relative;
    }
    .background-clip{
        display: block;
    }
    .start h1{
        display: none;
    }
}

@media (min-width: 551px){
    .start {
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
        background-image: url(../Nieuwe_images/new-bg.jpg);
        height: 90vh;
        overflow: hidden;
        position: relative;
    }
    .background-clip {
        display: none;
    }
    .start h1{
        display: block;
    }
}

.start h1 {
    font-size: 3.2em;
    text-align: center;
    color: var(--w);
    text-shadow: 0 0 5px var(--sub);
    position: relative;
}

.start h1:after {
    content: '';
    position: absolute;
    width: 5px;
    height: 100%;
    background-color: var(--w);
    margin-left: 10px;
    animation: type 1s ease-out infinite;
}

@keyframes type {
    0%,
    50% {
        background-color: transparent;
    }
    50.1%,
    100% {
        background-color: var(--w);
    }
}

.bord {
    width: 360px;
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.border {
    width: 500px;
    height: 100px;
    background-color: var(--main);
    position: absolute;
    z-index: 5;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.bord img {
    position: absolute;
    z-index: 6;
    width: 350px;
    height: 240px;
    border-radius: 10px;
}

.explane {
    flex-direction: column;
    text-align: center;
    padding: 30px;
}

@media (max-width: 699px) {
    .explane .p {
        width: 320px;
        text-align: justify;
        line-height: 30px;
        word-wrap: break-word;
    }
}

@media (min-width: 700px) {
    .explane .p {
        width: 640px;
        text-align: justify;
        line-height: 30px;
        font-weight: 600;
    }
}

.videos video {
    width: 290px;
    border-radius: 10px;
}

.galary .imgbox {
    width: 340px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 5px #00000088;
    border-radius: 12px;
    background-color: var(--main);
}

.galary .imgbox::before {
    content: attr(data-d);
    position: absolute;
    background-color: var(--main);
    color: var(--w);
    padding: 5px;
    rotate: -45deg;
    width: 120px;
    text-align: center;
    top: 20px;
    left: -30px;
    opacity: 0.7;
    z-index: 10;
    text-transform: capitalize;
}

.galary .imgbox img {
    border-radius: 10px;
    width: 100%;
}

.galary .imgbox img:hover {
    scale: 1.1;
}

.companys h1 {
    background: -webkit-linear-gradient(left, var(--sub), var(--main));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.companys h1:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--sub), var(--main));
    bottom: -5px;
    left: 0;
    border-radius: 5px;
}

.companys a img {
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 0 3px #00000088;
    aspect-ratio: 8 / 3;
}

.companys a img:hover {
    transform: scale(1.10);
}