*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Lato', sans-serif; */
    font-family: 'Poppins', sans-serif;
} 

:root{
    --main-color: #0000ff;
    --primary-color: #edf2fc;
    --secondary-color: #212121;
    --nav-color: #edf2fc;
    --nav-text-color: #0000ff;
}

.dark-mode{
    --main-color: #00ffff;
    --primary-color: #212121;
    --secondary-color: #edf2fc;
    --nav-color: #00ffff;
    --nav-text-color: #00ffff;
}

body{
    height: 100vh;
/*    overflow: hidden; */
    overflow: auto;
    background: var(--primary-color);
    transition: background 1s;
}

/* -----navbar----- */
nav{
    width: 100%;
    height: 15vh;
    padding: 20px 100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    display: flex;
    align-items: center;
}

#logo-img{
    height: 40px;
    cursor: pointer;
}

#logo-text{
    font-size: 20px;
    text-decoration: none;
    margin-left: 20px;
    color: var(--nav-text-color);
    transition: color 1s;
}

ul{
    flex: 1;
    text-align: right;
    list-style: none;
}

ul li{
    display: inline-block;
    margin: 10px 20px;    
}

ul li a{
    font-size: 15px;
    text-decoration: none;
    color: var(--nav-text-color);
    transition: color 1s;
}

ul li a:hover{
    color: #c0b4cf;
}

#Mode{
    height: 30px;
    width: 80px;
    margin: 10px 20px;
    background: var(--secondary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    position: relative;
}

#switch{
    height: 26px;
    width: 26px;
    margin: 2px 2px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: transform .5s;
}

.switch-active{
    transform: translateX(50px);
}

#inner-text{
    font-size: 15px;
    right: 10px;
    color: var(--primary-color);
    transition: transform .5s;
    position: absolute;
}

.Inner-text-active{
    transform: translateX(-26px);
}

/* ---main--- */
.main{
    height: 100%;
    display: flex;
    justify-content: space-around;
}

.left-column{
    width: 30%;
    height: 100%;
    float: left;
    position: relative;
}

.right-column{
    width: 50%;
    float: right;
    position: relative;
}

/* ---img box--- */
.img-box{
    width: 20%;
    height: 40%;
    top: 130px;
    left: 100px;
    position: absolute;
}

.img-box img{
    bottom: 0;
    left: 0;
    transition: bottom 1s, left 1s;
    position: absolute;
}

.img-box .img-back{
    height: 80%;
    width: auto;
    
}

.img-box .img-main{
    height: 100%;
    width: auto;
    transform: translateX(-18.5%);
}

.img-box:hover .img-back{
    bottom: 30px;
}

.img-box:hover .img-main{
    left: 35%;
}

/* ---content--- */
.content{
    position: absolute;
    top: 170px;
    left: 50px;
    color: var(--secondary-color);
    transition: color 1s;
}

span{
    color: var(--main-color);
}

button{
    color: white;
    text-decoration: none;
    background: var(--main-color);
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    margin-top: 20px;
    display: inline-block;
    transition: background 1s, color 1s;
}

button:hover{
    background: var(--secondary-color);
    color: var(--primary-color);
}

.social-link{
    display: block;
    margin-top: 20px;
    font-size: 30px;
}

.social-link a{
    margin-right: 10px;
    color: var(--main-color);
    transition: color 1s;
}

.social-link a:hover{
    color: var(--secondary-color);
}

.text-center {
    color: var(--secondary-color);
    transition: color 1s;
    text-align: center !important; 
}

.two-column-list {
  -moz-column-count: 2;
  -moz-column-gap: 10px;
  -webkit-column-count: 2;
  -webkit-column-gap: 10px;
  column-count: 2;
  column-gap: 10px;
}

 .footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  color: var(--secondary-color);
  transition: color 1s;
  text-align: center;
}  

/*.container {
  border: 3px solid blue;
  padding: 20px 40px 40px;
  max-width: 640px;
  display: flex;
  &__image {
    margin: 20px 30px 0 0;
    width: 200px;
    object-fit: contain;
    align-self: flex-start;
  }
  &__text {
    flex: 1 1 auto;
  }
} */

.emojiDiv {
   text-align: center !important; 
}

.box {
  width: 300px;
  border: 15px solid green;
  padding: 50px;
  margin: 20px;
}

 /* Style the container with a rounded border, grey background and some padding and margin */
.container {
  border: 2px solid #ccc;
  border-radius: 5px;
  padding: 16px;
  margin: 16px 0;
}

/* Clear floats after containers */
.container::after {
  content: "";
  clear: both;
  display: table;
}

/* Float images inside the container to the left. Add a right margin, and style the image as a circle */
.container img {
  float: left;
  margin-right: 20px;
  border-radius: 50%;
}

/* Increase the font-size of a span element */
.container span {
  font-size: 20px;
  margin-right: 15px;
}

/* Add media queries for responsiveness. This will center both the text and the image inside the container */
@media (max-width: 500px) {
  .container {
    text-align: center;
  }

  .container img {
    margin: auto;
    float: none;
    display: block;
  }
} 

/* Add a black background color to the top navigation */
.topnav {
  background-color: #333;
  overflow: hidden;
  align-items: center;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: var(--main-color);
  color: white;
}