/* General */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}


body{
    background:white;
    color:#222;
}


/* Header */

header{
    background:#111;
    color:white;
    padding:20px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}


.logo{
    font-size:25px;
    font-weight:bold;
}


nav a{
    color:white;
    text-decoration:none;
    margin-left:20px;
}


/* Links Hover */

nav a:hover{
    color:#00aaff;
}


/* Hero Section */

.hero{
    padding:80px 8%;
    text-align:center;
    background:#eee;
}


.hero h1{
    font-size:45px;
    margin-bottom:20px;
}


.hero p{
    font-size:18px;
    margin-bottom:20px;
}


.btn{
    background:#111;
    color:white;
    padding:12px 25px;
    text-decoration:none;
    border-radius:5px;
}


/* Sections */

section{
    padding:50px 8%;
}


.title{
    text-align:center;
    margin-bottom:30px;
}



/* Cards */

.container{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:25px;
}


.card{
    border:1px solid #ccc;
    padding:20px;
    text-align:center;
    background:white;
}


.card img{
    width:150px;
    height:150px;
    object-fit:contain;
}


.card h3{
    margin:15px 0;
}


/* Mobile Details */

.card p{
    margin:8px;
}



/* Table */

table{
    width:100%;
    border-collapse:collapse;
}


table,th,td{
    border:1px solid #999;
}


th,td{
    padding:15px;
    text-align:center;
}



/* Form */

form{
    max-width:500px;
    margin:auto;
}


input,
textarea{

    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #aaa;

}


textarea{
    height:120px;
}


button{

    background:#111;
    color:white;
    padding:12px 25px;
    border:none;

}


/* Footer */

footer{

    background:#111;
    color:white;
    text-align:center;
    padding:20px;

}



/* Mobile Responsive */

@media(max-width:700px){

header{

    flex-direction:column;

}


nav{

    margin-top:15px;

}


nav a{

    display:block;
    margin:10px;

}


.hero h1{

    font-size:32px;

}

}