* {
    box-sizing: border-box;
}
html, body{
    margin: 0;
    padding: 0;
}
.container{
    padding: 5px;
    min-height: 100px;
    position: relative;
    margin: 0 auto;
}
.container img{
    max-width: 100%;
}
.container h1{
    text-transform: uppercase;
    text-align: center;
    font-size: 3em;
    background-color: rgb(3, 3, 90);
    color: white;
}
.container h2{
    text-align: center;
    padding: 0 0 15px;
}
#types{
    text-transform: uppercase;
    font-size: 30px;
}
#top{
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
}
#top:hover{
    text-decoration: underline;
    color: gray;   
}
#details{
    text-transform: capitalize;
}
#teams{
    text-align: center;
}
#teams ul li{
    text-decoration: none;
    list-style-type: none;
    position: relative;
}
#teams h2{
    padding-top: 40px;
    padding-bottom: 25px;
    text-shadow: 4px 4px 6px rgba(23, 2, 99, 0.5), -4px -4px 6px rgba(241, 205, 203, 0.5);
}
input[type=text], input[type=email], input[type=number], textarea{
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.contact-section{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.mainForm {
    padding: 20px;
    margin: auto;
    /* margin-left: 35%; */
    background-color: rgb(3, 3, 90);
    color: whitesmoke;
    width: 50%;
    border-radius: 15px;
}
.btn{
    background-color: rgb(141, 177, 245) ;
    color: rgb(6, 5, 78) ;
    font-size: 2em;
    padding: 10px;
    border-radius: 10px;cursor: pointer;
}
.btn:hover{
    background-color: darkgreen;
    color: whitesmoke ;
}
label{
    display: contents;
    padding: 10px 0;
    text-align: left;
}
#message{
    height: 150px;
}
.col{
    float: left;
    position: relative;
    text-align: center;
    padding: 5px;
    font-size: 15px;
    font-family:Arial, Helvetica, sans-serif ;
    text-transform: uppercase;
}
.card{
    border: 4px solid rgb(3, 3, 90);
    border-radius: 20px;
    padding: 10px;
    background-color: rgb(141, 177, 245);
}
.col-4{
    width: 25%;
}
.col-3{
    width: 33.3%;
}
.col-2{
    width: 50%;
}
.hero{
    color: #001f3f;
    font-size: 1.5em;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.8);
    text-align: center;
    padding: 20px;
}
.hero h1{
    font-size: 3em;
}
.hero h2{
    font-size: 2em;
}
.header{
    height: 0px;
}
.section {
    clear: both;
    border: 1px solid rgb(151, 194, 250);
    padding: 20px 0;
    background-color: rgb(151, 194, 250);
    height: auto;
    overflow: hidden;
}
.logo{
    float: left;
    width: 200px;
    height: 20px;
    margin-left: 10px;
}
nav ul{
    float: right;
    list-style: none;
    margin: 0;
    padding: 0;
}
nav ul li{
    color: white;
    float: left;
    position: relative;
    padding-top: 15px;
}
nav ul li a{
    padding: 15px;
    text-decoration: none;
    color: white;
    font-size: 1.5em;
}
nav ul li:hover a{
    background-color: white;
    color: black;
}
.mainHeader{
    position: fixed;
    left: 0;
    top: 0;
    background-color: rgb(3, 3, 90);
    /* color: red; */
    width: 100%;
    height: 60px;
    z-index: 10;
    padding: 5px;
}
#service p{
    text-transform: none;
}
#service header{
    text-transform: capitalize;
    padding-bottom: 20px;
}#service h2{
    padding-top: 40px;
    padding-bottom: 0;
    text-shadow: 4px 4px 6px rgba(23, 2, 99, 0.5), -4px -4px 6px rgba(241, 205, 203, 0.5);
}
#service footer{
    padding: 30px 5px 20px 5px;
    background-color: rgb(49, 43, 88);
    color: antiquewhite;
    font-weight: bold;
}
#footer{
    color: antiquewhite;
    max-height: 100px;
}
#footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
    background-color: rgb(10, 10, 49);
}

#footer .col-4 {
    width: 22%;
    margin-bottom: 5px;
}
#footer img {
    width: 100%;
    height: 45px;
    margin-top: 20px;
}
.bottom h3{
    text-align: center;
    text-transform: uppercase;
    font-size: 1em;
    border-bottom: 2px solid rgb(151, 194, 250);
}
.bottom p{
    text-align: center;
    text-transform: none;
    font-size: 10px;
    text-decoration: underline;
}
.bottom p:hover{
    background-color: rgb(151, 194, 250);
    color: rgb(7, 0, 0);
}

@media all and (max-width:760px){
    .mainHeader{
        height: auto;
        width: 100vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        font-size: 0.8em;
    }
    .logo{
        margin:0 auto 30px;
    }

    .hero{
        margin-top: 100px;
        font-size: 0.9rem;
    }

    .section>.col{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    nav ul{
    float: none;
    display: block;
    margin: 0 auto;
    text-align: center;
    }
    nav ul li{
    float: none;
    display: inline-block;
    }
    nav ul li a{
    padding:0 10px;
    }

    .container{
        display: grid;
        place-items: center;
    }

    .container h1{
        font-size: 2em;
        width: 100vw;

    }

    .container h2{
        font-size: 1em;
    }

    .container>.col{
        width: 90%;
        
    }
    .col-4{
        width: 100%;
    }
    .col-2{
        width: 50%;
    }
    .mainForm{
        width: 100%;
    }
    .col-1{
        width: 100%;
    }
}


