@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

.site {
    overflow-x: hidden;
    position: relative;
}

body {
    margin: 0em;
    font-family: 'Montserrat', sans-serif;
}

header {
    display: flex;
    height: 4em;
    padding: 1em;
    justify-content: space-between;
}
.app {
    display: none;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 2em;
}

.hamburger {
    display: none;
}

nav ul li {
    display: inline;
    font-size: 1.2rem;
}

nav ul li a {
	text-decoration: none;
	color: #e54c3a;
	padding:.2em 1em;
	border: 1px solid transparent;
	transition: 0.6s ease;
}

nav ul li a:hover {
	background-color: #e54c3a;
	color: #fff;
}

li.active a {
	background-color: #e54c3a;
	color: #fff;
}

.logo {
    margin-top: 1em;
    margin-left: 1.5em;
    font-size: 1.5rem;
    color: #e54c3a;
    font-weight: bolder;
    text-shadow: #e54c3a 1px;
}

.logo a {
    text-decoration: none;
    color: #e54c3a ;
}

.welcome {
    height: 60vh;
    text-align: center;
    line-height: 3em;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../pics/weld.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center ;
    color: white;
}

.ltd {
    padding-top: 3em;
    font-size: 250%;
}

.welcome ul li {
   display: inline;   
}

section {
    padding: 0em;
    display: grid;
    grid-template-columns: 1fr .2fr 1fr;
    grid-template-areas: 
    "a . b";
}
.description-left {
    grid-area: a;
    padding: .5em;
    margin-left: 3.5em;
    margin-top: 2.5em;
    margin-bottom: 2.5em;
}

.description-right {
    grid-area: b;
    padding: .5em;
   margin: 1.5em 4em 4em 0em;
}

.description-right img {
    width: 500px;
    border-radius: 1em;
}

.specialties {
    padding: 4em;
    background-color: #f0eee9;
    padding-left: 4em;
    padding-right: 4em;
}

.specialties p {
    line-height: 1.5em;
    margin-bottom: 1em;
 
}

.custom {
    text-align: center;
}

.container h3 {
    text-decoration: underline;
}

.container img {
   padding-right: 1em;
}
 
.flex {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.specialties-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 1em;
}


.free-quote {
    background-color: #e54c3a;
    align-items: center;
    padding: 2em;
    display: flex;
    justify-content: space-evenly;
}

.free-quote h2 {
    padding: 1em;
}

.call-icon {
    width: 60px;
    height: auto;
}

button {
    width: 200px;
    height: 50px;
    border-radius: 2em;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    background-color: #fff ;
}


button:hover {
    background-color: black;
    color: white;
    cursor: pointer;
}
button a:hover, button a {
    text-decoration: none;
    color: black ;
}

.about {
    padding: 2em 1.5em;
    padding-left: 4em;
    padding-right: 1.5em;
    line-height: 1.6em;
}
.about h2 {
    text-decoration: underline;
}

.specialties-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1em;
    justify-items: center;
}

footer {
    background-color: #f0eee9;
    text-align: center;
    font-size: x-small;
    padding: .5em;
}

.icon8 a {
    text-decoration: none;
    color: black;
}

@media(max-width: 1150px) {
    nav {
        display: none;
    }
    .app {
        display: block;
       
    }
    .nav-links {
        text-align: center;
        list-style: none;
        line-height: 5em;
        position: absolute;
        right: 0em;
        padding: 1em;
        background-color: #e43421;
        top: 6.7em;
        height: 25.1em;
        width: 100%;
        transform: translateX(100%);
        transition: .5s ease-in;
    }
    .nav-active {
        transform: translateX(0%)
    }
    .nav-links li a {
        text-decoration: none;
        color: white;
        padding:.2em 1em;
        border: 1px solid transparent;
        transition: 0.6s ease;
    }
    .nav-links li a:hover {
        background-color: white;
        color: #e54c3a;
    }
    li.active a {
        background-color: #fff;
        color: #e54c3a;
    }

    .hamburger {
        display: flex;
        color: #e54c3a;
        padding-right: 1em;
        cursor: pointer;
    }

    section {
        grid-template-columns: 1fr .75fr;
        grid-template-areas: 
        "a b";
        column-gap: 6em;
    }

    .description-left {
        margin-top: 2em;
    }
    .description-right img {
        width: 400px;
        margin-top: 3em;
    }
}

@media (max-width: 1000px) {
    
    .specialties-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .specialties-grid2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
    }
    .specialties-grid2 h2 {
        text-align: center;
    }

    .description-right img {
        width: 250px;
        margin-top: 6em;
    }
}


@media (max-width: 800px) {
    .specialties-grid {
        display: grid;
        grid-template-columns: 1fr;
    }
    .specialties-grid2 {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
       
    }
    section {
        padding: 1em;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas: 
        "a";
    }
    .description-left {
        grid-area: a;
        padding: 3em;
        margin-left: 1em;
        
    }
    
    .description-right {
       display: none;
    }
    .free-quote {
        background-color: #e54c3a;
        align-items: center;
        padding: 1em;
        display: flex;
        justify-content: space-evenly;
        text-align: center;
    }
   
    .specialties {
        text-align: center;
    }

    .container {
        text-align: center;
    }
    .flex {
        justify-content: center;
    }
    .about {
        padding-left: 1em;
    }
}

@media (max-width: 550px) {
    .logo {
        font-size: 1rem;
        margin-top: 2em;    
    }
    .nav-links {
        top: 6em;
    }
    .welcome {
        height: 300px;
    }
    .ltd {
        padding-top: 1em;
        font-size: 1.8rem;
    }
    .slogan, .mission {
        line-height: 1.5rem;
        font-size: .8rem;
    }
    .mission {
        padding-top: 1.5em;
    }
    .description-left {
        margin-top: .5em;
        margin-bottom: .5em;
        font-size: .8rem;

    }
    .free-quote {
        font-size: .8rem;
        padding: 1em;
    }
    .free-quote button {
        width: 100px;
        font-size: .8rem;
    }
    .call-icon {
        width: 40x;
    }
    .about {
        font-size: .8rem;
       padding-left: 0em;
    }
    .specialties-grid2 {
        padding-left: 1em;
    }

    .specialties-grid2 img {
        width: 300px;
    }
    .hamburger {
        font-size: .8rem;
        margin-top: .5em;
    }
    .container {
        font-size: .9rem;
    }
}

@media (max-width: 320px) {
    .mission {
        display: none;
    }
    .slogan {
        font-size: .6em;
    
    }
    .ltd {
        font-size: 1.3rem;
        padding-top: 1.5em;
    }
    .welcome {
        height: 250px;
    }
    .nav-links {
        top: 5.8em;
    }
    
}