body {
    font-family: 'Noto Sans', sans-serif;
    padding: 40px 0px;
    color: #3d3d3f;
}

main {
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.1);
}

a, a:hover {
    color: #17b2d8;
}

h2 {
    font-size: 20px;
    font-weight: 500;
    color: #17b2d8;
    user-select: none;
    margin-bottom: 0px;
}

.container{
    box-shadow: 0px 0px 28px #fff;
    border-radius: 1rem;
    animation: shadow-animation 2s infinite alternate;
}

/*FOR GLOW AROUND CONTAINER ANIMATION*/
/*
.container{
    border-radius: 1rem;
    animation: shadow-animation 2s infinite alternate;
}

@keyframes shadow-animation{
    0% {
      box-shadow: 0 0 0px #ddd;
    }
    100% {
      box-shadow: 0 0 50px #ddd;
    }
}
*/

.transalation_flag {
    transition: filter 0.3s ease-in-out;
}

.transalation_flag:hover {
    filter: drop-shadow(0 0 15px rgba(255, 83, 112, 0.8));
}

.left-side {
    padding: 25px;
}

.profile {
    text-align: center;
    padding-bottom: 15px;
}

.profile h1 {
    padding-top: 20px;
    text-transform: uppercase;
}

.picture {
    background-repeat: no-repeat;
    background-size: cover;
}

.picture img {
    max-width: 70%;
    border: 1px solid #ff5370;
    border-radius: 100%;
}

.btn-cv {
    padding: 10px;
    color: white;
    background-color: #17b2d8;
    width: 100%;
    border-radius: 0px;
}

.btn-cv:hover {
    color: #fff;
    background-color: #00ccff;
}

.btn:focus, .btn:active {
    outline: none !important;
    box-shadow: none;
    color: white;
}

.language-item {
    display: flex;
    align-items: center;
    font-size: 1.12rem;
    margin-bottom: 8px; /* Add some space between items */
}

.language-item img {
    width: 28px; /* Set the width of the image */
    height: auto; /* Maintain aspect ratio */
    margin-right: 8px; /* Space between image and text */
}

.language-item p {
    margin: 0; /* Remove default margin from paragraphs */
}

.bubble {
    border: solid 1px #DDD;
    background: #EEE;
    margin-bottom: 0.25rem;
    align-self: flex-start;
    width: max-content;
    padding: 0.3rem 0.3rem;
    border-radius: 0.5rem;
    position: relative;
    display:inline-block;
    margin-right: 0.2rem;
}

.social {
    font-size: 1.3rem;
    
    padding: 0;
    list-style-type: none;
}

.social i {
    width: 20px;
}

.right-side {
    padding: 0px;
}

section {
    border-bottom: 1px solid #ddd;
}

.section-title {
    text-transform: uppercase;
    margin-left: -5px;
    cursor: pointer;
    padding: 2.745rem;
    z-index: 1;
    position: relative;
}

[id*="Content"] {
    padding: 40px;
    margin-top: -32px;
}

.section-title-leftpane {
    font-style: bold;
    text-transform: uppercase;
    color: #ff5370;
    margin-bottom: 8px;
}

.upper-row {
    position: relative;
}

.company, .school-name{
    color: #ff5370;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 0px;
}

.time {
    font-size: 15px;
    font-weight: 500;
    color: #ff5370;
}

.job-title, .school-title {
    font-size: 14px;
    /*font-style: italic;*/
	font-weight: bold;
    margin-bottom: 5px;
}

.job li, section {
    font-size: 15px;
}

.honors h3{
    color: #ff5370;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 0px;
}

.contact-form {
    padding-top: 5px;
}

.form-group input, .form-group textarea {
    border-radius: 0px;
    border-color: #ddd;
}

.form-control:focus {
    box-shadow: none;
    border-radius: 0px;
    border-color: #ddd;
}

footer {
    text-align: center;
    padding: 30px;
}

@media (min-width: 1200px) {
    .container {
      max-width: 90%;
    }
}

@media (max-width: 991.98px) {
    .right-side {
        border-top: 1px solid #ff5370;
    }
    
}

@media (min-width: 992px) {
    .left-side {
        border-right: 1px solid #ff5370;
    }

    .time {
        position: absolute;
        right: 0;
        top: 0;
    }

    header {
        /* fixed sidebar */
        position: -webkit-sticky;
        position: sticky;
        top: 25px;
    }.container {
        max-width: 90%;
    }
}

/* IMAGE BACKGROUND */
.BackgroungImg{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    background-image: url("../img/backgrounds/japan_animated.gif");
    background-size: cover;
    filter: saturate(700%);
    /*filter: saturate(700%);*/
    z-index: -1;
}

/*

ANIMATED BACKGROUND
body {
	background: linear-gradient(-45deg, #ff5370, #e73c7e, #23a6d5, #23d5ab);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
	height: 100vh;
}

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

*/

/*HIDE UNHIDE FEATURE*/

.hidden {
    display: none;
}
.fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-out {
    animation: fadeOut 0.5s ease-in-out forwards;
    display: block; /* Ensure the element is still displayed while fading out */
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* DARK MODE */

/*Dark Changes*/
.dark h1{
    color: #DDD !important;
}

.dark p{
    color: #DDD !important;
}

.dark .school-title{
    color: #7a7a7a;
}

.dark section {
    border-bottom: 1px solid #444444;
}

.dark hr{
    border-top: 1px solid #525252;
    border-radius: 100%;
}

.dark .bubble{
    background-color: #444444;
}

.dark main{
    background-color: #202020;
    border: 1px solid #202020;
}

body.dark{
    background-color: black;
    color: #DDD;
}

.dark #copy-message {
    border: 2px solid #525252;
    background-color: #202020;
    color: #17b2d8;
}

/*button stuff*/

.checkbox-toggle {
    display: none;
}

.checkbox-label {
    transform: scale(1.2);
    background-color: #222423;
    width: 70px;
    height: 38px;
    border-radius: 50px;
    border: 3px solid #000;
    position: relative;
    cursor: pointer;
    transition: background-color .3s linear, border-color .3s linear;
}

.stars {
    opacity: .6;
    width: 3px;
    height: 3px;
    position: absolute;
    transform: translateX(0);
    top: 4px;
    right: 30px;
    box-shadow: 0 0 #CFCFCF, 2px 3px #CFCFCF, 20px 0 #CFCFCF, 10px 8px #CFCFCF, 23px 10px #CFCFCF, 21px 18px #CFCFCF, 2px 19px #CFCFCF, 13px 14px #CFCFCF;
    transition: transform .3s linear, opacity .1s linear, box-shadow .2s linear;
    border-radius: 50%;
}

.cloud {
    opacity: 0;
    width: 10px;
    height: 10px;
    background-color: #fff;
    position: absolute;
    transform: translateX(0);
    top: 14px;
    right: 15px;
    border-radius: 50%;
    transition: transform .3s linear, opacity .2s linear;
}

.cloud:after {
    content: '';
    position: absolute;
    width: 13px;
    height: 13px;
    background-color: #fff;
    position: absolute;
    top: -3px;
    right: -8px;
    border-radius: 50% 50% 0 0;
}

.cloud:before {
    content: '';
    position: absolute;
    width: 11px;
    height: 11px;
    background-color: #fff;
    position: absolute;
    top: -1px;
    right: -13px;
    border-radius: 50%;
}

.toggle-ball {
    background-color: #fff;
    height: 30px;
    width: 30px;
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 0;
    border: 3px solid #fff;
    transform: translate(0, -50%);
    transition: transform .3s linear, border .1s linear, background-color .3s linear;
}

.hole {
    position: absolute;
    background-color: #ededeb;
    border-radius: 50%;
}

.hole:nth-child(1) {
    top: 5px;
    left: 1px;
    width: 6px;
    height: 6px;
}

.hole:nth-child(2) {
    top: 0px;
    left: 14px;
    width: 8px;
    height: 8px;
}

.hole:nth-child(3) {
    top: 17px;
    left: 14px;
    width: 6px;
    height: 6px;
}

.checkbox-toggle:checked + .checkbox-label .toggle-ball {
    transform: translate(34px, -50%);
    border-color: #E7B9B6;
    background-color: #F2E789;
}

.checkbox-toggle:checked + .checkbox-label .toggle-ball .hole {
    opacity: 0;
}

.checkbox-toggle:checked + .checkbox-label {
    background-color: #F6B6D8;
    border-color: #CDA1B2;
}

.checkbox-toggle:checked + .checkbox-label .cloud {
    opacity: 1;
    transform: translateX(-10px);
}

.checkbox-toggle:checked + .checkbox-label .stars {
    opacity: 0;
    transform: translateX(-10px);
}


/*WATER ANIMATION*/

.wave {
    color: #17b2d8;
    cursor: pointer;
    overflow: hidden; /* Ensures the background is clipped to the element */
}

.wave::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400%;
    height: 200%;
    background-image: url('../img/misc/wavedouble.png');
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center;
    transform: translate(-50%, -50%) translateY(75%);
    transition: transform 0.5s ease-out;
    z-index: -1;
    pointer-events: none;
}

.wave:hover::before {
    transform: translate(-50%, -50%) translateY(-50%);
}

.wave:hover {
    text-shadow: #ddd 1px 1px 8px;
}

.wave:active {
    color: white;
    transition: color 0.1s ease; /* Smooth transition for color change */
}

/*OTHER TOGGLES*/
.switch-container {
    position: absolute;
    width: 140px;
    height: 45px;
    float: left;
  }
  
  .switch {
    width: 0;
    height: 0;
    visibility: hidden;
  }
  
  .slider {
    width: 100%;
    height: 100%;
    background-color: #00ccff;
    border-radius: 100px;
    position: absolute;
    cursor: pointer;
    transition: 0.5s;
  }

  .slider:before {
    content: "";
    width: 35px;
    height: 35px;
    background-color: #e8f5f7;
    position: absolute;
    border-radius: 70px;
    top: 4px;
    left: 5px;
    transition: 0.5s;
  }
  
  .switch:checked + .slider:before {
    left: calc(100% - 10px);
    transform: translateX(-100%);
  }
  
  .switch:checked + .slider {
    background-color: #ff5370;
  }
  
  .slider:active:before {
    width: 50px;
  }


/*COPY TO CLIPBOARD*/
#copy-message {
    display: none;
    position: fixed; /* Use fixed positioning to prevent affecting the document flow */
    width: auto;
    height: auto;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%) translateY(100%); /* Start outside of the viewport */
    padding: 5px;
    border: 1px solid #ddd;
    background-color: #ffffff;
    color: #17b2d8;
    text-align: center;
    border-radius: 1rem;
    z-index: 50;
    white-space: nowrap;
    font-size: 24px; /* Adjust the font size as needed */
    animation: slideUp 0.5s forwards; /* Animation properties */
    overflow: hidden;
}

/* Animations to fade the snackbar in and out */
@keyframes slideUp {
    0% {
        transform: translateX(-50%) translateY(100%); /* Start outside of the viewport */
    }
    100% {
        transform: translateX(-50%) translateY(0); /* Move into the viewport */
    }
}
