.content {
    align-items: center;
    text-align: justify;
    max-width: 1200px;
    font-size: 18px;
    margin-top: 20px;
}

.profile {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content.contact {
    justify-content: center;
}

.problem {
    display:block;
    padding-left: 20px;
}

.contact a {
    color: hsl(40, 63%, 93%);
    text-decoration: none;
}

.white-mode .contact a {
    color: #3f1010;
}

.contact p {
    padding: 10px;
}

.contact i {
    padding: 15px;
}

.profile img {
    width: 350px !important;
    height: 350px !important;

    border: 1px solid;
    border-color: #3f1010;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 85px;
    margin-top: 20px;
}

.animation {
    display: flex;
    align-items: center;
    height: 200px;
    object-fit: cover;
    overflow: hidden;
    justify-content: center;
    padding-top: 15px;
    height: 120px;
}

.animation.error {
    height: 300px;
}

.projects {
    text-align: left;
    font-size: 18px;
}

.projects h2 {
    font-size: 24px;
    text-align: left;
    padding-top: 50px;
    padding-bottom: 25px;
}

.projects h3 {
    font-style: italic;
}

.generator {
    display: flex;
    flex-direction: row;
    gap: 1px;

    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    padding: 20px;
    padding-top: 25px;
    padding-bottom: 30px;
}

.input_box {
    margin: 0 auto;
    margin-right: 25px;

    width: 100px;
    height: auto;
    visibility: visible;  
    background-color: #121212;
    color: #BDBDBD;
    text-align: center;
    padding: 10px;
    border:none;
    font-size: 13px;  
    border-bottom: 1px solid #e6e4e4;
    border-radius:0px;
}

.input_box:focus {
    border-bottom: 2px solid #ffffff;
    outline: none;
}

.white-mode .input_box {
    background-color: hsl(40, 63%, 93%);
    border-bottom: 1px solid #605f5f;
    color: #070606;
}

.white-mode .input_box:focus {
    border-bottom: 2px solid #605f5f;
    outline: none;
}

.output_box {
    max-width: 800px;
    margin: 0 auto;
    background-color: #2b2a2a;
    padding: 20px;
    border-radius: 20px;
    font-size: 16px;
    border: 1px solid #403e3e;

    position: relative;
    box-sizing: border-box;
    max-height: calc(100vh - 400px);
    overflow-y: auto;
}

.white-mode .output_box {
    background-color: hsl(42, 20%, 83%);
    color: #6d3b3b;
}

.switch {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    margin-top: 20px;
    position: relative;
}

.button {
    width: 100px;
    height: 35px;
    margin: 0 auto;
    border-radius: 15px;
    border-style:none;
    background-color: #2b2a2a;
    color: #BDBDBD;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    padding: 0px;
}

.button.left {
    margin-right: 20px;
}

.button.right {
    margin-left: 0px
}

.button.gen {
    height: auto;
    margin-left: 0px;
}

.button.gen:active {
    transform: scale(0.95);
}  


.button:hover {
    background-color: #95999d;
    color: #070707;
}

.white-mode .button:hover {
    background-color: #a0a8b0;
    color: #070707;
}

.button:disabled {
    transform: scale(0.98);
    background-color: #95999d;
    color: #070707;
    cursor:default;
    }    

.white-mode .button:disabled {
    transform: scale(0.98);
    background-color: #a0a8b0;
    color: #070707;
    cursor:default;
}

.white-mode .button {
    background-color: hsl(46, 20%, 83%);
    color: #6d3b3b;
}

.dt {
    width: 60%;
    align-items: center; 
    text-align: center; 
    border-bottom: 1px solid #545151; 
    color: #676464;
    line-height: 0.1em;
    margin: 0 auto;
    padding-top: 50px;
    padding-top: 20px;
}

.dt span {
    background:#121212; 
    padding:0 10px; 
}

.white-mode .dt span {
    background:hsl(40, 63%, 93%);
}

li {
    padding-top: 10px;
}


@media (max-width: 768px) {
    .content {
      flex-direction: column;
      align-items: center;
      text-align: center;
      margin-top: 10px;
    }

    .content.contact {
        flex-direction: row;
    }

    .problem {
        text-align:left;
        align-items: baseline;
    }

    .profile img {
        margin-left: 0;
        margin-top: 10px;
        width: 200px !important;
        height: 200px !important;
        order: 1;
    }
    .output_box {
        max-height: calc(100vh - 450px);
    }
    .profile {
        flex-direction: column;
        align-items: center;
    }
    .profile .content {
      margin-top: 20px;
      order: 2;
    }
  }
