html{
    scroll-behavior: smooth;
}

body{
    display: block;
    margin: auto;
    width: 100%;
    height: auto;
    padding: 0;
    overflow-x: hidden;
    font-family: 'DM Sans';
    background-color: #d3d3d3;
    top: 0;
    position: relative;
}

header nav{
    background: white !important;
    padding-top: 25px;
    padding-bottom: 25px;
}

nav li a{
    color: #0d0059 !important;
}

.navbar-brand{
    color: grey !important;
    font-weight: bold;
}


.navbar-toggle{
    background: #0d0059;
    color: white;
}

.hero-bg{
    display: block;
    width: 100%;
    margin: auto;
    min-height: 700px;
    background-image: url('../img/header2.JPG');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay{
    display: block;
    width: 100%;
    height: 150px;
    margin: auto;
    position: absolute;
    bottom: 0;
    background: rgba(13, 0, 89, 0.75);
    color: white;
    padding-top: 5px;
}


.hero-overlay h1{
    text-shadow: 2px 2px 4px black;
    font-size: 65px;
}

.hero-overlay p{
    font-size: 20px;
    color: silver;
}

@keyframes fadeup{
    from{
        height: 0; opacity: 0;
    }
    
    to{
        height: 250px;
        opacity: 1;
    }
}

.page-links{
    margin-top: 0px;
    animation-name: fadein1;
    animation-duration: .8s;
    animation-iteration-count: 1;
}

@keyframes fadein1{
    from{
        margin-top: -100px;
        opacity: 0;
    }
    
    to{
        margin-top: 0px;
        opacity: 1;
    }
}


.home-row{
    display: block;
    width: 100%;
    min-height: 250px;
    background: white;
    margin: 5px;
    box-shadow: 2px 2px 5px black;
    margin-top: 45px;
    border: solid 5px rgba(0,0,0,0);
}

.home-row:hover{
    border-color: #0d0059;
    transition: .3s ease;
}

.home-row h2{
    border-bottom: solid 2px #0d0059;
    font-weight: bold;
    padding-bottom: 15px;
}

.home-row-content{
    padding: 20px;
}
.home-row h2 i{
    color: #0d0059;
    float: right;
    text-align: right;
}

.home-row p{
    font-size: 17px;
}

.home-row img{
    width: 100%;
    height: 250px;
}
.home-row a{
    background: #AE5F55;
    border-color: #AE5F55;
    color: white;
    font-size: 17px;
    margin-bottom: 25px;
}

.home-row a:hover{
    border-color: #AE5F55;
    background: #AE5F55;
    transition: .3s ease;
}

.board-member{
    text-align: center;
    margin-top: 25px;
}

.board-member h2{
    border-top: solid 2px grey;
    padding-top: 15px;
}
.board-member h3{
    color: #0d0059;
}

.document{
    display: block;
    min-height: 150px;
    background: #4d4d4d;
    padding: 10px;
    color: white;
    border: solid 3px rgba(0,0,0,0);
    margin: 10px;
    margin-top: 25px;
}

.document:hover{
    border-color: #0d0059;
    transition: .3s ease;
}
.document h2{
    color: white;
    padding-bottom: 15px;
    border-bottom: solid 2px #0d0059;
    font-weight: bold;
    min-height: 65px;
}

.document a{
    border-color: #AE5F55;
    background: #AE5F55;
    color: white;
    width: 100%;
    font-size: 17px;
    margin-top: 25px;
}

.document a:hover{
    background: #AE5F55;
    border-color: #AE5F55;
    transition: .3s ease;
}

#amtech-logo{
    height: auto;
    width: 100%;
}

.text-primary{
    color: #4d4d4d;
}

.btn{
    border-radius: 0px !important;
}
form button{
    background: #AE5F55;
    border-color: #AE5F55;
    color: white !important;
}

form button:hover{
    background: #0d0059;
    border-color: #0d0059;
    transition: .3s ease;
    color: white;
}

/* Footer */
footer{
    background: #0d0059;
    text-align: center;
    min-height: 250px;
    padding-top: 100px;
    color: white;
    border-top: solid 2px #0d0059;
    bottom: 0px;
    margin-bottom: 0px !important;
}

footer a{
    text-decoration: none;
    color: #AE5F55;
}

footer a:hover{
    text-decoration: none;
    color: white !important;
}

footer span{
    color: #AE5F55;
}

@media screen and (max-width: 998px){
    .home-row img{
        height: 400px;
    }
}

@media screen and (max-width: 768px){
    
    .home-row img{
        height: auto;
    }
    
    .hero-bg{
        min-height: 450px;
    }
    
    .hero-overlay{
        padding-top: 20px;
        height: 150px;
    }
    
    .hero-overlay h1{
        font-size: 40px;
    }
    
    .hero-overlay p{
        display: none;
    }
    
}
