/*Typography*/
h3 {
    font-family:'Segoe UI', system-ui;
    color:floralwhite;
}
header {
    font-family:'Segoe UI', system-ui;
    color:black;
}
li{
    list-style-type:none;
    font-family:'Segoe UI', system-ui;
    font-weight: bold;
}
.title{
    font-family:'Segoe UI', system-ui;
    color:black;
}
.sect-copy{
    color:black;
    font-family: 'Times New Roman', Times, serif;
}
h4{
    font-family:'Times New Roman', Times, serif;
    color:white;
}
h1 {
    font-family:'Segoe UI', system-ui;
    color:black;
}

/*Styles*/
body{
    background-image: url("fence.jpg");
}
.section{
    background-color:floralwhite;
    width:50%;
    border-radius: 8%;
    border-color: black;
    box-shadow: 0px 20px 10px rgba(21, 41, 21, 0.408)
}
.section:hover{
    box-shadow: 2px 25px 10px rgba(11, 24, 11, 0.408);
    transform:translateY(-10px) scale(1.02);
    transition: .3s;
}
.section-image{
    aspect-ratio: 1/1;
    object-fit:cover;
    border-radius: 15px 15px 0px 0px;
    width:100%;
}
.btn{
    width:fit-content;
    padding: 10px 25px;
    border-radius: 25px;
    background-color:darkgreen;
    border-color: black;
}
.btn:hover{
    background-color: rgb(4, 68, 4);
    cursor: pointer;
}
.btn2{
    width:fit-content;
    padding: 10px 24px;
    border-radius: 24px;
    background-color:rgb(4, 90, 4);
    border-color: black;
}
.btn2:hover{
    background-color: rgb(3, 37, 3);
    cursor: pointer;
}
header{
    background-color: beige;
    padding: 20px;
    box-shadow: 0px 10px 10px rgba(21, 41, 21, 0.408);
}

main{
    margin: 20px;
}

.logo:hover{
    cursor:pointer;
}

/*Positions*/
header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    top:0;
    position:sticky;
    z-index: 99;

}
.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}
.hamburger{
    display: none;
    align-items: center;
}
.hamburger:hover{
    cursor:pointer;
    transform:translateY(-2px) scale(1.02);
    transition: .3s;
}
ul {
    display:flex;
    gap:24px;
}
li:hover{
    cursor:pointer;
    color:rgb(17, 139, 48);
}

.nav{
    display:flex;
    gap:24px;
}


/*hamburger menu*/
.drawernav{
    top:-300px;
    display:flex;
    position:fixed;
    width:100%;
    flex-direction:column;
    background-color:beige;
    align-items:center;
    gap:4px;
    padding: 24px 0px;
    z-index:2;
    box-shadow: 0px 8px 8px #122019;
    transition: top .4s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.open{
    top:auto;
}
.blackout{
    background-color: rgba(0, 0, 0, 0.877);
    position:fixed;
    width:100%;
    height:100%;
    opacity:0;
    transition: opacity .5s;
}
.darken{
    opacity:1;
}
.drawernav li{
    padding:12px 0px;
    width:100%;
    text-align:center;
    cursor:pointer;
}
.drawernav li:hover{
    background-color: black;
    color:lawngreen;
}


/*scroller*/

.scroller{
    position:absolute;
    top:78%;
    left:0;
    scale:.3;
    z-index:4;
}


main{
    display:flex;
    grid-template-columns: 1fr 1 fr 1fr;
    justify-items: center;
    gap: 40px;
}
.text{
    padding:25px;
    display:flex;
    justify-content:center;
    gap:20px;
    flex-direction:column;
}

.hero-image{
    aspect-ratio: 1/1;
    width:100%;
    height:500px;
}
.foreground-iframe{
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 24px 20px rgba(0, 0, 0, 0.267);
}

.space{
    padding:24px;
}

footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:24px 40px;
    background-color: black;
    position:relative;
}

footer{
  --heading-font: var(--default-font);
  color: white;
  background-color:#000000;
  font-size: 14px;
  display:flex;
}

footer .h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

footer .address .p {
  margin-bottom: 0px;
}


@media screen and (min-width:1080px){
    .nav{
        display:flex;
    }
    .drawernav{
        display:none;
    }
    .blackout{
    display:none;
   }
}


@media screen and (max-width:1080px){
   html, body {
        overflow-x: clip;
   }

   ul, li{
        display:none;
   }

   .drawernav li{
        display:flex;
        flex-direction:column;
        align-items:center;
   }

   .btn2{
        display:none;
   }

   .hamburger{
        display:flex;
   }

   main{
        display:grid;
   }


   .foreground-iframe{
        width:90%;
   }
}