 *{
    box-sizing:border-box;
}


/*font-family: 'Anton', sans-serif;
font-family: 'Mulish', sans-serif;
font-family: 'Oxygen', sans-serif;*/

body{
    margin: 0;
}

.clear{
    clear: both;
}

h3{
    font-family: 'Anton', sans-serif; 

}

h2{
    font-family: 'Mulish', sans-serif;

}

h1{
    font-family: 'Oxygen', sans-serif;
}

nav li{
    font-family: 'Oxygen', sans-serif;

}


#wrapper{
    display: grid;
    grid-template-columns: minmax(0px, 1fr) repeat(6,minmax(0px, 175px)) minmax(0px, 1fr);
    grid-auto-rows: minmax(0, auto);
    background-color:ghostwhite;
    
}

header{
    font-family: Arial, Helvetica, sans-serif;
    background-color: brown;
    grid-row: 1/2;
    grid-column: 2/-2;
    background-image: url("images/webtbLogo-edit2.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 20px;
    height: 255px;
    
    
}



nav
        {
        font-weight: bold;
        background-color: darkorange;
        grid-row: 2/3;
        grid-column: 2/-2;
        padding: 15px;
        position: sticky;
        z-index: 999;
        top: 0;
        margin-bottom: 20px;
 
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-decoration: none;
    display: flex;
    flex-flow: row nowrap;
}

nav ul li{
    width: 100%;
}

nav a {
        
        text-decoration: none;
        color:black;
        padding: 1rem 0rem;
        display: block;
        text-align: center;

}


#img_4787{
    height: 200px;
    width: 100px;
    grid-row: 4;
    grid-column: 2/-2;
    justify-content: center;
    align-items: center;
}


main{
    background-color: white;
    padding:10px;
    padding-left: 4em;
    padding-right: 4em;
    grid-column: 2/-2;
    grid-row: 4;
    align-items: center;
    justify-content: center;
    -ms-grid-column-span: 6;
}

#About{
    display: flex;
    align-items: flex-start;
    padding-top:3em ;
}

#Aboutinfo{
    width: 70%;
    padding-left: 2em;
}

#About img{
    max-width: 30%;

}

#About h2:first-child{
    margin-top: -8px;

}


#contacts{
    display: flex;
    align-items: flex-start;
    padding-top:3em ;


}

#Aboutcontacts{
    width: 70%;
    padding-left: 2em;
}

#contacts img{
    max-width: 30%;

}

#contacts h1{
    margin-top: -8px;

}

img{
    outline-style: solid;
    outline-color:brown;
    outline-width: 4px;
    outline-offset: 4px;
    align-content: center;
    margin: 5px;
    width: 100%;
    height: auto;
    
}


footer{
    font-family: Arial, Helvetica, sans-serif;
    background-color: brown;
    grid-row: 5;
    grid-column: 2/-2;
    text-align: center;
    height: auto;
    color: white;

}

footer p a{
    text-decoration: none;
    color: white;
}

form{
    display: grid;
    grid-template-columns: 150px 1fr;
    grid-auto-rows: minmax(1px,auto);
    gap: 1rem;
    width: 100%;
}

textarea, input{
    font-size: 1 rem;
    border: none;
    padding: 5px;
    background-color:lightsteelblue;

}

input:focus{
    outline:none;
    background-color: lightgoldenrodyellow;
}

label{
    padding: 5px;
    text-align: right;
}

#mysubmit{
    width: 10rem;
}


@media screen and (max-width: 992px) {

    header{
        height: 150px; 
    }
     
    nav{
    font-weight: bold;
    background-color: darkorange;
    grid-row: 2/3;
    grid-column: 2/-2;
    padding: 0px;
    position: sticky;
    top: 0;
    margin-bottom: 20px;

    }
    
}


@media screen and (max-width: 768px) {
    #About{
        flex-direction: column;
        padding-top:3em ;
    }
    
    #Aboutinfo{
        width: 100%;
        padding-left: 0;
    }
    
    #About img{
        max-width: 100%;
    
    }
    
    #About h2:first-child{
        margin-top: 1em;
    
    } 

    form{
        grid-template-columns: auto;
    }

    
}


