/* 
Name : Chadd Liverpool 
Date: Nov 16, 2021
Description: styling portfolio page using css
*/

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 2px grey; 
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #fff; 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #fff; 
}

html, body {
  padding: 0;
  margin: 0;
  font-family: superclarendon,serif;
  font-weight: 400;
  font-style: normal;
  background-color: #000;
  scroll-behavior: smooth;
}

.landing-wrapper {
  position: relative;
  overflow: hidden; 
  height: 100vh; 
}

.landing {
  /* Background image */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #000;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%; 
  width: 100%; 
}

/* bg video */
#bgvid{
  width: 100%;
}

#slider{
width: 20%;
  position: absolute;
padding-top: 75px;
top:7%;
right: 0%;
}

#bgtxt{
  padding-top: 75px;
  padding-left: 20px;
  position: absolute;
  top: 10%;
  width: 75%;
}

section {
  margin: 0 auto;
  color: #222;
  background-color: #304749;
  padding: 20px;
}

#portfolio{
  background-color: #555555;
  align-content: center;
  height: 600px;
  color: #fff;
}

#skills{
  background-color: #6a6c58;
  color: #fff;
}

#about{
  color: white;
}

p{
  font-size: 14pt;
  padding-top: 10px;
  line-height: 1.5;
}

#aboutP{
 padding-bottom: 20px;
}


#download {
  margin-left: 35%;
  width: 220px;
  height: 50px;
  border: none;
  outline: none;
  color: #fff;
  background: gray;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
}

#download:before {
  content: '';
  background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
  position: absolute;
  top: -2px;
  left:-2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity .3s ease-in-out;
  border-radius: 10px;
}

#download:active {
  color: gray
}

#download:active:after {
  background: transparent;
}

#download:hover:before {
  opacity: 1;
}

#download:after {
  z-index: -1;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: gray;
  left: 0;
  top: 0;
  border-radius: 10px;
}

@keyframes glowing {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}

.chadd{
  height: 250px;
 /* margin-left: 1200px; */

}

#skillList{
  background-color: blanchedalmond;
  float: none;
}

/* footer */
footer{
  text-align: center;
  background-color: #555555;
}

dt{
  font-size: 16pt;
  color:navy;
  padding-top: 30px;
}

dd {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  padding-top: 10px;
}

/* nav */
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #304749;
  position: -webkit-sticky;
	position: sticky;
	top: 0;
}

li {
  float: right;
}

li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li a:hover:not(.active) {
  background-color: #929676;
}

.active {
  background-color: #fff;
}

/* contact */
#contact{
  text-align: center;
  /* background-color: #555555; */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  padding: 30px 90px 90px 90px;
  border: 6px solid rgba(0, 0, 0, 0.3);
  box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.3);
  border-radius: 50px;
  position: relative;
}

#contacttitle{
  margin-top: 50px;
  color: #fff;
  font-size: 30px;
  text-transform: uppercase;
}

input:focus{
  background-color: #e7c49c;
  
}

textarea:focus{
  background-color: #e7c49c;
}

#btn{
  background-color:#929676;
  width:120px;
  height: 35px;
  margin-top: 5%;
}

#btn:hover{
  border: 2px solid #fff;
  color: #fff;
  transition: all 0.4s;
}

#msg{
  padding-top: 25px;
  padding-bottom: 25px;
}
#sub{
  padding-top: 25px;
  padding-bottom: 25px;
}
#name{
  padding-top: 25px;
  padding-bottom: 25px;
}




@media screen and (max-width :768px) {

  header{
    width: 98%;
    max-width: 98%;
}
.landing{
    
    position: absolute;
    width: 90%;
}
h1{
    font-size: 14px;
    letter-spacing: 2px;
}
section{
    width: 98%;
    max-width: 98%;
}
section{
    display: flex;
    flex-direction: column;
}
article{
    width: 98%;
    max-width: 98%;
}
h3{
    font-size: 15px;
    letter-spacing: 2px;
}
}

li {
  text-align: center;
}



/* portfolio */


/* styling flexbox containers */
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.item {
  flex: 0 32%;
  height: 100px;
  margin-bottom: 150px; 
}

.porth{
  font-size: 15pt;
}

/* styling content */
.portDisplay {
  position: relative;
  margin: 10px 20px;
  min-width: 230px;
  max-width: 295px;
  min-height: 220px;
  width: 100%;
  color: #ffffff;
  text-align: right;
  line-height: 1.4em;
  background-color: #1a1a1a;
  font-size: 16px;
}
.portDisplay * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

/* stlying images in containers */
.portDisplay img {
  position: absolute;
  right: 0%;
  top: 50%;
  opacity: 1;
  width: 100%;
  height: 220px;
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
}

/* stlying text */
.portDisplay figcaption {
  position: absolute;
  width: 50%;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  padding: 20px 0 20px 20px;
}
.portDisplay h2,
.portDisplay p {
  margin: 0;
  width: 100%;
  -webkit-transform: translateX(20px);
  transform: translateX(20px);
  opacity: 0;
}
.portDisplay p {
  font-size: 0.8em;
}
.portDisplay a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

/* moving the image over on hover */
.portDisplay:hover img,
.portDisplay.hover img {
  width: 55%;
  right: -10%;
}

/* showing the text on hover */
.portDisplay:hover figcaption h2,
.portDisplay.hover figcaption h2,
.portDisplay:hover figcaption p,
.portDisplay.hover figcaption p {
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
  opacity: 1;
}


/* stlying the launch pages */

.launchbody{
  max-width: 100%;
  overflow-x: hidden;
}

#launchBtn{
  width: 120px;
  height: 60px;
  background-color: green;
  position: absolute;
  top: 15%;
  left: 60%;

}

#returnBtn:hover{
background-color: red;
}

#launchBtn:hover{
  background-color: greenyellow;
  }

#launchLink, #returnLink{
  color: white;
  font-size: 18px;
}


#returnBtn{
  width: 120px;
  height: 60px;
  position: absolute;
  top: 15%;
  left: 40%;
  background-color: #910731;
}

#imgDisplay{
  width: 460px;
  height: 360px;
  position: absolute;
  top: 5%;
  left: 60%;
  float: right;
}

#launchContainer{
  width: 1200px;
  height: 550px;
  position: absolute;
  top: 25%;
  left: 8%;
  background-color: #910731;

}

#textbox{
  width: 500px;
  height: 500px;
  margin-left: 50px;
  margin-top: 35px;
  text-align: center;
  font-size: 26px;
}

#launchBg{
  position: absolute;
  top: 50%;
  height: 500px;
  width: 1950px;
}

/* other sec */
#otherSec{
  height: 450px;
  background-color:#18333c;
  color: #fff;
}

#dbtn{
  width: 150px;
  height: 75px;
  background-color: palevioletred;
  margin-left: 30%;
  margin-right: 50px;
  margin-top: 10%;
}

#dbtn:hover {
  background-image: linear-gradient(to right, orange, yellow, green, blue, indigo, violet, red);
  animation: slide 2s linear infinite;

}
@keyframes slide {
  to {
      background-position: 20vw;
  }
}

.follow {
  margin-top: 40px;
}

.follow a {
  color: black;
  padding: 8px 16px;
  text-decoration: none;
}

#btntxt{
  font-size: 16pt;
  color: white;
}


#photobtn{
  width: 150px;
  height: 75px;
  background-color: plum;
  margin-right: 4%;

}

#graphbtn{
  width: 150px;
  height: 75px;
  background-color: plum;
}

#sports{
  width: 150px;
  height: 75px;
  background-color: plum;
  margin-left: 4%;
  padding-bottom: 5px;
}


#graphbtn:hover {
  background-image: linear-gradient(to right, orange, yellow, green, blue, indigo, violet, red);
  animation: slide 2s linear infinite;

}
@keyframes slide {
  to {
      background-position: 20vw;
  }
}

#photobtn:hover {
  background-image: linear-gradient(to right, orange, yellow, green, blue, indigo, violet, red);
  animation: slide 2s linear infinite;

}
@keyframes slide {
  to {
      background-position: 20vw;
  }
}

#sports:hover {
  background-image: linear-gradient(to right, orange, yellow, green, blue, indigo, violet, red);
  animation: slide 2s linear infinite;

}
@keyframes slide {
  to {
      background-position: 20vw;
  }
}

.follow {
  margin-top: 40px;
}

.follow a {
  color: black;
  padding: 8px 16px;
  text-decoration: none;
}

#phototxt{
  font-size: 16pt;
  color: white;
}

#graphtxt{
  font-size: 16pt;
  color: white;
}

/* 3D page code */

#threeinfo{
background-color: #dc813e;
}

.alert {
  padding: 20px;
  background-color: #910731;
  color: white;
  margin-bottom: 15px;
}

model-viewer{
  display:flex;
  width: 300px;
  height: 300px;
  float: left;
  margin-top: 100px;
}
/*  */

*{margin: 0; padding: 0;}
.container
{
	width: 100%;
	height: 100%;
}
.trans
{
	transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	-webkit-transition: all 1s ease;
}
.top
{
	display: flex;
	width: 80vw;
	height: 80vh;
	margin-top: 10vh;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10vh;
}
.top ul
{
	list-style: none;
	width: 100%;
	height: 100%;
	z-index: 1;
	box-sizing: border-box;
}
.top ul li
{
	position: relative;
	float: left;
	width: 25%;
	height: 25%;
	overflow: hidden;
}

.top ul li::before
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	content: '';
	color: white;
	opacity: 0.4;
	text-align: center;
	box-sizing: border-box;
	pointer-events: none;
	transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
}
.top ul li:hover::before
{
	opacity: 0;
	background-color: rgba(0,0,0,0.90);
}
.top ul li img
{
	width: 100%;
	height: auto;
	overflow: hidden;
}
.lightbox
{
	position: fixed;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.75);
	z-index: 999;
	opacity: 0;
	pointer-events: none;
}
.lightbox img
{
	max-width: 90%;
	max-height: 80%;
	position: relative;
	top: -100%;
	/* Transition */
	transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	-webkit-transition: all 1s ease;
}
.lightbox:target
{
	outline: none;
	top: 0;
	opacity: 1;
	pointer-events: auto;
	transition: all 1.2s ease;
	-moz-transition: all 1.2s ease;
	-ms-transition: all 1.2s ease;
	-o-transition: all 1.2s ease;
	-webkit-transition: all 1.2s ease;
}
.lightbox:target img
{
	top: 0;
	top: 50%;
	transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
}




