html {
    margin: 0;
    padding: 0;
    font-family: "Fira Sans";
    background-color: #c8c8c8;
}

div h1 {
    margin-top: 0;
}

body {
    margin: 0;
    overflow-x: hidden;
    padding-bottom: 10vh;
}

body ul {
    margin-top: 0;
    padding-left: 0;
    margin-bottom: 0;
}

.bullet-list {
    list-style-image: url('../img/bullet-triangle.png');
}

body p {
    margin-bottom: 0;
    margin-top: 0;
}

#navbar {
    display: flex;
    align-items: center;
    z-index: 2;
    top: 0;
    background-color: black;
    position: fixed;
    width: 100%;
    padding: 20px 0;
    
}

#logo {
    height: 30px;
    padding-left: 20px;
}
  
.textbar {
    color: #c8c8c8;
    font-size: 1.2em;
    padding-left: 30px;
    text-decoration: none;
}

#navbar nav {
    display: flex;
    margin-left: auto;
    margin-right: 20px;    
}

/* Main Content */
#maincontent {
    width: 70%;
    margin: auto;    
}

#landing {
    margin: 15% 0;
    padding: 0 20px;
}

#landingimg {
    max-width: 30%;
    border-radius: 50%;
}

/* Type Effect */
#type-effect {
    padding: 30px 0;
    height: 30px;
}

#cursortext {
	display: inline-block;
	vertical-align: middle;
	color: #000;
    font-size: 4em;
}

@keyframes blink {
	from, to { 
		background-color: transparent 
	}
	50% { 
		background-color: #000; 
	}
}

/* ------------- */

.div-title {
    text-align: center;
    margin: 10vh 0;
    width: 100%;
}

h2 {
    font-size: 2.2em;
    margin: 0;
    margin-top: 25px;
}

h3 {
    font-size: 1.2em;
    margin: 0;
    margin-top: 10px;
}

/* PORTFOLIO SECTION */

#work {
    margin-top: -10%;
    padding-top: 5%;
    margin-bottom: 20%;
}

.port-img-container {
    position: relative;
    width: 29%;
    display: inline-block;
    margin: 20px;
  }
  
.image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    margin: 0 10%;
    transform: translate(0, -50%);
}

.port-img-container:hover .image {
    opacity: 0.3;
}

.port-img-container:hover .middle {
    opacity: 1;
}

.port-img-button {
    background-color: #34403C;
    color: #c8c8c8;
    font-size: 16px;
    padding: 16px;
    text-align: center;
}

.port-img-button a {
    text-decoration: underline;
    color: #c8c8c8;
}

.port-img-button p {
    margin-bottom: 20px;
}

.middle-disabled {
    pointer-events: none;
}


/* EXPERIENCE SECTION */

#experience {
    padding-top: 5%;
    margin-bottom: 35vh;
}

#expcontent {
    display: flex;
    width: 100%;
}

.expdiv1 {
    flex: 40%;
    margin: 0px 15px;
    overflow: hidden;
}

.expdiv2 {
    flex: 60%;
    margin: 0px 15px;
}

/* Style the buttons inside the tab */
.expdiv1 button {
    background-color: inherit;
    border: solid 3px #34403C;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    margin-bottom: 12px;
    width: 100%;
}

/* Change background color of buttons on hover */
.expdiv1 button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.expdiv1 button.active {
    background-color: #34403C;
    color: #c8c8c8;
}

/* Style the tab content */
.tabcontent {
    display: none;
}

.tabcontent p{
    margin-bottom: 20px;
}

.tabcontent li{
    list-style-position: inside;
}

.onstart {
    display: block;
}


/* ABOUT SECTION */

#about {
    padding-top: 5%;
    margin-bottom: 35vh;
}

#aboutcontent {
    display: flex;
    width: 100%;
}

.aboutdiv1 {
    flex: 40%;
    margin: 0px 15px;
}

.aboutdiv2 {
    flex: 60%;
    margin: 0px 15px;
}

#aboutimg {
    width: 100%;
    filter: drop-shadow(-20px 20px #34403C);
    border: 4px solid #34403C;
}

.aboutdiv2 p {
    margin-bottom: 20px;
}

/* CONTACT SECTION */
#contact {
    width: 100%;
}

#contact p {
    text-align: center;
    margin: 0 32%;
}

#contact {
    margin-bottom: 20vh;
}

#contactbutton {
    text-align: center;
    display: block;
    color: black;
    text-decoration: none;
    font-weight: bold;
    background-color: #c8c8c8;
    border: solid #34403C;
    width: 10%;
    padding: 20px 0;
    margin: 8% auto;
    filter: drop-shadow(10px 10px #34403C);
    transition: 0.3s;
}

#contactbutton:hover {
    background-color: #ddd;
}

#contact-icons {
    display: none;
    align-items: center;
    justify-content: center;
    margin-top: 10%;
}

#contact-icons a {
    padding: 0 4%;
}

#contact-icons img {
    width: 30px;
}

/* SIDE LINES */

#side-socials {
    width: 7.5%;
    text-align: center;
    position: fixed;
    bottom: 0;
}

.soc-li {
    margin-bottom: 20%;
}

.soc-img {
    width: 25px;
}

#vertical-line {
    border-right: solid #000;
    width: 50%;
    height: 100px;
}

#email {
    width: 7.5%;
    text-align: center;
    position: fixed;
    bottom: 0;
    right: 0;
}

#email-link {
    text-decoration: none;
    color: #000;
}

#email-span {
    writing-mode: vertical-lr;
    text-decoration: none;
    color: #000;
    margin-bottom: 20%;
}

/* --------- RESPONSIVENESS ---------- */

@media screen and (max-width: 960px) { /* TABLET */
    #side-socials {
        display: none;
    }

    #email {
        display: none;
    }

    .textbar {
        padding: 0 10px;
    }

    #maincontent {
        width: 100%;
    }

    #landing {
        padding: 0;
        margin: 15% 5%;
    }

    h2 {
        font-size: 1.4em;
    }

    h3 {
        font-size: 1em;
    }
    
    #work-grid {
        display: grid;
    }

    .port-img-container {
        width: 49%;
        float: none;
        margin: auto;
    }

    #expcontent {
        margin: 0 5%;
        width: auto;
    }

    .expdiv1 {
        margin: 0;
    }

    #about {
        margin-left: 5%;
        margin-right: 5%;
        margin-top: -35%;
    }

    #contact {
        padding-top: 20%;
        margin-top: -45%;
        margin-bottom: 15%;
    }

    #contact p {
        margin: 0 20%;
    }

    #contact-icons {
        display: flex;
    }
}

@media screen and (max-width: 550px) { /* MOBILE */

}

@media screen and (max-width: 485px) { /* SUPER SMALL */

}

@media screen and (min-width: 2560px) { /* 4K RES  */
    #navbar {
        height: 80px;
    }

    #logo {
        height: 50px;
    }

    nav {
        padding-right: 20px;
    }

    .textbar {
        font-size: 2.2em;
        padding: 0 20px;
    }

    #landing {
        padding: 0 28px;
    }

    #type-effect {
        padding-bottom: 6%;
    }

    #cursortext {
        font-size: 7.2em;
    }

    h2 {
        font-size: 3.4em;
    }

    h3 {
        font-size: 2em;
    }

    p {
        font-size: 1.6em;
    }

    a {
        font-size: 1.6em;
    }

    .port-img-container {
        width: 30%;
        margin: 28px;
    }

    button {
        font-size: 1.6em;
    }

    .bullet-list {
        font-size: 1.6em;
    }

    .expdiv1 button {
        padding: 22px 24px;
    }

    #experience {
        min-height: 60vh;
    }

    .expdiv1 {
        margin: 0px 30px;
    }
    
    .expdiv2 {
        margin: 0px 30px;
    }

    .tabcontent p{
        margin-bottom: 30px;
    }

    #about {
        margin-top: -12%;
    }

    .aboutdiv1 {
        margin: 0px 30px;
    }
    
    .aboutdiv2 {
        margin: 0px 30px;
    }

    .aboutdiv2 p {
        margin-bottom: 30px;
    }

    #contact p {
        margin: 0 24%;
    }

    .soc-img {
        width: 40px;
    }

    .soc-li {
        margin-bottom: 30%;
    }

    #email-span {
        margin-bottom: 30%;
    }
}