@font-face{
    src: url(./fonts/Galindo-Regular.ttf);
    font-family: 'Galindo';
    font-style: normal;
}

@font-face{
    src: url('../Raleway-VariableFont_wght.ttf');
    font-family: 'Raleway';
    font-style: normal;
}

@font-face{
    src: url('Raleway-Italic-VariableFont_wght.ttf');
    font-family: 'Raleway';
    font-style: italic;
}

body{
    margin:0;
    padding:0;
    background: #114800;
}

.header_container{
    display:flex;
    height: 80px;
    width:100vw;
    justify-content: space-between;
    background: #479030;
    align-items: center;
}

.header_container button{
    padding: 15px;
    text-align: center;
    margin-right: 20px;
    font-family: 'Galindo';
    text-transform: uppercase;
    background: yellow;
    border:2px solid black;
    filter: drop-shadow(3px 3px 3px #333);
}

h1{
    margin: 0;
    padding:20px;
    font-family: 'Galindo';
    font-size:28pt;
}

header{
    position:fixed;
    width:100vw;
    z-index:10;
}

nav {
    display: flex;
    align-items:flex-start;
    align-content: flex-start;
}

nav div{
    flex:1 1 auto;
}

nav a{
    flex:1 1 auto;
    text-align: center;
    padding: 10px;
    display: inline-block;
    border: 1px solid #A1D890;
    border-top: 2px solid #A1D890;
    border-bottom:2px solid #A1D890;
    background: #70B45A;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    text-decoration: none;
    color: black;
    height:20px;
    line-height:20px;
    font-size: 16pt;
    font-size: clamp(10pt, 2vw, 16pt);
}

nav .dropdown{
    height:0;
    transition: height .35s ease;
}

nav .dropdown_container{
    flex:1 1 auto;
    display:flex;
    flex-direction: column;
    overflow: hidden;
}

nav .dropdown a{
    flex: 1 1 auto;
    display: block;
    background-color: #A1D890;
    transition: background-color .35s ease;
}

nav .dropdown a:hover{
    background-color: hsl(106, 48%, 80%);
}

nav .dropdown_container:hover .dropdown {
    height:300px;
}

main{
    padding: 10px;
    position: relative;
    top: 122px;
    display: grid;
    grid-template: 1fr 1fr / repeat(6, 1fr);
    grid-gap: 20px;
    width: 80%;
    margin: 0 auto;
    min-height: calc(100vh - 162px);
}

.header_img{
    grid-area: 1 / 1 / 2 / 5;
    background-image: url('./images/truck.jpg');
    background-size: cover;
    display: flex;
    background-position-x: center;
    border:3px solid #A1D890;
}

.header_img p{
    margin: 0;
    padding: 0;
    background: green;
    max-width: 25%;
    min-width: 150px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    font-family: 'Raleway';
    font-size: 13pt;
}

.experts_container{
    background: white;
    border:3px solid #A1D890;
    grid-area: 1 / 5 / 2 / 7;
}

.experts_container h2{
    margin: 15px;
    font-size: 20pt;
    font-family: 'Galindo';
    text-align: center;
    margin-bottom: 0;
}

.experts{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.expert{
    padding:10px;
    flex: 1 1 auto;
    margin: 10px;
    min-width: 150px;
    text-align: center;
}

.expert h3{
    text-align: center;
    font-family: 'Galindo';
    margin:0;
}

.expert img{
    width: 130px;
    margin: 0 auto;
    border: 3px solid #479030;
}

.expert p{
    text-align: left;
    font-size: 13pt;
    font-family: 'Raleway';
    margin-bottom:0;
    color: #666;
}

.service{
    border: 3px solid #A1D890;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    overflow: hidden;
    background: white;
}

.service h2{
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
}

.service p{
    margin: 0;
    padding: 10px;
    font-size: 14pt;
    font-family: 'Raleway'
}

.service .img_container{
    width: 80%;
    min-height: 200px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 3px solid #479030;
}

.service img{
    height: 200px;
    display: block;
    margin: 0 auto;
}

.residential{
    grid-area: 2 / 1 / 3 / 3;
}

.commercial{
    grid-area: 2 / 3 / 3 / 5;
}

.industrial{
    grid-area: 2 / 5 / 3 / 7;
}

@media (min-width: 1430px){
    .service img{
        display: none;
    }
    
    .residential .img_container{
        background-image: url('./images/garbages.jpg');
        background-size: cover;
    }
    
    .commercial .img_container{
        background-image: url('./images/dumpster.jpg');
        background-size: cover;
    }
    
    .industrial .img_container{
        background-image: url('./images/waste.jpg');
        background-size: cover;
    }
}