html{
    scroll-behavior: smooth;
}


body{
    display: block;
    margin: auto;
    width: 100%;
    height: auto;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Libre Franklin';
    top: 0;
    position: relative;
}


.nav-top{
    display: block;
    width: 100%;
    height: 35px;
    background: #2064bd;
    margin-top: 0px;
    padding-top: 5px;
}

.navbar-toggle{
    background-color: #2064bd !important;
}
.nav-top a{
    text-decoration: none !important;
    color: white !important;
    padding-left: 35px;
    font-size: 14px;
}

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

.navbar-header, .navbar-collapse{
    padding-top: 25px;
}
.navbar-brand{
    color: #2064bd;
}
.navbar-brand:hover{
    color: #2064bd !important;
}
nav li a{
    color: #2d2d2d !important;
}

.hero-bg{
    display: block;
    width: 100%;
    margin: auto;
    min-height: 700px;
    background-image: url('../img/hero1.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(32, 100, 189, 0.85);
    color: white;
    animation-name: fadeup;
    animation-duration: .8s;
    animation-iteration-count: 1;
}

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

.hero-overlay1{
    display: block;
    width: 100%;
    height: 150px;
    margin: auto;
    position: absolute;
    bottom: 0;
    background: rgba(32, 100, 189, 0.85);
    color: white;
    animation-name: fadeup;
    animation-duration: .8s;
    animation-iteration-count: 1;
}


@media screen and (min-width: 1700px){
    .hero-bg{
        background-position: center -550px;
    }
    
    .hero-bg1{
        background-position: center -650px;
    }
}


@media screen and (max-width: 768px){
    .hero-bg{
        min-height: 550px;
    }
    
    .hero-overlay1 h1{
        font-size: 20px;
    }
    
    .hero-overlay h1{
        font-size: 20px;
    }
}


.hero-overlay h1, .hero-overlay1 h1{
    text-shadow: 2px 2px 4px black;
}

.hero-overlay p, .hero-overlay1 p{
    font-size: 17px;
}

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

.highlight-box{
    display: block;
    width: 95%;
    margin: auto;
    padding: 15px;
    border-bottom: solid 1px silver;
    margin-bottom: 15px;
    text-align: center;
}


.highlight-box h4{
    font-size: 17px;
}

.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: #2d2d2d;
    margin: 5px;
    box-shadow: 2px 2px 5px black;
    padding: 20px;
    border-radius: 12px;
    margin-top: 45px;
    border: solid 5px rgba(0,0,0,0);
}

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

.home-row h2{
    color: white;
    padding-bottom: 15px;
    border-bottom: solid 2px #2064bd;
    font-weight: bold;
}

.text-secondary{
    color: #2064bd !important;
}

.home-row h2 i{
    color: #2064bd;
    font-size: 30px;
}

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

.home-row a{
    background: #2064bd;
    border-color: #2064bd;
    color: white;
    float: right;
    font-size: 17px;
}

.home-row a:hover{
    border-color: #2064bd;
    background: #2064bd;
    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: #2064bd;
}

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

.document:hover{
    border-color: #2064bd;
    transition: .3s ease;
}
.document h2{
    color: white;
    padding-bottom: 15px;
    border-bottom: solid 2px #2064bd;
    font-weight: bold;
}

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

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

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

@media screen and (max-width: 768px){
    #amtech-logo{
        width: 40%;
        margin: auto;
        display: block;
    }
}
.text-primary{
    color: #4d4d4d;
}

form button{
    background: #4d4d4d;
    border-color: #4d4d4d;
    color: white !important;
}

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

/* Footer */
footer{
    background-image: url('../img/img1.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    min-height: 250px;
    color: silver;
    border-top: solid 2px #2064bd;
    bottom: 0px;
    margin-bottom: 0px !important;
}

footer .footer-overlay{
    min-height: 250px;
    padding-top: 100px;
    background: rgba(70, 70, 70, 0.85);
}
footer p{
    text-shadow: 1px 1px 3px black;
    font-size: 20px;
}
footer a{
    text-decoration: none;
    color: white;
    
}

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

footer span{
    color: white;
}

@media screen and (max-width: 768px){
    footer p{
        font-size: 16px;
    }
}