html {
    background-color: white;
    scroll-behavior: smooth;
}


::selection {
    background: #a3a3a3;
}

image-rendering: -moz-crisp-edges;
image-rendering: -o-crisp-edges;
image-rendering: optimize-contrast;
image-rendering: -webkit-optimize-contrast;
image-rendering: crisp-edges;
-ms-interpolation-mode: nearest-neighbor;

.log {
    display: block;
    position: relative;
}

body {
    font-family: "helvetica neue", sans-serif;
    font-size: 14px;
    text-align: justify;
    letter-spacing: 0.5;
    line-height: 1.3;
}

.about {
    z-index: 4;
    position: fixed;
    top: 5%;
    right: 10%;
    color: #5aa73f;
}

.social {
    text-decoration: none;
    color: #a3a3a3;
}

.wifi {
    text-decoration: none;
    color: black;
}

.circle {
    top: 0%;
    right: 0%;
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: #7efbec;
    border-radius: 50%;
    border: 40px solid #5aa73f;
    display: block;
    filter: blur(45px);
    animation: rotate 5s linear infinite;
    transform-origin: 50% 200px;
    cursor: pointer;
}

@keyframes rotate {
    100% {transform: rotate(-360deg);} 
}

.circle:focus {
    animation-play-state: paused;
}

.circle:hover {
    opacity: 50%;
}

.name {
    position: absolute;
    z-index: 3;
    top: 20%;
    right: 10%;
    color: white;
    opacity: 85%;
    font-family: "times new roman";
    font-weight: 100;
    font-size: 18px;
}

.logo {
    width: 400px;
    height: 400px;
    padding: 1px;
    position: fixed;
    top: 22%;
    right: 20%;
    z-index: 2;
    float: right;
}

.entry {
    position: relative;
    margin-left: 7%;
    margin-top: 4%;
    margin-bottom: 5%;
    width: 500px;
    z-index: 1;
}

.right {
    width: 250px;
    display: inline-block;
    z-index: 1;
    margin: auto;
    cursor: pointer;
    float: right;
    flex: 1;
}

.right:hover {
    opacity: 50%;
}

.left {
    width: 250px;
    display: inline-block;
    z-index: 1;
    margin: auto;
    cursor: pointer;
    float: left;
    flex: 1;
}

.left:hover {
    opacity: 50%;
}

.center {
    width: 500px;
    display: inline-block;
    z-index: 1;
    margin: auto;
    cursor: pointer;
    float: center;
    flex: 1;
}

.center:hover {
    opacity: 50%;
}

.right, .left, .center { /*crispy images!*/
    * -webkit-filter: blur(0);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

h4 {
    font-family: "times new roman";
    font-size: 20px;
    color: #a3a3a3;
}

h3 {
    font-family: "times new roman";
    font-size: 20px;
}

h1 {
    font-family: "times new roman";
}

.ding {
    font-size: 20px;
    color: #a3a3a3;
}

a:hover {
  color: #7efbec;
}

a {
    text-decoration: none;
    color: #5aa73f;
}


/* ↓ OPTIMIZING FOR MOBILE DEVICES BELOW ↓ */

/* 1. for phones */

@media only screen and (min-device-width: 50px) and (max-device-width: 767px) {    
    body {
        text-align: left;
        margin: auto;
        font-size: 13px;
    }
        
    .entry {
        position: relative;
        width: 80%;
        margin: auto;
        margin-bottom: 7%;
    }
        
    .right {
        width: 50%;
        display: inline-block;
        z-index: 1;
        cursor: pointer;
        float: right;
        flex: 1;
    }

    .left {
        width: 50%;
        display: inline-block;
        z-index: 1;
        cursor: pointer;
        float: left;
        flex: 1;
    }
    
    .center {
        width: 100%;
        display: inline-block;
        z-index: 1;
        margin: auto;
        cursor: pointer;
        float: center;
        flex: 1;
}
        
    .about {
        position: relative;
        top: 0;
        right: 0;
        left: 0;
        margin-left: 10%;
        margin-top: 5%;
        margin-bottom: 5%
        float: left;
    }
        
    .logo {
        position: absolute;
        top: 17%;
        right: 27%;
        zoom: 0.38;
        z-index: 2;
    }
    
    .name {
        display: none;
    }
}

/* 2. for tablets (in portrait) */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    body {
        font-size: 16px;
    }
    
    .about {
        position: relative;
        float: right;
    }
    
    .entry {
        float: left;
        width: 50%;
    }
    
        
    .right {
        width: 50%;
        display: inline-block;
        z-index: 1;
        cursor: pointer;
        float: right;
        flex: 1;
    }

    .left {
        width: 50%;
        display: inline-block;
        z-index: 1;
        cursor: pointer;
        float: left;
        flex: 1;
    }
    
    .center {
        width: 100%;
        display: inline-block;
        z-index: 1;
        margin: auto;
        cursor: pointer;
        float: center;
        flex: 1;
}
    
    .logo {
        position: absolute;
        top: 23%;
        right: 18%;
        zoom: 0.6;
        z-index: 2;
    }
    
    .name {
        font-size: 20px;
        right: 5%;
        top: 25%;
    }
}

/* 3. for tablets, but also for iphone X bc it's so long (in landscape) */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    body {
        font-size: 16px;
    }
    
    .about {
        position: relative;
        float: right;
    }
    
    .entry {
        float: left;
        width: 50%;
    }
    
        
    .right {
        width: 50%;
        display: inline-block;
        z-index: 1;
        cursor: pointer;
        float: right;
        flex: 1;
    }

    .left {
        width: 50%;
        display: inline-block;
        z-index: 1;
        cursor: pointer;
        float: left;
        flex: 1;
    }
    
    .center {
        width: 100%;
        display: inline-block;
        z-index: 1;
        margin: auto;
        cursor: pointer;
        float: center;
        flex: 1;
}
    
    .logo {
        position: absolute;
        top: 55%;
        right: 13%;
        zoom: 0.6;
        z-index: 2;
    }
    
    .name {
        font-size: 20px;
        right: 5%;
        top: 25%;
    }
}
