* {
    margin: 0;
    padding: 0;
    font-family: 'Optima', sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background: #080808;
    color: #fff;
}

/*set the attributes for the main page header*/
#header {
    width: 100%;
    height: 100vh;
    /*add the background image and set dimensions for it*/
    background-image: url('Images/NewBackground.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.container {
    /*left and right padding on the overall header*/
    padding: 10px 3%;
    position: relative;

}


nav {
    position: absolute;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 10px;
}
/*set the characteristics of the tabs*/
nav ul li a{
    color: #011638;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    position: relative;
}

/*set the characteristic of the little bar that appears under the tabs*/
nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #FFAF87;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

/*change the visibility of the bar when you hover over the tab*/
nav ul li a:hover::after {
    width: 100%;
}

/*change the properties of the header text*/
.header-text{
    position: absolute;
    top: 300px;
    left: 80px;
    font-size: 20px;
    font-weight: 600;
    color: #011638;
}
/*change the properties of the main header text*/
.header-text h1{
    margin-top: 20px;
    font-size: 50px;
}
/*change the properties of the highlighted portion of the header*/
.header-text h1 span{
    color: #011638;
    font-size: 65px;
}




/*---------------about me section--------------------------------------------*/
#about{
    padding: 10px 0;
    color: #F5E0B7;
    width: 100%;
    height: 100vh;
    background-image: url('Images/AboutBackground.jpg');
    background-size: cover;
    background-position: bottom;
}

.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-col1{
    flex-basis: 35%;
    margin-top: 0;
}

.about-col1 img{
    margin-top: 10px;
    width: 110%;
    border-radius: 10px;
}
.about-col2{
    flex-basis: 55%;
}
.about-col2 p{
    color: #031926;
    font-size: 20px;
}

.subtitle{
    font-size: 60px;
    font-weight: 600;
}

.tab-titles{
    color: #F5E0B7;
    display: flex;
    margin: 30px 0 40px;
}

.tab-links{
    margin-right: 15%;
    font-size: 30px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #FFAF87;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}
.tab-links.active-link::after{
    width: 100%;
}
.tab-links:hover::after{
    width: 100%;
}

.tab-contents ul li{
    list-style: none;
    margin: 20px 0;
}
.tab-contents ul li span{
    color: #2A333C;
    font-size: 20px;
}
.tab-contents{
    display: none;
}
.tab-contents.active-tab{
    display: block;
}

/*-----------------------------portfolio Section--------------------------*/
#projects {
    position: relative;
    padding: 30px 0;
    width: 100%;
    height: 670px;
    background-image: url('Images/TestBackground.jpg');
    background-size: cover;
    background-position: top;
}

.title{
    font-size: 64px;
    margin-bottom: 30px;
    color: #031926;
}

.project-categories{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.category{
    height: 480px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.category img{
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}

.overlay{
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    padding: 10px;
    font-size: 30px;
    color: #031926;
    background: #fff;
    border-bottom-right-radius: 10px;
    transition: 0.25s;
}
.layer{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(rgba(0,0,0,0.6), #031926);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding:  0 40px;
    transition: height 0.5s;
}
.layer p{
    font-size: 20px;
    margin-bottom: 30px;
}
.layer a{
    font-size: 30px;
    text-decoration: none;
    line-height: 60px;
    color: #080808;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}

.category:hover img{
    transform: scale(1.1);
}

.category:hover .layer{
    height: 100%;
}
.category:hover .overlay{
    display: none;
}

/*-------------------Social Media---------------------------*/

#social-media{
    /*display: grid;*/
    /*grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));*/
    /*grid-gap: 10px;*/
}
.mediaLinks h1{
    padding: 5px;
    font-size: 40px;
}

.mediaLinks {
    display: grid;
    grid-template-columns: 1fr 4fr;
    padding: 20px;
}
.mediaLinks a{
    font-size: 30px;
    text-decoration: none;
    line-height: 60px;
    background: #fff;
    color: #080808;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}

/*------------------------Art--------------------*/
.art-header {
    background: #fff;
    color: #080808;
  text-align: center;
  padding: 32px;
}

/* Create two equal columns that floats next to each other */
.art-column {
  -ms-flex: 50%; /* IE 10 */
  flex: 50%;
  padding: 0 7px;
}

.art-column img {
  margin-top: 12px;
}

.art-row {
    background: #fff;
  display: -ms-flexbox; /* IE 10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE 10 */
  flex-wrap: wrap;
  padding: 0 4px;
}


/* Style the buttons */
.btn {
  border: none;
  outline: none;
  padding: 10px 16px;
  background-color: #f1f1f1;
  cursor: pointer;
  font-size: 18px;
}

.btn:hover {
  background-color: #ddd;
}

.btn.active {
  background-color: #666;
  color: white;
}