@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {

    font-size: 10px;
}
body {
    background-position: center 6vh;
    background-size: cover;    
    background-color: #020600;
    background-repeat: no-repeat;
    font-family: "Noto sans", serif;
    color: #666561;  
    min-height: 100vh;
}
header {
    position: relative;
    background-color: #93cb19;
    z-index: -2;
    top: 0;
    width: 100%;
    height: 6vh;
    min-height: 45px;
}
section {
    margin-top: -6vh;
    padding-top: 6vh;
    margin-bottom: -4vh;
    padding-bottom: 4vh;
    min-height: 100vh;
}   
footer {
    height: 4vh;
    min-height: 4rem;
}
ul {
    list-style: square;
    list-style-position: inside;
    font-size: 1.2rem;
    font-weight: 300;
}
a {
    text-decoration: none;
}
h1 {
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 105%;
}
h2 {
    font-size: 2.4rem;
    padding: 1rem;
}
h3 {
    font-size: 1.8rem;
    padding: 1rem 0 0.5rem 0;
}
h4 {
    font-size: 1.6rem;
    font-weight: 400;
    padding: 0.5rem 0 0.5rem 0;
}
h5 {
    font-size: 1.5rem;
    font-weight: 300;
}
p {
    margin: 1px 0 10px;
    font-size: 1.4rem;
    font-weight: 300;
}
img {
    width: 100%;
}

/*Shared header*/
.contours-top {
    position: absolute;
    top: 0;
    width: 50%;
    max-width: 400px;
    z-index: -1;
    opacity: 0.7;
}
.header-contact-box {
    background: #93cb19;
    position: relative;
    top: 3vh;
    left: 15%;
    border:0.4rem solid #93cb19;
    max-height: 1.8rem;
    max-width: 70%;
}
.header-contact {
    position: relative;
    display: flex;
    justify-content:baseline;
    gap: 2rem;
    margin-top: -0.4rem;
    list-style: none;
    color: #fffbee;
    z-index: 5;
}
.header-contact .icon {
    font-size: 1.2rem;
    margin-right: -1rem;
    padding-top: 0.3rem;
}

.nav-bar {
    position: sticky;
    top: 0px;
    width: 100%;
    height: 5.55rem;
    z-index: 5;
    background-color: #fffbee;
    box-shadow: 0 1px 5px #999999;
}
.nav-bar .flex {
    display: flex;
    justify-content: space-evenly;
    align-content: center;
    height: 100%;
}
.logo {
    position: relative;
    top: 0.5rem;
    height: 4.5rem;
    width: auto;
}
.nav-bar ul {
    display: flex;
    list-style-type: none;
}
.nav-right {
    position: relative;
    top: 1.7rem;
    color: #008aa8;    
    font-size: 1.6rem;
    margin: 0 1rem;
    padding: 1.7rem;
    font-weight: 600;
}
.nav-buttons {
    position: relative;
    max-width: 1440;
}
.nav-right:hover {
    box-shadow: inset 0 0 3px #999999;
}


/*Home page tag line*/
.tag-line {
    position: relative;
    display: block;
    margin: auto;
    line-height: 100%;
    font-size: 2rem;
    padding-top: 80px;
    color: #ffffff;
    text-align: center;
    width: 65%;
    max-width: 600px;
}
hr.solid-thin {
    border: 1px solid #ffffff;
    width: 60%;
    margin:  0.6rem auto 0.3rem;
}
hr.solid {
    border: 2px solid #fffbee;
    width: 90%;
}


/*shared main content*/
.main {
    background-color: #fffbee;
    width: 80%;
    max-width:1100px;
    margin: 60px auto 0 auto;
    padding-top: 1rem;
}

.tldr {
    padding: 2rem;
}
.tldr p {
    margin-bottom: 0;
}
.box-grid {
    margin: 0 2rem 2rem 2rem;
    display: grid;
    justify-content:space-between;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem; 
}
.box {
    position: relative;
    margin: 1.8% 0 2% 0;
    padding-left: 1.5rem;
    padding-right: 1rem;
    padding-bottom: 6.4rem;
    background-color: #f0ebdb;
    box-shadow: 4px 4px 5px#d6d2c7;
}
.box.service {
    padding-bottom: 0;
}
.find-out-more {
    position: absolute;
    padding: 0.5rem 1rem 0.5rem 1rem;
    bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: #fffbee;
    background-color: #93cb19;
}
.find-out-more:hover {
    transform: scale(98%);
    background-color: #6c970d;
    color: #d6d2c7;
    cursor: pointer;
}
.box-contact {
    padding-right: 0.5rem;
}
.box-contact-line {
    display: flex;
    justify-content:space-between;
    max-width: 28rem;
}
.box-contact-line .icon {
    font-size: 1.6rem;  
    padding-top: 0.4rem;
}
.box-contact-line p {
    text-align: right;
    min-width: 166px;
}



/*contact page contact form*/
.contact-form {
    width: 80%;
    margin: 3rem auto;
    background-color: #f0ebdb;
    box-shadow: 4px 4px 5px#d6d2c7;
}
.contact-form form{
    width: 100%;
    padding: 1rem;
}
.contact-form .row {
    display: flex;
    width: 100%;
}
.contact-form .row h4 {
    font-weight: 600;
}
.contact-form .input-50 {
    width: 50%;
    margin: 1rem 1rem 0 1rem;
}
.contact-form .input-100 {
    width: 100%;
    margin: 1rem 1rem 0 1rem;
}
.contact-form .row input,
.contact-form .row textarea {
    position: relative;
    width: 100%;
    padding: 1rem;
    border: 0;
    background-color: #ffffff;
    outline: none;
    resize: none;
}
.contact-form .row textarea {
    height: 20rem;
}
.contact-form .row .input-100 .send {
    background-color: #93cb19;
    font-size: 1.8rem;
    color: #fffbee;
    margin-bottom: 1rem;
    width: 50%;
    max-width: 200px;
} 
.contact-form .row .input-100 .send:hover {
    transform: scale(98%);
    background-color: #6c970d;
    color: #d6d2c7;
    cursor: pointer;
}


/*shared columns*/
.columns {
    padding: 2%;
    display: grid;
    justify-content: space-between;
    grid-template-columns: 40% 60%;
    background-color: #f0ebdb;
}
.columns.service {
    grid-template-columns: 60% 40%;  
}
.column {
    padding: 1rem 2rem 1rem 2rem;
}
.about {
    margin-top: 3%;
    background-color: #f0ebdb;
}
.about-text {
    padding: 2rem 4% 0 4%;
}
.headshot {
    padding: 0 2rem 2rem 2rem;
    max-width: 300px;
    margin: auto;
}
.column-icon-line {
    display: flex;
    justify-content: baseline;
}
.column-icon-line .icon {
    margin-top: 0.8rem;
    margin-left: 0.6rem;
}
.column-icon-line .icon .left {
    margin-top: 0;
    margin-left: 0;
}
.column-icon-line h4 {
    padding-top: 0.8rem;
    padding-left: 1rem;
}

.about-certs-box {
    width: 100%;
    background-color: #ffffff;
    padding-left: 3rem;
    padding-right: 3rem;
    min-height: 14rem;
}
.about-certs {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-evenly;
    max-width: 1080px;
    margin: 0 auto 0 auto;

}
.certs {
    margin: 1rem 0 0 0;
}

.invisible {
    display: none;
}
.main-extention {
    position: absolute;
    display: inline-block;
    bottom: 0;
    background-color: #f0ebdb;
    width: 80%;
    max-width:1100px;
    height: 40vh;
    left: 0;
    right: 0;
    margin: auto;
    z-index: -1;
}


/*shared footer*/
.contours-bottom-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    bottom: 4vh;
    margin-top: -50%;
    margin-bottom: -4vh;
    z-index: -2;
    opacity: 0.7;
}
.contours-bottom {
    width: 50%;
    height: 50%; 
    bottom: 0;
}

.footer-bottom {
    height: 100%; 
    width: 100%;   
    padding-top: 1vh;
    background-color: #93cb19;
    color: #fffbee;
    text-align: center;
}

@media (max-height:1024px) {
    .main-extention {
        display: none;
    }
}

@media (min-width: 1080px) {
    p {
        font-size: 1.6rem;
    }
    .header-contact-box {
        top: 2.5vh;
        left: 25%;
        border:0.6rem;
        max-height: 2.6rem;
        padding-left: 0.5rem;
    }
    .header-contact {
        gap: 2rem;
        margin-top: -0.4rem;
        font-size: 1.6rem;
    }
    .header-contact .icon {
        font-size: 1.8rem;
        margin-right: -1rem;
        padding-top: 0.3rem;
    }
    .contours-top {
        max-width: 30%;
    }
    .contours-bottom-box {
        margin-top: -30vw;
    }
    .contours-bottom {
        max-width: 30%;
    }
    .main {
        margin-top: 10rem;
    }
    .tldr {
        padding: 1rem 5% 1rem 5%;
    }
    .box-grid.service{
        grid-template-columns: repeat(3, 1fr);
        margin: 3rem;          
    }
    .box-grid {
        gap: 3rem;
    }
    .box-contact-line .icon {
        font-size: 1.8rem;
        padding-top: 0.5rem;
    }
    .box-contact-line p {
        min-width: 190px;
        margin-left: 2rem;
    }
}
@media (max-width: 620px) {
    body {
        background-position: center 3vh;
    }
    section {
        margin-top: -3vh;
        padding-top: 3vh;
    }
    header {
        height: 3vh;
        min-height: 35px;
    }
    p {
        font-size: 1.2rem;
    }
    .header-contact-box {
        top: 1vh;
    }
    .logo {
        display: none;
    }
    .nav-bar {
        height: 3rem;
    }
    .nav-bar a {
        top: 0.6rem;  
        font-size: 1.4rem;
        margin: 0 0.2rem;
        padding: 0.6rem;
    }    
    .main {
        width: 100%;
    }
    .main.service {
        margin-top: 80px;
    }
    .main-extention {
        width: 100%;
    }
    .contours-top {
        width: 80%;
    }
    .contours-bottom-box {
        display: none;
    }
    .about-certs {
        margin:auto;
        grid-template-columns: 1fr;
        gap:0;
        max-width: 500px;        
    }
    .certs {
        margin: 0 1rem 0 1rem;
    }

}
@media (max-width: 400px) {
    h1 {
        font-size: 2.8rem;
    }
    .header-contact-box {
        left: 1.5rem;
        margin-right: 1rem;
        border:0.2rem solid #93cb19;
        max-height: 1.4rem;
        max-width: 250px;
    }
    .header-contact {
        justify-content: space-between;
        align-content: center;
        font-size: 1rem;
        margin-right: 1rem;
        margin-top: -0.2rem;
        gap: 1rem;
    }

    .box-grid {
        margin: 1rem;
        display: inline;
        gap: 2rem;
    }
    .box {
        margin: 0 auto 1rem auto;
        width: 90%;
    }
    .columns {
        display: inline-block;
    }
    .headshot {
        padding: 0;
        max-width: 60%;
    }
    .contact-form .row {
        flex-direction: column;
    }
    .contact-form .input-50,
    .contact-form .input-100 {
        width: 100%;
        margin: 0;
    }
    .about-certs {
        max-width: 360px;
    }
}