*{
    font-family: sans-serif;
    color:#2A0934;
}

body{
    width:100%;
    height:100vh;
}

.logo{
    border: 2px outset #D4DDF7;
    border-radius: 10px 30px;
    margin-left: 10px;
}

nav{
    background: linear-gradient(to bottom right, #FCCB1A, #cbad40);
    font-weight:bold;
    width: 99%;
    height: auto;
    margin: auto;
    border-radius: 15px;
}


.nav1{
    text-decoration: none;
    margin: 5px;
    margin-right: 15px;
    float:right;
    color: #2A0934;
    padding: 3px;
    background-color: #D4DDF7;
    border: 2px outset;
    border-radius: 8px;
    transition: color 0.3s,background-color 0.3s, transform 0.5s ease;   
}

.nav1:hover{
    background-color: #FCCB1A;
    color: #D4DDF7;
    transform: scale(1.1);
}

.nav1:active{
    border: 1px inset #D4DDF7;
}

.nav2{
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-top: 10px;
    margin: 3px;
    text-decoration: none;
    color:#2A0934;
    transition: color 0.3s ease;
    display:inline-block
}

.nav2:hover{
    color:#D4DDF7;
}

.nav2:active{
    border: 1px inset #D4DDF7;
    margin: 2px;
    border-radius: 15px;
}

#container{
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 40px;
    width: 97%;
    height: 80%;
    background-image: url(contentbg.png);
    background-repeat: no-repeat;
    background-size: cover;
    border: 3px solid #FCCB1A;
    border-left: 20px solid #FCCB1A;
    box-shadow: 1px 2px 25px;
}

#container span{
    font-size: 3em;
    font-weight: bold;
    float: right;
    position: relative;
    top: 100px;
    background-color: #FFFFFF;
    opacity:0.7;
    padding: 20px;
    margin-right: 0;
    border-radius:20px 0px 0px 70px;
}

#container h2{
    padding-top: 50px;
    padding-left: 25px;
    font-size: 2.5em;
    color:#ad8903;
}

#container div{
    display: block;
    width:25%;
    margin-left: 25px;
    margin-top: 35px;
    height: auto;
    font-size: large;
    line-height: 1.5;
    font-size: x-large;
}

#ContainerContact{
    width: 99%;
    height: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
}

#ContainerContact h2{
    margin-left: 150px;
    padding-top: 50px;
    padding-bottom: 0;
    margin-bottom: 0;
    font-size: 2em;
}

#contact{
    display: flex;
    margin-top: 0;
    height:500px;
    justify-content: space-evenly;
}

.contact{
    width:20%;
    background-color: white;
    height:70%;
    border:2px solid #d3e0e0;
    border-radius: 8px;
    margin-top: 100px;
    text-align: center;
    box-shadow: 5px 10px 18px #e1ebeb;
}

.contact i{
    font-size: 5em;
    margin:15px;
}

.contact a{
    text-decoration: none;
    position: relative;
    top:40px;
    border:2px solid rgb(115, 115, 202);
    color: rgb(115, 115, 202);
    font-weight: bold;
    padding:10px;
    border-radius: 5px;
    transition: background-color 0.2s ease-in-out;
}

.contact a:hover{
    background-color: rgb(115, 115, 202);
    color:white;
    text-decoration: underline;
}

#table{
    margin-top: 20px;
    width:99%;
    height:auto;
    background-color: #ebf5f5;
    margin-left: auto;
    margin-right: auto;
    padding-bottom:150px;
}

#table h2{
    font-size: 2em;
    margin-left: 150px;
    margin-bottom: 50px;
    padding-top: 50px;
}

table{
    width:80%;
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    border: 1px solid #c3c7c7;
    box-shadow:5px 10px 18px #e1ebeb;
}

th:nth-child(1){
    width:20%;
}

th:nth-child(2){
    width:20%;
}

th:nth-child(3){
    width:60%;
}

th{
    background-color: #d4d9d9;
    text-align: left;
}

th, td{
    padding: 15px;
}

td:first-child{
    font-weight: bold;
}

tr:nth-child(odd){
    background-color: white;
}

#footer{
    background: linear-gradient(to bottom right, #FCCB1A, #b0901e);
    height: 60%;
    width:99%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 1px 1px 18px #888888;
    margin-top: 30px;
}

.logo2{
    border: 2px outset #D4DDF7;
    border-radius: 10px 30px;
    margin-left: 5%;
}

footer i{
    color:white;
    font-size: 40px;
    margin: 5px;
    transition: color 0.3s, transform 0.4s ease;
}

footer i:hover{
    transform: scale(1.3);
    color:#2A0934
}

footer a{
    margin: 5px;
}

hr{
    opacity: 0.3;
    margin-left: 5%;
    margin-right: 5%;
}

#footerdiv{
    display:flex;
    justify-content: space-around;
    margin-left: 10%;
    margin-right: 10%;
}

#footerdiv a:hover{
    color:#D4DDF7
}

.footernav{
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.2s, text-decoration 1s ease;
}

.footernav:hover{
    text-decoration: underline;
}

.footernav ~ a, .last{
    text-decoration: none;
    font-size: small;
    transition: color 0.2s ease;
}

#copyright{
    margin-left: 80px;
    font-size: small;
}

.last{
    float: right;
    margin: 10px;
}

#policy{
    margin-right: 80px;
}


@media only screen and (max-width:1024px){
    *{
        font-size: 1.1em;
    }
    nav{
        height:auto;
        width:90%;
    }
    .logo{
        position:relative;
        left:10px;
    }
    #container{
        width:90%;
    }
    #container h2, #container div{
        position:relative;
        top: 80px;  
        margin-left: 10px;
        font-size: 1.1em;
    }
    #container div{
        width:40%
    }
    #ContainerContact{
        height:auto;
    }
    #contact{
        flex-wrap: wrap;
    }
    .contact{
        width:50%;
        height: 90%;
    }
    .contact i{
        font-size: 3em;
    }
    #table{
        position: relative;
        top:1700px;
    }
    #footer{
        position:relative;
        top:1700px;
    }
    .footernav{
        font-size: 0.9em;
        margin: 30px;
    }
    .footernav~a{
        font-size: 0.7em;
    }
    #copyright, #policy, .last{
        font-size: 0.7em;
    }
    #footerdiv{
        flex-wrap: wrap;
    }
    #footer{
        height:80%;
        width:90%
    }
}

@media only screen and (max-width:500px){
    *{
        font-size: 1em;
    }
    #container div{
        width:auto;
    }
    #container{
        height:100%;
    }
    .contact{
        width: 80%;
        height: 55%;
    }
    #ContainerContact h2{
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.5em;
    }
    #table{
        top:1000px;
    }
    #table h2{
        font-size: 1.5em;
        margin-left: auto;
        margin-right: auto;
    }
    table{
        font-size: 0.8em;
    }
    th:nth-child(1){
        width:15%;
    }
    
    th:nth-child(2){
        width:15%;
    }

    th:nth-child(3){
        width:70%;
    }
    #footer{
        top: 1000px;
    }
    #footerdiv{
        flex-wrap: wrap;
    }
    #footer{
        height: 110%;
    }
    .footernav ~ a{
        display: none;
    }
}
