/*--------------------BASIC WEBPAGE SET UP------------------------------*/

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

html {
    background-color: rgba(247, 241, 241, 0.904);
    color: rgb(0, 0, 0);
    font-family: 'Lato', 'Arial', sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
    overflow-x: hidden;
}

.clearfix {zoom: 1}
.clearfix:after {
    content:'.';
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;

}

.row {
    max-width: 1140px;
    margin: 0 auto 0 auto;  
}

section {
    padding: 100px 0;
}

/*-------HEADINGS--------*/


h1,
h2,
h3 {  
    font-weight: 300;    
    word-spacing: px;
}

h1 {
    margin-top: 0;
    margin-bottom: 1%;
    color: white;
    font-size: 250%;
    letter-spacing: 1px;

}

h2 {
    color: black;
    font-size: 180%;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
}


h2:after {
    display: block;
    height: 2px;
    background-color: black;
    content: " ";
    width: 100px;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom:40px;

}

h3 {
    color: black;
    font-size: 120%;
    text-align: center;
    margin-bottom: 15px;
    white-space: nowrap;

}

/*--------------------------SECTIONS REUSABLE---------------------------------*/

.about-section,
.highlights-section,
.why-section,
.contact-section {

    background-color: white;


}

.why-scls-text,
.quote-scls-text,
.contact-scls-text {
    line-height: 130%;
    width: 70%;
    margin-left: 15%;
    margin-bottom: 30px;
    text-align: justify;
}

.about-scls-text {
    line-height: 130%;
    width: 70%;
    margin-left: 15%;
    margin-bottom: 15px;
    text-align: justify;
}

.contact-scls-text1 {
    line-height: 130%;
    width: 70%;
    margin-left: 15%;
    margin-bottom: 30px;
    text-align: center;
}

.about-box,
.why-box {
    padding: 1%;
}

.quote-box {
    padding-top: auto;
    padding-bottom: auto;
    margin-bottom: 30px;
    border: 0.5px solid rgba(128, 128, 128, 0.596);
}


/*-------------------------------HEADER SECTION-------------------------------------*/

header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.568),rgba(0, 0, 0, 0.575)), url(images/header-image.jpg);
    background-size: cover;
    background-position: center;
    height: 100vh;

}

.header-text-box {
    position: absolute;
    width: 1140px;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
}


.button-header:hover,
.button-header:active,
input[type=submit] {
    margin: 3px;
    background-color: black;
    border: 1px white;
    color: black;
    border-radius:200px ;
    transition: background-color 0.2s;
}

.button-header:link,
.button-header:visited,
input[type=submit]  {
    margin: 3px;
    display: inline-block;
    padding: 10px 30px;
    font-weight: 500;
    color: white;
    text-decoration: none;
    border-radius: 200px;
    border: 0.5px solid white;

}

/*-------------------------------NAV BAR-------------------------------------*/

.main-nav {
    float: right;
    list-style: none;
}

.main-nav li {
    
    display:inline-block;
    margin-top: 8px;
    margin-left: 20px;
}

.main-nav p {
    margin-right: 550px;
    color: white;
    font-weight: 200;
    font-size: 100%;
}

.main-nav li a:link,
.main-nav li a:visited {
    padding: 8px 0px;
    color:white;
    text-decoration: none;
    font-weight: 200;
    font-size: 100%;   
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s;
}

.main-nav li a:hover,
.main-nav li a:active {
    border-bottom: 2px solid white;
}

/*------------------ STICKY NAV BAR------------------*/

.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color:rgba(34, 33, 33, 0.856);
    z-index: 9999;
}

.sticky-nav .main-nav li {
    
    display:inline-block;
    margin-top: 20px;
    margin-left: 20px;
    margin-bottom: 20px;
}

/*---------------------------ABOUT SECTION------------------------------*/

.safecracker-locksmith-image {
    float: left;
    padding-right: 5%;
    height: 520px;
    width: auto;
}

.about-list {

    width: 85%;
}

.about-list li {


}


/*-------------------------------HIGH LIGHTS------------------------------*/

.highlights-section {
    padding: 0;
}

.safe-highlights {

    list-style: none;
    width: 100%;
}

.safe-highlights li {
    display: block;
    float: left;
    width: 25%;

}

.safe-highlight-image {
    width: 100%;
    margin: 0;
    overflow: hidden;
    background-color: black;
}

.safe-highlight-image img {
    opacity: 0.7;
    width: 100%;
    height: auto;
    transform: scale(1.15);
    transition: transform 0.5s, opacity 0.5s;

}

.safe-highlight-image img:hover {
    transform: scale(1.03);
    opacity: 1;
}

/*------------------------WHY SECTION-----------------------------------------*/


.why-icon {
    display: block;
    position: relative;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;

}

.why-box p {
    font-size: 90%;
    line-height: 130%;
    text-align: center;
}

/*------------------------------QUOTE SECTION-------------------------------*/

.company-logo {
    display: block;
    position: relative;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    width: 200px;
    height: auto;

}


/*-----------------------------CONTACT SECTION---------------------------------*/

.contact-form {
    width: 60%;
    margin: 30px auto;
}

input[type=text],
input[type=email],
input[type=tel],
textarea {
    width: 100%;
    padding: 7px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.555) ;
}

*:focus {
    outline: none
}

.form-messages {
    width: 70%;
    margin: 0 auto;
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 20px;
}

.success {
    background-color: rgba(33, 187, 33, 0.445);
}

.error {background-color: rgba(204, 30, 30, 0.445);}

/*-------------------------------------FOOTER--------------------------------------*/

footer {
    background-color: rgb(126, 123, 123);



}
.footer-nav {
    list-style: none;
    float: left;
}

.footer-social-links {

    list-style: none;
    float: right;
}

.footer-nav li,
.footer-social-links li {
    display: inline-block;
    margin-right: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.footer-nav li:last-child,
.footer-social-links li:last-child {
    margin-right: 0;

}

.footer-nav li a:link,
.footer-nav li a:visited {
    padding: 8px 0px;
    color:white;
    text-decoration: none;
    font-weight: 200;
    font-size: 100%;   
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s;
}

.footer-nav li a:hover,
.footer-nav li a:active {
    border-bottom: 2px solid white;
}

footer p {
    color: white;
    font-size: 90%;
    margin-bottom: 20px;
    font-weight: 200;
}
