body{
    background-color: #F2E9E4;
    font-family: "Georgia", "Times New Roman", serif;
}
section{
    min-height: 100vh;
    scroll-margin-top: 80px;
}
@media (max-width: 992px) {
    section {
        scroll-margin-top: 400px;
    }
}
h2{
    font-weight: bold;
}

/* NAVBAR */
.navbar {
    background-color: #0A3D62;
}
.navbar .nav-link {
    color: #F2E9E4;               
}
.navbar .nav-link:hover {
    color: #C9ADA7;            
}
.navbar .nav-link.active {
    color: #C9ADA7;            
}

.container{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* home */

.main-container{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    min-height: 100vh;
    margin: 2rem;
}
img{
    max-width: 100%;
    height: auto;
}
.text {
    flex: 1;                   
    min-width: 250px;
}

.img-container img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.name{
    /* font-family: Arial, Helvetica, sans-serif; */
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0;      
}


/* Mobile / small screens */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .img-container img {
        max-width: 80%;
        margin-top: 20px;
    }
}

/* ABOUT */

.degree-desc{
    text-align: center;
}
.degree{
    border: 1px solid #333;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    width : 100%;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 2rem auto;
    box-sizing: border-box;
}
.degree:hover{
    box-shadow: 10px 10px 5px grey;
}
.desc{
     margin-top: 7rem;
     max-width: 750px;
     text-align: center;
     line-height: 1.9;
     font-size: 1.2rem;
}
footer{
    background-color:#0A3D62;
    color: #F2E9E4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
footer h5 {
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    letter-spacing: 1px;
}
footer p {
    margin: 0.2rem 0;
}
footer a {
    color: #F2E9E4;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
