html{
    scroll-behavior: smooth;
}


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

header nav{
    background: none !important;
    border: none;
}

.navbar-brand{
    color: white;
    font-size: 25px;
}

.navbar{
    border: none !important;
}

nav li a{
    color: white !important;
}

#modalNav{
    text-align: left !important;
}

#modalNav ul li{
    margin-bottom: 10px;
    padding: 10px;
    font-size: 17px;
}

#modalNav ul li i{
    margin-right: 15px;
}

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

.hero-overlay{
    display: block;
    width: 100%;
    height: 850px;
    margin: auto;
    position: absolute;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(21, 23, 83, 0.75), rgba(21, 23, 83, 0.45));
    color: white;
    text-align: center;
}


.hero-overlay h1{
    text-shadow: 2px 2px 4px black;
    padding-top: 300px;
    animation-name: fadeintop;
    font-weight: bold;
    font-size: 70px;
    text-transform: uppercase;
    animation-duration: .25s;
    animation-iteration-count: 1;
}

@keyframes fadeintop{
    from{opacity: 0; margin-top: -25px;}
    to{opacity: 1; margin-top: 0px;}
}

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

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

.hero-overlay1{
    display: block;
    width: 100%;
    height: 350px;
    margin: auto;
    position: absolute;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(21, 23, 83, 0.75), rgba(21, 23, 83, 0.65));
    color: white;
    text-align: center;
}


.hero-overlay1 h1{
    text-shadow: 2px 2px 4px black;
    padding-top: 50px;
    font-weight: bold;
    font-size: 50px;
    text-transform: uppercase;
    animation-name: fadeintop;
    animation-duration: .25s;
    animation-iteration-count: 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: 300px;
    background: black;
    margin: 5px;
    box-shadow: 2px 2px 5px black;
    padding: 16px;
    padding-top: 25px;
    text-align: center;
    margin-top: 35px;
    border: solid 5px rgba(0,0,0,0);
}

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

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

.home-row h2 i{
    color: #3c5f99;
    font-size: 75px;
    margin-bottom: 10px;
}

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

.home-row a{
    background: #2b446e;
    border-color: #2b446e;
    color: white;
    font-size: 17px;
}

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

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

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

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

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

.list-links li{
    padding: 20px;
    border-bottom: solid 1px silver;
    list-style-type: none;
}

.list-links a{
    font-size: 23px;
    color: grey;
    text-decoration: none;
}

.list-links a:hover{
    color: #2b446e;
    transition: .3s ease;
}

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

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

form button{
    background: black;
    border-color: black;
    color: white !important;
}

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

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

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

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

footer span{
    color: #3c5f99;
}

@media screen and (max-width: 768px){
    .hero-bg{
        min-height: 450px;
    }
    
    .hero-overlay{
        height: 450px;
    }
    
    .hero-overlay h1{
        padding-top: 75px;
    }
}
