@import url('https://fonts.googleapis.com/css2?family=Robotto:wght@100;300;400;500;700;900&display=swap');
*{
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    font-family: 'Roboto',sans-serif;
    color: #dfdede;
}
section,.right,.left,.social,.social i {
    display: flex;
    justify-content: center;
    align-items: center;
}
section{
    background-image: url('../成型机.jpg');
    background-color: rgba(62, 63, 62, 0.685);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
}

.section-wrap{
    background-color: rgba(255, 255, 255, 0.2);
    height: 75vh;
    width: 75%;
    border: 1px solid rgb(255, 255, 255,0.1);
    box-shadow: inset 0 0 5px rgb(255, 255, 255,0.1);
    border-radius: 30px;
    backdrop-filter: blur(12px);
    padding: 50px 100px;
    overflow: hidden;
}

nav, .head-cta{
    z-index: 1;
}

header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
}
.head-logo{
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
}
/*.head-logo span{
    color: #8bc34a;
}*/

.nav-item{
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin: 20px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.nav-item::before{
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%) scaleX(0);
    height: 2px;
    width: 100%;
    background-color: #f1f8e9;
    transition: 0.3s;
    box-shadow: 0 0 3px #f1f8e9;
}
.nav-item:hover:before{
    transform: translateX(-50%) scaleX(1);
}
.nav-item:hover{
    color: #ddba20;
    text-shadow: 0 0 5px #e9865f;
}
.head-cta-btn{
    font-size: 1.2rem;
    font-weight: bold;
    background-color: transparent;
    border: 1px solid #f1f8e9;
    padding: 10px 40px;
    border-radius: 25px;
    margin-left: 20px;
    cursor: pointer;
    transition: 0.3s;
}
.head-cta-btn:hover{
    background-color: #747272;
    border-color: #413e3d;
    box-shadow: 0 0 50px #444242;
}
.head-cta-btn img{
    width: 25px;
}

.hero-content{
    margin-top: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.left{
    flex-direction: column;
    align-items: start;
}

.main-text{
    font-size: 5rem;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}
.main-text span{
    color: #9e5108;
}

.sub-text{
    font-size: 2rem;
    letter-spacing: 1px;
    font-weight: 400;
    color: rgba(24, 24, 23, 0.8);
    margin-top: 50px;
    margin-bottom: 50px;
}
.hero-cta-btn{
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    padding: 15px 50px;
    background-color: #8bc34a;
    color: #424242;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 30px;
    margin-right: 20px;
    margin-top: 20px;
}
.btn2{
    color: #181818;
    background-color: #f1f8e9;
}

.hero-cta-btn:hover{
    box-shadow: 0 0 80px #8bc34a;
}

.btn2:hover{
    box-shadow: 0 0 80px #f1f8e9;
}

.right img{
    width: 80%;
    height: 80%;
    filter: drop-shadow(0 0 20px #77451c);
    animation: 30s treeScale linear infinite;
    border-radius: 50px;
    pointer-events: none;
}

.social i{
    height: 40px;
    width: 40px;
    font-size: 1.2rem;
    border: 1px solid #f1f8e9;
    border-radius: 25px;
    margin: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.social i:hover{
    border-color: #8bc34a;
    box-shadow: 0 0 25px #8bc34a;
    text-shadow: 0 0 25px #8bc34a;
    transform: rotate(360deg);
    color: #8bc34a;
}
/*comp
.hero-content01{
    margin-top: 5px;
    display: grid;
    grid-template-columns: 15% 85%;
}
.hero-content01 .left01{
    width: 100%;
}

.table{
    width: 100%;
    background-color: #77451c;
}
.table-li{
    font-size: 2rem;
    line-height: 6rem;
    background-color: #413e3d;
    display: flex;
    align-self: center;
    justify-self: center;
}
.hero-content01 .right01{
    width: 100%;
}*/
/*about*/
.section-title{
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 50px;
    text-align: center;
    color: rgb(75, 8, 8);
}
.section-title span{
    color: #8bc34a;
}
#about p{
    font-size: 1.5rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: black;
    text-indent: 3rem;
}
.section-btn{
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 25px;
    color: #424242;
    background-color: #f1f8e9;
    padding: 12px 50px;
    cursor: pointer;
    transition: 0.3s;
}
.section-btn:hover{
    background-color: #792808;
    box-shadow: 0 0 50px #792808;
}
#about img{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 0.2;
    pointer-events: none;
    box-shadow:0 10px 100px #424242;
}
/*project*/
.project-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 50px;
}
#project img{
    width: 100%;
    border-radius: 10px;
}
.card{
    background-color: rgba(245, 245, 245, 0.4);
    border: 1px solid rgba(245, 245, 245, 0.5);
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 50px;
    margin-top: 20px;
}
.card-title{
    font-size: 2rem;
    margin: 30px 0 20px;
    cursor: pointer;
    transition: 0.3s;
    color: #424242;
}
.card:hover{
    background-color: #9e9e9e;
    box-shadow: 0 0 50px #3b3b3b;
}
.card-title:hover{
    color: #e9865f;
}
.section-btn1{
    width: 100%;
    margin-top: 50px;
}
.section-btn1{
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 25px;
    color: #424242;
    background-color: #f1f8e9;
    padding: 12px 50px;
    cursor: pointer;
    transition: 0.3s;
}
.section-btn1:hover{
    background-color: #8bc34a;
    box-shadow: 0 0 50px #8bc34a;
}
/*contact*/
.contact-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
#contact .right img{
    width: 80%;
    margin-top: 20px;
    margin-right: 70px;
}
#contact p{
    font-size: 1.2rem;
    margin-bottom: 50px;
}
form{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
input,textarea{
    background-color: transparent;
    color: #f1f8e9;
    font-size: 1.2rem;
    padding: 15px 20px;
    border: 1px solid #f1f8e9;
    border-radius: 15px;
}
input::placeholder,textarea::placeholder{
    color: #f1f8e9;
}
textarea{
    height: 260px;
}
form button{
    text-transform: uppercase;
    color: #424242;
    background-color: #f1f8e9;
    padding: 15px;
    border-radius: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}
form button:hover{
    background-color: #a1860c;
    box-shadow: 0 0 25px #a1860c;
}
/*footer*/
#footer{
    height: auto;
}
#footer .section-wrap{
    height: auto;
    margin: 20px 0;
}
.copyright{
    font-size: 0.9rem;
    text-align: center;
    margin-top: 10px;
}