body, html {
    margin: 0;
    padding: 0;
    background-color: black;
}

.section {
    min-height: 800px;
    position: relative;
    text-align: center;
    font-family: sans-serif, arial;
    margin: 0;
}

h1, p {
    margin: 0;
    font-family: sans-serif, arial;
    font-weight: normal;
    color: #C4C4C4;
    font-size: 22px;
    line-height: 50px;
}

.text-wr {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.aboutP {
    font-size: 18px;
    line-height: 25px;
    text-align: left;
}

h1 {
    font-size: 50px;
    margin-bottom: 25px;
}

.hoverText {
    font-size: 17px;
    font-family: sans-serif, arial;
    font-weight: normal;
    font-style: italic;
    color: gray;
}

.time {
    font-size: 50px;
    white-space: pre;
}

.rectangle {
    width: 270px;
    height: 130px;
    background: white;
    opacity: 0.7;
    margin: 0 auto;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    color: black;
    line-height: 2;
}

#about {
    width: 270px;
    height: 80px;
}

/*"Abu Dhabi Time" style*/
.timezone {
    color: black;
    padding-bottom: 10px;
}

/**/
.title-top {
    font-size: 80px;
    padding-bottom: 30px;
    font-weight: bold;
}

.title-tx {
    font-size: 22px;
}


/*Navigation Style*/
/*Reference: https://www.cssscript.com/easy-one-page-scroll-navigation-library-slide-nav/*/
.nav {
    position: fixed; /*left: 50%;*/
    width: 100%;
    top: 20px;
    z-index: 9;
    padding-left: 10px;
}

.nav a {
    padding: 7px 20px;
    /*border-radius: 7px;*/
    margin-right: 10px;
    background: rgba(255, 255, 255, 0.5);
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    text-decoration: none;
    color: black;
    font-family: sans-serif, arial;
    font-weight: 100;
}

.nav a.active {
    background: rgba(0, 0, 0, 0.5);
    color: white;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.7);
}


/*Images being shown, side by side*/
img {
    width: 40%; 
    /*When the mouse is not hovering over the images, keep the opacity at 0.4*/
    opacity: 0.4; 
    padding: 20px;
    flex-wrap: wrap; 
}

/*The last image is the two of us being shown together*/
.last {
    width: 90%;
}

/*when the mouse is, change the opacity to 0.8*/
img:hover {
    opacity: 0.8;
}