@font-face {

	font-family: Poppins;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: local(""), url(../font/poppins-v15-latin-regular.woff2) format("woff2"), url(/font/poppins-v15-latin-regular.woff) format("woff")

}

@font-face {

	font-family: Poppins;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: local(""), url(../font/poppins-v15-latin-600.woff2) format("woff2"), url(/font/poppins-v15-latin-600.woff) format("woff")
}


body {

    display: block;
    flex-wrap: nowrap;
    font-family: Poppins, sans-serif;    

}

body.menu-open {

    overflow: hidden;

}

nav {

    text-align: center;
    min-width: 11%;

    a {            
        
        color: inherit;
        text-decoration: none;
    
    }

}

nav {

    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 3px solid #54afcc;

}

.menu-toggle {

    display: inline-block;
    margin-bottom: 0;
    padding: 10px 16px;
    border: 2px solid #54afcc;
    border-radius: 4px;
    background-color: white;
    color: #54afcc;
    font-weight: 600;

}

.logo {

    font-size: clamp(2.4rem, 9vw, 7rem);
    font-weight: 600;
    padding: 0;
    color:#54afcc;

}

.pages {
    
    font-size: 1.2rem;

    ul {

        border-top: 3px solid #54afcc;
        border-bottom: 3px solid #54afcc;
        padding: 100px 0 0 0;
        margin:0;

    }

    li {

        list-style: none;
        margin: 20px 20px 45px 20px;

        a {

            white-space: nowrap;
            padding-bottom: 7px;

        }

        a:hover {

            transition: 200ms;
            border-bottom: 2px solid #54afcc;

        }

    }

}



.pages {

    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background-color: white;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.2);
    transform: translateX(-105%);
    transition: transform 0.3s ease-in-out;
    z-index: 10;

}

.pages ul {

    padding-top: 140px;

}
.pages.open {

    transform: translateX(0%);

}

.pm {

    padding: 10px 0 10px 0;
    border-bottom: 3px solid #54afcc;
    font-size: 1.2rem;
    font-weight: 600;

}

.social {

    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    padding-top: 20px;
    gap: 5%;
    margin-top: 10%;

    img {

        max-height: 75%;

    }

}

header {

    background-image: url("../img/bigdebug1.jpg");
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    background-size: cover;
    padding: 20% 0 0 0;
    border-left: 3px solid #54afcc;
    color: white;
    line-height: 0px;
    display: flex;
    flex-direction: column;

    h1 {    

        margin-top: 7%;
        padding: 0 2%;
        font-size: clamp(2rem, 8vw, 5rem);
        font-weight: 600;
        line-height: 1.1;
        white-space: normal;

    }

    h3 {

        margin-top: 2.5%;
        font-size: 2rem

    }

    .scrolldown {

        padding-top: 9%;
        margin-top: auto;

    }

}

header.about {

    position: relative;
    min-height: 100vh;
    box-sizing: border-box;
    padding: 24px 0;
    justify-content: center;

}

header.about h1 {

    margin-top: 0;

}

header.about h3 {

    margin-top: clamp(18px, 3vh, 40px);
    margin-bottom: 0;

}

header.about .scrolldown {

    position: absolute;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    margin-top: 0;
    padding-top: 0;

}

header.about a.scrolldown {

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    line-height: 1.2;

}

header.about a.scrolldown p.scrolldown {

    margin: 0;
    white-space: nowrap;

}

header.about a.scrolldown img {

    display: block;
    transform: translateY(6px);

}

#typing-banner {

    display: inline-block;
    white-space: nowrap;

}

#typing-banner::after {

    content: "|";
    margin-left: 3px;
    animation: cursor-blink 0.8s steps(2, start) infinite;

}

@keyframes cursor-blink {

    to {

        visibility: hidden;

    }

}

a.scrolldown {
                    
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    margin-bottom: 0%;
            
}

.content {

    padding-top: 6%;
    padding-left: 3%;
    padding-right: 3%;
    border-left: 3px solid #54afcc;

}

.grid {

    display: grid;
    grid-template-columns: repeat(1, 1fr);

    h2 {

        font-size: 2.2rem;
        margin-bottom: 0%;

    }

    p {

        margin-top: 2%;

    }

    a {

        color: inherit;
        text-decoration: none;

    }

}

section {

    padding: 2%;

}

.grid section:not(:hover) .debugimg {

    box-shadow: 0 0 0 1px rgba(255, 20, 147, 0.2), 0 0 10px rgba(255, 20, 147, 0.1);

}

section:hover {

    color: grey;
    transition: 400ms;
    filter: grayscale(75%);

    .debugimg {

        box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);

    }

}

.g1 {

    background-image: url("../img/g1.jpg");

}

.g2 {

    background-image: url("../img/g2.jpg");

}

.g3 {

    background-image: url("../img/g3.jpg");

}

.g4 {

    background-image: url("../img/g4.jpg");

}

.g5 {

    background-image: url("../img/g5.jpg");

}

.g6 {

    background-image: url("../img/g6.jpg");

}

.debugimg {

    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    background-size: cover;
    padding: 37% 0 37% 0;
    border-radius: 2%;

}

footer {

    display: block;
    flex-wrap: nowrap;
    margin-top: 5%;
    margin-bottom: 5%;

}

.getintouch {

    min-width: 100%;
    max-width: 100%;
    padding-left: 0.5%;

    h2 {

        margin-top: 0%;
        font-size: 2.2rem;

    }

    h3 {

        font-size: 1.25rem;

    }

    p {

        font-size: 0.95rem;

    }

    .phone-number {

        font-size: 1.65rem;

    }

}

.form-container {

    margin-top: 0%;
    min-width: 100%;
    padding-left: 0%;

    div {

        padding: 5px;

    }

    div.name-input {

        min-width: 50%;
        padding: 0px;

    }

}

input {

    min-width: 100%;
    padding: 1%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 1%;
    border-color: transparent;
    font-family: Poppins;
    font-size: 16px;

}

input.input-error {

    border-color: #d7263d;
    box-shadow: 0 0 0 2px rgba(215, 38, 61, 0.2);

}

.form-status {

    min-height: 20px;
    margin: 5px;
    font-weight: 600;

}

.form-status.error {

    color: #d7263d;

}

.form-status.success {

    color: #2e7d32;

}

button {

    padding: 1% 5% 1% 5%;
    background-color: white;
    border: 3px solid black;
    border-radius: 4%;
    font-size: 20px;
    font-weight: 600;

}

.message {

    padding-bottom: 20%;

}

.name-section {

    display: flex;
    flex-wrap: nowrap;
    gap: 0.5%;

    input {
        
        min-width: 99%;
        padding: 2%;

    }

}


.backtop {

    font-size: 1.3rem;
    padding-bottom: 0.5%;
    text-align: center;

    a {

        color: black;
        text-decoration: none;

    }

    p {

        margin-top: 0%;

    }

}

.info {

    padding: 5% 3%;
    line-height: 1.5;

}




@media (max-width: 767px) {

    .pages {

        width: min(280px, 82vw);

    }

    .pages ul {

        padding-top: 100px;

    }

    .pages li {

        margin: 20px;

    }

    .pm,
    .social {

        display: none;

    }

    .content,
    header,
    .info {

        border-left: none;

    }

    header {

        min-height: 100svh;

    }

    header h3 {

        font-size: clamp(1.25rem, 5vw, 2rem);

    }

}
@media (min-width: 768px) {

    .menu-toggle {

        display: none;

    }

    .pages {

        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        box-shadow: none;
        transform: none !important;

    }
        

    .pages ul {

        padding-top: 100px;

    }

    body {

        display: flex;

    }

    nav {

        min-width: 260px;
        width: 260px;
        flex: 0 0 260px;
        background-color: white;
        display: block;
        padding: 0;
        border-bottom: none;

    }

    header {

        h1 {    

            font-size: clamp(3rem, 5.5vw, 5rem);

        }

    }

    .grid {

        grid-template-columns: repeat(3, 1fr);

    }

    footer {

        display: flex;

    }

    .getintouch {

        min-width: 24%;
        max-width: 24%;

    }

    .form-container {

        min-width: 69%;
        padding-left: 6%;

    }

    .info {

        padding: 2% 3%;
        border-left: 3px solid #54afcc;

    }

}





