/*MOBILE VIEW*/

body {
  max-width: 380px;
  margin-bottom: 70px;
  font-family: 'Life Savers';
}

#nav {
  font-size: 18px;
  text-align: center;
  font-family: 'Life Savers';
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #4a5571;
  color: #99e265;
  z-index: 2;
  padding: 10px 20px 10px 20px;
  margin: 0px 0px 0px -20px;
}

.navs {
  color: #99e265;
}

.navs:hover {
  color: white;
  text-decoration: underline;
}

.header {
  display: flex;
  flex-wrap: wrap;
}

#logo {
  margin-top: 30px;
  height: 100px;
  width: 100px;
}

#logo-back {
  height: 100px;
  width: 100px;
}


REINSERT FLIPPABLE LOGO CSS

#nts {
  margin-top: 400px;
}

#name {
  font-size: 65px;
  font-family: 'Cookie';
  height: 75px;
  color: #4a5571;
  text-align: center;
  margin-top: 270px;
  padding-left: 25px;
}

#title {
  text-align: center;
  font-family: 'Life Savers';
  font-size: 25px;
  color: #4a5571;
  padding: 10px 0px 15px 0px;
  margin: -20px;
}

a {
  text-decoration: none;
  color: #4a5571;
}

.links {
  display: flex;
  justify-content: space-between;
  padding: 20px 30px 0px 20px;
}

.links img {
  filter: hue-rotate(250deg);
}

.links img:hover {
  filter: hue-rotate(0deg);
  border-style: solid;
  border-color: filter: hue-rotate(250deg);
  border-radius: 50%;
  border-width:1px;
}

#aboutMe {
  text-align: justify;
  font-size: 25px;
  padding: -10px 20px 0px 20px;
  font-family: "Life Savers";
}

#portfolio {
  font-family: "Life Savers";
  font-size: 25px;
}

.ports {
  border-style: solid;
  border-color: #4a5571;
  border-width: 2px;
  height: 376px;
  width: 376px;
  margin: 15px 0px 15px 0px;
}

.ports:hover {
  border-color: #99e265;
}

#resume {
  font-family: "Life Savers";
  text-align: justify;
  font-size: 25px;
}

.resume {
  border-color: #4a5571;
  border-style: solid;
  border-width: 2px;
  height: 492px;
}

.resume:hover {
  border-color: #99e265;
}

#resumee {
  max-width: 376px;
}

#contact {
  color: #4a5571;
  font-size: 25px;
  text-align: center;
  font-family: "Life Savers";
  text-align: center;
  margin-top: 35px;
  line-height: 1.4
}

.phoneLink:hover {
  color: #99e265;
  text-decoration: underline;
}

.emailLink {
  font-family: "Life Savers";
  font-size: 25px;
}

.emailLink:hover {
  color: #99e265;
  text-decoration: underline;
}

footer {
  background-color: #4a5571;
  color: #99e265;
  padding: 10px 20px 10px 20px;
  margin: 40px -20px 0px -20px;
  font-family: "Life Savers";
  font-size: 15px;
  position: fixed;
  width: 100%;
  bottom: 0;
  text-align: center;
}


/*Flippable logo*/

/* entire container, keeps perspective */

.flip-container {
  perspective: 1000px;
}


/* flip the pane when hovered */

.flip-container:hover .flipper, .flip-container.hover .flipper {
  transform: rotateY(180deg);
}

.flip-container, .front, .back {
  width: 320px;
  height: 140px;
}


/* flip speed goes here */

.flipper {
  transition: 0.2s;
  transform-style: preserve-3d;
  position: relative;
}


/* hide back of pane during swap */

.front, .back {
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}


/* front pane, placed above back */

.front {
  z-index: 4;
  /* for firefox 31 */
  transform: rotateY(0deg);
}


/* back, initially hidden pane */

.back {
  z-index: 3;
  transform: rotateY(180deg);
}

/*PORTFOLIO STYLES*/

.hovereffect {
  width: 100%;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
}

.hovereffect .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.hovereffect:hover .overlay {
  background-color: rgba(170,170,170,0.4);
}

.hovereffect h2, .hovereffect img {
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.hovereffect img {
  display: block;
  position: relative;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.hovereffect:hover img {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.hovereffect h2 {
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  position: relative;
  font-size: 17px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.6);
}

.hovereffect a.info {
  display: inline-block;
  text-decoration: none;
  padding: 7px 14px;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid #fff;
  margin: 50px 0 0 0;
  background-color: transparent;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: scale(1.5);
  -ms-transform: scale(1.5);
  transform: scale(1.5);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  font-weight: normal;
  height: 11%;
  width: 11%;
  position: absolute;
  top:-12%;
  left: 1%;
  padding: 70px;
}

.hovereffect:hover a.info {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  background-color: rgba(0,0,0,0.4);
}

.hovereffect a.info2 {
  display: inline-block;
  text-decoration: none;
  padding: 7px 14px;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid #fff;
  margin: 50px 0 0 0;
  background-color: transparent;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: scale(1.5);
  -ms-transform: scale(1.5);
  transform: scale(1.5);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  font-weight: normal;
  height: 11%;
  width: 11%;
  position: absolute;
  bottom:1%;
  right: 1%;
  padding: 70px;
}

.hovereffect:hover a.info2 {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  background-color: rgba(0,0,0,0.4);
}


/*DESKTOP VIEW*/
/*vvvvvvvvvvvv*/


@media screen and (min-width: 900px) {
body {
  width:100%;
  margin-bottom:100px;
  display:flex;
  font-family: 'Life Savers';
}

#nav {
  font-size: 18px;
  text-align: center;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #4a5571;
  color: #99e265;
  z-index: 2;
  padding: 10px 20px 10px 20px;
  margin: 0px 0px 0px -20px;
}

.navs {
  color: #99e265;
}

.navs:hover {
  color: white;
  text-decoration: underline;
}

#logo {
  margin-top: 50px;
  height: 100px;
  width: 100px;
}

#logo-back {
  height: 100px;
  width: 100px;
}

#nts {
  max-width:380px;
}

#name {
  font-size: 65px;
  font-family: 'Cookie';
  height: 75px;
  color: #4a5571;
  text-align: center;
  margin-top: 300px;
  padding-left: 25px;
}

#title {
  text-align: center;
  font-family: 'Life Savers';
  font-size: 25px;
  color: #4a5571;
  padding: 10px 0px 15px 0px;
  margin: -20px;
}

a {
  text-decoration: none;
  color: #4a5571;
}

.links {
  display: flex;
  justify-content: space-between;
  padding: 20px 30px 0px 20px;
}

.links img {
  filter: hue-rotate(250deg);
}

.links img:hover {
  filter: hue-rotate(0deg);
  border-style: solid;
  border-color: filter: hue-rotate(250deg);
  border-radius: 50%;
  border-width: .5px;
}

#about {
  max-width: 800px;
  width:100%;
  text-align: justify;
  margin-left: 425px;
  margin-top:-555px;
  font-size:25px;
}

#hello {
  font-size:30px;
}

.portfolio {
  display:flex;
}

.ports {
  border-style: solid;
  border-color: #4a5571;
  border-width: 2px;
  height: 376px;
  width: 376px;
  margin: 15px 5px 30px 25px;
}

.ports:hover {
  border-color: #99e265;
}

.resume {
  border-color: #4a5571;
  border-style: solid;
  border-width: 2px;
  margin-top:-820px;
  margin-left:845px;
}

.resume:hover {
  border-color: #99e265;
}

#contact {
  text-align: center;
  font-size:30px;
  line-height: 1.2;
  margin-top: 55px;
  margin-left: 840px;
}

.emailLink {
  font-size:30px;
}

.emailLink:hover {
  color: #99e265;
  text-decoration: underline;
}

footer {
  background-color: #4a5571;
  color: #99e265;
  padding: 10px 20px 10px 20px;
  margin: 40px -20px 0px -20px;
  font-size: 15px;
  position: fixed;
  width: 100%;
  bottom: 0;
  text-align: center;
}
}
