html,
body {
  height: 100%;
  overflow-x: hidden;
  background-color: rgb(20, 20, 20);
  transition: background-image 5.0s ease-in-out;
}

h1, h2, h3 {
  font-family: "Geo", sans-serif;
  font-weight: 600;
  font-style: italic;
  color: white;
  margin: 0 auto;
  text-shadow: 0 0 6px orange;
  line-height: 65px;
}

p{
  font-family: "Montserrat", sans-serif;
  color: white;
}

h1{
  font-size: 8rem;
}

h2{
  font-size: 4rem;
}

h3{
  font-size: 2rem;
}

a {
  color: #0a58ca;
  text-decoration: none;
  transition: color .5s, text-shadow .5s;
}
a:hover{
  color:cyan;
  text-shadow:0px 0px 4px mediumaquamarine;
}


.btn{
  background:black;
  color:white;
  font-weight:bold;
  text-transform:uppercase;
  transition: color .5s, text-shadow .5s;
}
.btn:hover{
  color:cyan;
  text-shadow:0px 0px 4px mediumaquamarine;
}

#backgroundA{
  opacity: 1;
  background-image: radial-gradient(red, blue);
  width: 100%;
  height: 100%;
  position: absolute;
  transition: opacity 9s;
}

#backgroundB{
  opacity: 0;
  background-image: radial-gradient(blue, red);
  width: 100%;
  height: 100%;
  position: absolute;
  transition: opacity 9s;
}

.background-cover{
  background-color: black;
  opacity: 0.5;
  width: 100%;
  height: 100%;
  position: absolute;
}

.hero{
  margin: 4rem 8rem;
  position: absolute;
  z-index: 1;
}

.hero h2{
  margin-left: 40px;
}

.overview-container{
  padding-top: 56.25%;
  position: absolute;
  padding-left: 100%;
  
}

.overview-bg{
  width: 75%;
  height: 75%;
  background-color: white;
  clip-path: ellipse(50% 50% at center);
  position: absolute;
  left: 12%;
  top: 12%;
}

.overview{
  clip-path: ellipse(50% 50% at center);
  border: 5px solid orange;
  border-radius: 50% 50%;
  background-color: rgb(20, 20, 20);
  position: absolute;
  left: 3%;
  width: 97%;
  height: 98%;
}

.overview-inner{
  background-color: rgb(41, 41, 41);
  border-radius: 50% 50%;
  height: 100%;
  width: 70%;
  position: absolute;
  left: 30%;
  top: 0%;
}

.class{
  padding-left: 15%;
}

.stats, .portfolio, .contact{
  position: absolute;
  top: 10%;
  left: 10%;
  width: 75%;
}

  .page-title{
    display:none;
  }

.stats{
display:block;
}

.stats p{
  margin: 0 auto;
  font-size:18px;
}

.stats i{
  color:cyan;
}
.stats i{
  font-size:1.5em;
  letter-spacing:10px;
}

.stats-segment{
  margin: 40px auto;
}

.skillbar {
  background-color: black;
  border-radius: 13px;
  padding: 3px;
  margin: 10px 0 17px 25px;
}

.skillbar-inner {
  background-color: orange;
  width: 0%;
  height: 20px;
  border-radius: 10px;
  transition: width 1s ease-out;
}

.skill-grid{
  display: grid;
  grid-template-columns: 10px auto 10px auto;
}

.skill-column-icon i{
  margin: 10px auto;
}

.skill-column-bar{
  margin: 0 20px;
}

.tooltip{
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  text-align: center;
  border: 1px solid white;
  background-color:rgb(41, 41, 41);
  color: white;
  padding: 3px;
  z-index: 5;
  position: absolute;
  opacity: 0;
  transition: opacity .2s;
}

.logo{
  z-index:4;
}

.logo:hover .tooltip{
  opacity: 1;
}

.portfolio{
  display:none;
}

.portfolio-cards{
  display: grid;
  grid-template-columns: auto auto;
}

.portfolio-column{
  margin: 10px auto;
}

.site_card{
  background-color:rgb(255, 239, 215);
  background-size:cover;
  background-repeat:no-repeat;
  border-radius: 50%;
  width: 300px;
  height:200px;
  margin: 25px auto;
  box-shadow: 3px 3px 5px black;
}

.overlay{
  background-color:rgba(0, 0, 0, 0.63);
  border-radius: 50%;
  width:100%;
  height:100%;
  text-align:center;
  opacity:0;
  transition: opacity .25s;
}

.overlay_content{
  width:100%;
  height:100%;
  padding-top:100px;
  transition:padding .5s;
}

.overlay_content:hover{
  padding-top:20px;
}

.overlay p{
  color:white;
  font-weight:400;
}

.overlay h2{
  font-weight:500;
  color:white;
}

.overlay:hover{
  opacity:1;
}

.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%;
  min-height:500px; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4);
}

.modal-grid{
  display: grid;
  grid-template-columns: auto auto;
}

.modal-content {
  background-color: #2f3146;
  margin: 15% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 65%;
  max-width: 1000px; 
  min-height: 550px;
}

.modal_details{
  width:70%;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.preview{
  position: relative;
  right: 20px;
  top: 25px;
  height:80%;
  max-width:375px;
}
iframe{
  height:500px;
  width:100%;
  border:3px solid black;
  border-radius:10px;
}

.contact{
  display:none;
}

.contact-info{
  text-align: center;
  margin: 2rem auto 0;
}

.contact i{
  font-size:2em;
  margin: 0 5px;
}

.contact-info h2{
  text-shadow: none;
  padding: 3% 0;
}

.title{
  line-height: 60px;
  padding-left: 15%;
  padding-top: 38%;
  position: absolute;
  z-index: 1;
}

.title h2{
  margin-left: 10%;
}

.nav{
  width:100%;
  margin: 0 auto;
  position: relative;
  top: 10%;
  z-index: 3;
  text-align:center;
}

.nav a, .nav p{
  font-family: "Geo", sans-serif;
  font-weight: 600;
  font-style: italic;
  font-size: 1rem;
  display: inline;
  margin: 0 10px;
  cursor: pointer;
  transition: text-shadow .5s, font-size .5s ease-out;
}

.nav .active{
  font-size:2rem;
  text-shadow: 1px 1px 5px orange;
}

.nav :hover{
  text-shadow: 1px 1px 5px orange;
}

.arrow {
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}
.left{
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.right{
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.model{
  width: 60%;
  height: 90%;
  padding-top: 15%;
  position: absolute;
  z-index: -1;
}

model-viewer{
    height: inherit;
    width: inherit;
}

.footer_container{
  background-color: rgb(20, 20, 20);
  font-size:12px;
  position: fixed;
  bottom: 0;
  width: 100%;
  left: 0;
  padding: 15px 15px 5px;
  transition: padding .5s, font-size .5s;
}

.footer_container:hover{
  padding: 25px 25px 25px;
  font-size:16px;
}

footer p, footer a, footer span{
  font-family: 'Montserrat', sans-serif;
}
footer span, footer i{
   color:lightslategray;
   padding:0px 10px;
   transition: color .5s, text-shadow .5s;
}

footer i:hover{
  color:cyan;
}

footer .socials{
  position:fixed;
  right:10px;

}

@media (max-width:2400px){
  h2{
    font-size: 3rem;
  }

  h3{
    font-size: 1.25rem;
  }

  .stats p{
    font-size: 14px;
  }

  .stats-segment {
    margin: 20px auto;
  }

  .skillbar{
    padding: 1px;
    margin: 12px 0 12px 25px;
  }
  
  .skill-column-icon i {
  margin: 6px auto;
}

  .site_card{
    width: 240px;
    height: 170px;
  }

  .overlay h2{
    line-height: 35px;
  }
}  

@media (max-width:2000px){
  h3{
    line-height: 12px;
  }

  .overview-bg{
    top:17%;
  }

  .skillbar > div {
    height: 15px;
  }

  .skill-column-icon i {
  margin: 6px auto;
  }
  .stats i {
  font-size: 1.05em;
  }
  .stats p{
    max-width: 500px;
  }
  .skill-column-bar {
  margin: 0 20px 0 5px;
  }

   .skillbar > div {
    height: 13px;
  }

  .portfolio, .stats, .contact{
    top: 15%;
  }

  .site_card{
    margin: 10px auto;
    width: 190px;
    height: 130px;
  }

  .overlay p{
    font-size: 14px;
  }
  
  .overlay h2{
    font-size: 2rem;
  }
  
  .tooltip{
    font-size: 12px;
  }
}

@media (max-width:1600px){
  h1{
    font-size: 6rem;
  }
  h2{
    font-size: 2rem;
    line-height: 30px;;
  }
  .overview-bg {
    top: 25%;
  }
  .portfolio, .stats, .contact{
    top: 15%;
  }
  .site_card{
    width: 150px;
    height: 100px;
  }
  .overlay p {
    display: none;
  }

  .overlay h2{
    font-size:1.5rem;
  }

  .stats p{
    font-size: 12px;
  }
}

@media (max-width:1400px){
  .overview-container{
    position: relative;
  }
  .overview{
    clip-path: ellipse(37% 75% at 50% 50%);
  }
  .model{
    left: 30%;
    top: -25%;
    padding-top:0;
  }
    .overview-bg{
    top:15%;
    width:100%;
    height: 100%;
    left:0;
    clip-path: ellipse(50% 75% at 50% 50%);
    background-color: transparent;
  }
    .overview-container{
    padding-top: 0%;
    height:100%;
  }
  .overview{
    left: 0%;
    clip-path: ellipse(50% 75% at 50% 50%);
  }
  .overview-inner{
    left:0%;
    top:20%;
    width:100%;
  }
  h3{
    font-size:1rem;
  }
  .hero{
    margin: 3rem 4rem;
  }
  .model{
    left: 0%;
    height:100%;
    width:100%;
  }
  .title{
    padding-top:0%;
    padding-left: 10%;
    bottom: 50%;
  }
  .modal_details{
    width: 100%;
  }
  .preview{
    display:none;
  }
  .footer_container{
    padding: 15px 15px 25px;
  }
}

@media (max-width:1000px){
  h1{
    font-size: 3rem;
  }
  h2{
    font-size: 1.5rem;
  }
  .page-title{
    display:none;
  }
  .hero{
    margin: 5px 5px;
    position: relative;
  }

  .stats{
    width:85%;
  }
  .class{
    padding-left:5%;
  }

  .stats-segment .bio{
    height: 50px;
    white-space: nowrap;
    overflow: hidden;
  }
  .stats-segment .bio p{
    display:inline-block;
    -moz-animation: scroll-left 30s linear infinite;
    -webkit-animation: scroll-left 30s linear infinite;
     animation: scroll-left 30s linear infinite;
  }

  .stats p{
    max-width: none;
  }

  @-moz-keyframes scroll-left {
                0% {
                    -moz-transform: translateX(25%);
                }
                100% {
                    -moz-transform: translateX(-100%);
                }
            }
            
            @-webkit-keyframes scroll-left {
                0% {
                    -webkit-transform: translateX(25%);
                }
                100% {
                    -webkit-transform: translateX(-100%);
                }
            }
            
            @keyframes scroll-left {
                0% {
                    -moz-transform: translateX(25%);
                    -webkit-transform: translateX(25%);
                    transform: translateX(25%);
                }
                100% {
                    -moz-transform: translateX(-100%);
                    -webkit-transform: translateX(-100%);
                    transform: translateX(-100%);
                }
            }

  footer .socials{
    display:none;
  }            
}