
/*
 * General
*/
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, serif;
    background: #F2E9E4;
    margin: 0;
}

/*
 * Header
 */
header{
    background: #028391;
    color: white;
    box-sizing: unset;
    width: 100%;
    position: fixed;
    padding: 3px;
}

header nav {
    overflow: hidden;
    margin: 0 15px 0 0;
}

header nav a {
    float: right;
    display: block;
    text-align: center;
    padding: 10px 10px;
    margin: 5px;
    text-decoration: none;
    border-radius: 10%;
    color: white;
    background-color: blue;
}

header nav :last-child{
    float: left;
}

.logo a{
    background-color: #028391;
}

header nav a:hover {
    background-color: #ddd;
    color: black;
}
.logo a:hover{
    background-color: #028391;
}


/*
 * Main
 */
.main {
    width: auto;
    padding-top: 50px;
    padding-bottom: 31px;
    margin-left: 50px;
    margin-right: 50px;
}

.dino_list{
    
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(350px,1fr)) ;
    gap: 30px;
    
}

.dino{
    width: 370px;
    height: 125px;
    background-color: white;
    border-radius: 10px;
    padding: 0px;
    text-align: left;
    display: flex;
    box-shadow: 0 4px 8px rgba(103, 102, 102, 0.1);
    transition: box-shadow 0.1s ;
    
    
}

p{
    margin-top: 0px;
    font-size:12px;
    font-family: Arial, Helvetica, sans-serif;
}




/* Footer */
footer {
    padding: 20px;
    text-align: center;
    background: #ddd;
    margin-top: 20px;
}

/*
 * contact
 */

form{
    height: 350px; 
    width: 40%; 
    margin: auto; 
    margin-top: 100px; 
    text-align: left; 
    background-color: #fff; 
    border-radius: 10px; 
    padding: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


input{
    margin-bottom: 15px;
    width: 100%;
    height: 30px;
    border-radius: 5px;
    border: 1px solid;

}
textarea{
    width: 100%;
    border-radius: 5px;
}

label{
    font-size: 12px;
}
.but{
    width: 100%; 
    background-color: #4caf50;
    height: 25px; 
    color: #fff; 
    border: none; 
    border-radius: 3px; 
    font-size: 10px;
}
.but:hover{
    background-color: rgb(78, 116, 18);
}


 form{
    height: 350px; 
    width: 40%; 
    margin: auto; 
    margin-top: 100px; 
    text-align: left; 
    background-color: #fff; 
    border-radius: 10px; 
    padding: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


    input{
        margin-bottom: 15px;
        width: 100%;
        height: 30px;
        border-radius: 5px;
        border: 1px solid;

    }

    label{
        font-size: 12px;
    }

.but:hover{
    background-color: #7aa31a;
}
.contact{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/*
 * Responsive
 */

@media screen and (max-width: 600px) {
    .main {
        width: 100%;
    }
    #part2{
        padding: 30px;
    }
    .dino img{
        display: none;
    }
    .dino_list{
        padding: 30px;
    }
    .dino {
        width: 100%;
        margin: 10px;
        overflow: hidden;
        
    }

    
    
    .foot{
        display: flex;
        flex-direction: column;
        width: 100%;
        
    }
    textarea{
        width: 100%;
        border-radius: 5px;
    }
    
   
    
    footer {
        padding: 20px;
        text-align: center;
        background: #ddd;
        width: 100%;
    }
    
    /*
     * contact
     */
    
     form{
        height: 350px; 
        width: 70%; 
        margin: auto; 
        margin-top: 100px; 
        text-align: left; 
        background-color: #fff; 
        border-radius: 10px; 
        padding: 10px; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
}

