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

body {
    font-size: 16px;
    font-family: 'Roboto', 'tahoma';
    color: #333333;
    background-color: #c3f9f9;
    margin: 0px;
    padding: 0px;
}
header {
    width: 100%;
    height: 300px;
    background-color: #098e61;
    background-image: url(https://images.unsplash.com/photo-1521774971864-62e842046145?q=20&w=2000&h=300&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NTA3fHxzaG9lc3xlbnwwfDB8MHx8fDI%3D);
}

#headmain {
    width: 1200px;
    margin: auto;
    }

#headleft {
        width: 50%;
        float: left;
        
    }
#headright {
        width: 50%;
        float: right;
        
    }

#logo {
    height: 250px;
    border-radius: 50%;
    float: left;
    margin-top: 50px;
    margin-right: 10px;
}
#webname {
    font-size: 34px;
    color: #333333;
    margin-top: 80px;
    font-weight: bold;
}
#weblogan {
    font-size: 24px;
    color: #333333;
    margin-top: 10px;
    font-weight: bold;
}
#webcontact {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    padding: 10px 10px;
    margin-top: 80px;
    border-radius: 10px;
    float: right;
    font-size: 20px;
    text-align: right;
}
.iconsocial {
    width: 30px;
    height: 30px;
    margin-left: 10px;
    border-radius: 5px;
    display: inline-block;
}
nav {
    width: 100%;
    height: 30px;
    background-color: #0a045a;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 5px;
}
nav > a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    line-height: 30px;
    margin: 0 25px;
}
nav > a:hover {
    color: #79aade;
    transition: color 0.3s ease;
}
section {
    width: 1200px;
    min-height: 400px;
    overflow: auto;
    background-color: #FFFFFF;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 5px 5px 10px #DDDDDD;
    
}
.product {
    width: 21%;
    height: 300px;
    border: 2px dashed #BBBBBB;
    border-radius: 5px;
    float: left;
    padding: 10px;
    margin: 10px;
    text-align: center;
    overflow: hidden;
}
.product:hover {
    border: 2px dashed #0f4681
}
.imgproduct {
    width: 55%
}
.imgproduct:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}
.imgbutton {
    width: 40%;
}

footer {
    width: 100%;
    height: 60px;
    background-color: #0f4681;
    color: #cccccc;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 13px;
}

@media screen and (max-width: 1023px) {  /* Tablet Zone */
    header {
        height: 200px;
        background-size: cover;
    }
    #headmain {
        width: 100%;
    }
    #headleft {
        width: 60%;
        float: left;
        text-align: left;
    }
    #headright {
        width: 40%;
        float: right;
        text-align: right;
    }
    section {
        width: 98%;
    }

    #logo {
        height: 150px;
        margin-top: 20px;
        margin-right: 5px;
    }
    #webname {
        font-size: 28px;
        margin-top: 50px;
    }
    #weblogan {
        font-size: 20px;
        font-weight: bold;
        margin-top: 10px;
    }
    #webcontact {
        margin-top: 30px;
        text-align: right;
    }
    nav > a {
        margin: 2px 15px;
        font-size: 14px;
    }
    .product {
        width: 27%;
        height: auto;

}

}

@media screen and (max-width: 767px) {  /* Mobile devices */
    header {
        height: 300px;
        background-size: cover;
    }
    #headmain {
        width: 100%;
    }
    #headleft {
        width: 100%;
        float: left;
        text-align: left;
    }
    #headright {
        width: 100%;
        float: right;
        text-align: right;
    }
    section {
        width: 98%;
    }

    #logo {
        height: 100px;
        margin-top: 20px;
        margin-right: 5px;
    }
    #webname {
        font-size: 28px;
        margin-top: 50px;
    }
    #weblogan {
        font-size: 20px;
        font-weight: bold;
        margin-top: 10px;
    }
    #webcontact {
        margin-top: 10px;
        line-height: 23px;
        text-align: right;
    }
    nav > a {
        margin-right: 5px;
        font-size: 14px;
    }
    .product {
        width: 80%;
        float: none;
        margin: 20px auto;
        height: 380px;

}
    
    
}