* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #fefefe;
    --secondary-color: #040404;
    --tertiary-color: #0b46bc;
    /* --padding: 100px 48px */
}

@font-face {
    font-family: prim;
    src: url('Space_Grotesk/SpaceGrotesk-VariableFont_wght.ttf') format('truetype'),

}

@font-face {
    font-family: pixel1;
    src: url('pixel-1/ari-w9500-display.ttf') format('truetype'),

}

@font-face {
    font-family: pixel2;
    src: url('pixel-2/04B_30__.TTF') format('truetype'),

}

@font-face {
    font-family: poppin;
    src: url('Poppins/Poppins-Regular.ttf') format('truetype'),

}

@font-face {
    font-family: suss;
    src: url('fonnts.com-Suisse_Intl_Regular.ttf') format('truetype'),

}

@font-face {
    font-family: base;
    src: url('fonts/BasisGrotesqueArabicPro-Regular.ttf') format('truetype'),

}

@font-face {
    font-family: base-2;
    src: url('../fonts/BasisGrotesqueArabicPro-black.ttf') format('truetype'),

}

@font-face {
    font-family: roboto;
    src: url('../fonts/Roboto_Slab/RobotoSlab-Regular.ttf') format('truetype'),

}

@font-face {
    font-family: argent;
    src: url('../fonts/Argent-CF/Fontspring-DEMO-argentcf-regular.otf') format('truetype'),

}



html {
    width: 100%;
}


body {
    font-size: 24px;
    overflow-x: clip;
    background-color: var(--primary-color);
    transition: all .4s ease;
    color: var(--secondary-color);
    scroll-behavior: smooth;
}


/* .header-1{
    display: none;
}

.header-2{
    display: unset;
} */


/* panel */

.panel {
    min-height: 100dvh;
    padding: var(--padding);
    display: flex;
    flex-direction: column;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}

.panel p {
    /* font-weight: bold; */
    font-family: poppin;
}

.panel-1 {
    background: url(img/about/grid2.jpeg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 40px;

}

.panel-2 {
    background-position: center;
    background-size: cover;
    background-image: url(img/about/Branding\ Agentur\ München.jpeg);
    background-repeat: no-repeat;
    width: 100vw;
    color: var(--primary-color);

}

.panel-3 {
    background: url(img/about/grid2.jpeg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


h1 {
    color: var(--secondary-color) !important;
    background: unset !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    color: black;
}



/* panel-1 */

.panel-1 h1 {
    font-family: pixel1;
    width: min(95%, 900px);
    text-align: center;
    font-size: 50px;
    font-size: clamp(27px, 3.5vw, 50px);
    margin: auto auto;
    position: relative;
    bottom: 30px;
    font-weight: lighter;

    background: linear-gradient(rgb(18, 18, 18), rgb(73, 73, 73)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.panel-1 a {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: clamp(12px, 3px + 1vw, 17px);
    padding: 10px 16px;
    border-radius: 3px;
    font-family: poppin;
    height: fit-content;
    white-space: nowrap;
    /* background: linear-gradient(rgba(18, 18, 18, 0.759), rgba(73, 73, 73, 0.732)) !important; */

}

.panel-1 .bottom {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.panel-1 .bottom .left {
    display: flex;
    gap: 15px;
}

.panel-1 .bottom .left p {
    font-size: .6em;
    width: 180px;
    font-weight: bold;
    font-family: poppin;
    font-size: clamp(11px, 3px + 1vw, 14px);
    letter-spacing: .6px;
}

.panel-1 .bottom .right {
    display: flex;
}

.panel-1 .bottom .right p {
    font-size: .55em;
    font-size: clamp(11px, 3px + 1vw, 14px);
    max-width: 400px;
    font-weight: bold;
    letter-spacing: .6px;

}



@media (max-width:700px) {

    .panel-1 .bottom .right p {
        display: none;
    }

    .panel-1 .bottom .left p {
        width: unset;
        max-width: 200px;
        font-size: clamp(12px, 4px + 1.5vw, 18px);
        position: relative;
        bottom: 2px;
    }

    .panel-1 .bottom .left {
        gap: 11px;
    }


    .panel-1 a {

        font-size: clamp(12px, 3px + 1vw, 17px);
        padding: 9px 14px;

    }

}


/* panel-2 */

.panel-2 {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* background: var(--secondary-color); */
}

.panel-2 h1 {
    font-family: pixel1;
    text-transform: uppercase;
    font-weight: lighter;
    text-align: center;
    font-size: clamp(40px, 3.5vw, 50px);
    margin: auto auto;
    position: relative;
    bottom: 30px;
    font-weight: lighter;
    white-space: nowrap;

    background: linear-gradient(rgb(230, 230, 230), rgb(143, 143, 143)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    margin-bottom: 100px;
}

.panel-2 .cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    place-items: center;

}

.panel-2 .card {
    margin-bottom: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;

    border-radius: 5px;
    padding: 20px;
    /* background: linear-gradient(to bottom, rgb(16, 16, 16) , rgb(50, 50, 50)); */
}

.panel-2 .card h4 {
    font-size: 1.3em;
    font-size: min(32px, 3.3vw);
    font-family: poppin;
    font-weight: bold;

    background: linear-gradient(rgb(241, 241, 241), rgb(188, 188, 188)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;

}

.panel-2 .card hr {
    max-width: 250px;
    background-color: rgb(234, 234, 234);
}

.panel-2 .card p {
    font-size: clamp(11.5px, 1vw, 14px);
    max-width: 330px;
    background: linear-gradient(rgb(248, 248, 248), rgb(210, 210, 210)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;


    /* font-weight: bold; */
}


@media (max-width:1200px) {
    .panel-2 .cards {
        gap: 20px;
    }
}

@media (max-width:950px) {
    .panel-2 .cards {
        grid-template-columns: 1fr;
    }

    .panel-2 .card {
        width: 100%;
        padding-inline: 0px;
    }



    .panel-2 .card {
        width: 100%;
    }

    .panel-2 .card h4 {
        font-size: clamp(24px, 4vw, 35px);
    }

    .panel-2 .card p {
        width: 94%;
        max-width: unset;
        font-size: clamp(11px, 2vw, 15px);
    }

    .panel-2 .card hr {
        max-width: 200px;

    }

    .panel-2 h1 {
        bottom: unset;
        top: 10px;
        font-size: clamp(30px, 5.5vw, 47px);
        margin-bottom: 70px;
    }

    .panel-2 .card-2 h4 {
        text-align: right;
    }

    .panel-2 .card-2 p {
        text-align: right;
        margin-left: auto;
    }

    .panel-2 .card-2 hr {
        position: relative;
        left: calc(100% - 200px);
    }

}

@media (max-width:500px) {
    .panel-2 .card p {
        width: 98%;
        max-width: unset;
        font-size: clamp(10px, 2vw, 15px);
    }

    .panel-2 h1 {
        white-space: normal;
        font-size: clamp(26px, 5.5vw, 47px);

    }

    .panel-2 h1 br {
        display: none;
    }
}


/* panel-3 */
.panel-3 {
    /* background: var(--primary-color); */
    display: flex;
    position: relative;
}

.panel-3 h1 {
    font-family: pixel1;
    /* max-width: 750px; */
    white-space: nowrap;
    text-align: center;
    font-size: clamp(40px, 3.5vw, 50px);
    position: relative;

    margin-top: 50px;
    margin-bottom: 60px;
    font-weight: lighter;

    background: linear-gradient(rgb(18, 18, 18), rgba(165, 165, 165, 0.803)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.panel-3>:nth-child(2) {
    position: absolute;
    left: 1.5%;
    bottom: 2%;
    /* top: 50%; */
    font-size: .6em;
    transform: translate(0%, -50%);
    font-family: poppin;
    font-weight: bold;

    width: 130px;
}


.panel-3> :nth-child(3) {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
    font-family: base;
    font-weight: bold;
    font-size: clamp(20px, 2.5vw, 30px);

}


@media (max-width:760px) {
    .panel-3 h1 br {
        display: none;
    }

    .panel-3 h1 {
        white-space: normal;
        font-size: clamp(29px, 3.5vw, 50px);
        width: 85%;
        margin-inline: auto;

    }

    .panel-3> :nth-child(3) {
        max-width: 500px;
     
        font-size: clamp(17px, 2vw, 30px);

    }
}