/* 
min width for mobile is 320px
480px for mobile phones
768px for tablets 
1024px for landscape iPads or small desktops
The most widely used CSS breakpoints are:
- 320px – smallest phones (iPhone SE, older Androids)
- 480px – standard small/medium phones
- 768px – portrait tablets & large phones in landscape
- 1024px – tablets in landscape / small desktops
- 1200px / 1280px – laptops / desktops
- 1440px+ – large desktops
*/

/* Small phones (≤480px) Potrait
  Galaxy Z Fold 5 Potrait
  Iphone SE, XR, 12 Pro, 14 Pro MAx  Potrait
  Samsung galaxy s8+ Potrait
  -- FRONT PAGE DONE
  -- HELP & FEEDBACK DONE
  -- ALL FORMS DONE
  -- VIEW PAGE DONE
  -- EDIT SLIDE SYNCORNISING DONE
  -- MAKE VIDEO DONE
  -- SEARCH VIDEO DONE
  -- MY VIDEOS BUTTOS PAAVO HELP ENEDED!!!!
*/
@media screen and (max-width: 480px) {
  :root {
    --size-font-size: clamp(16px, 5vw, 19px);
  }

  /* SEARCH VIDEO */
  .search-container__form-and-video {
    flex-direction: column;
    padding: 1rem;
  }

  .form__fieldset-text {
    width: 100%;
    overflow-wrap: anywhere;
  }

  .search__form .form__fieldset label {
    font-weight: bold;
  }

  .search__form {
    width: 100%;
  }

  /*notification */
  #notification {
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
  }

  /* user entering private video */
  .view__form {
    width: 100%;
  }
  .view__form .form__fieldset {
    flex-direction: column;
  }

  .view__form label,
  .view__form input[type="text"] {
    width: 100%;
  }

  /*help and feedback form*/

  .help__form .form__fieldset {
    flex-direction: column;
  }

  .help__form label,
  .help__form textarea {
    width: 100%;
  }

  .form__fieldset {
    flex-direction: column;
  }

  label,
  select,
  input[type="text"] {
    width: 100%;
  }

  /* make video page */
  .section-heading {
    overflow-wrap: anywhere;
  }

  .section__video-form-content {
    width: 90%;
  }
  .saved-content__video {
    width: 100%;
  }

  .video-wrapper {
    width: 100%;
  }

  /* make video button*/
  .section__video-form-content .buttons .button {
    font-size: 0.7rem;
    padding: 0.1rem;
    width: 5rem;
  }

  /* my-videos */

  .form__my-videos .form__fieldset {
    flex-direction: column;
  }

  .form__my-videos label,
  .form__my-videos input[type="text"],
  .form__my-videos select,
  .form__my-videos .form__fieldset-text,
  .form__my-videos .form__fieldset fieldset {
    width: 100%;
  }
  .form__my-videos .form__fieldset fieldset {
    display: flex;
    flex-direction: column;
    padding: 0rem;
  }
  .form__my-videos .form__fieldset fieldset label {
    width: 100%;
  }

  .thesis-container__form-and-video {
    flex-direction: column;
  }

  .thesis-container__form-and-video > form {
    width: 100%;
  }

  .thesis-container__video-and-ppt {
    width: 100%;
    padding-left: 0rem;
    padding-top: 0.3rem;
  }

  .thesis-container__video-and-ppt-item {
    width: 100%;
    margin-top: 0.25rem;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .buttons__my-videos {
    all: unset;
    margin: 10rem;
  }

  .buttons__my-videos .buttons .button {
    font-size: 0.7rem;
    width: 5rem;
    margin: 0.2rem;
    padding: 0.3rem;
  }

  .buttons__my-videos .buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin: 0rem;
  }

  /* front and transcription page button */
  .wide-button {
    min-width: 13rem;
  }

  /* landscape warning */
  .landscape-warning {
    display: none;
  }

  /* edit slide syncronising page */

  .slider-container {
    width: 90%;
  }
  .slider-container__item-arrow,
  .slider-container__item-arrow_empty {
    width: 2.125rem;
    height: 2.125rem;
    font-size: 1.3rem;
  }

  #arrow_left {
    left: -2.4rem;
    padding-left: 0.1rem;
  }

  #arrow_right {
    right: -2.4rem;
    padding-left: 0.1rem;
  }

  .radio-buttons {
    width: 100%;
    gap: 1rem;
  }

  .radio-buttons label {
    font-size: 0.7rem;
  }

  /* view pages */
  .view-container {
    flex-direction: column;
    width: 95%;
  }

  .view__slides-wrapper {
    width: 100%;
  }

  #fullscreenBtn {
    padding: 0rem;
    margin: 1rem;
  }

  #fullscreenBtn:hover {
    background: none;
  }

  #fullscreenBtn svg {
    width: 1rem;
  }

  .view__only_video {
    width: 100%;
    margin-bottom: 1rem;
  }
  .view__equal_video-and-slides {
    width: 100%;
    margin-bottom: 1rem;
  }

  .view__large-item {
    width: 100%;
    margin-bottom: 1rem;
  }

  .view__small-item {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* Tablets (portrait) phones(landscape)
Iphone SE Landscape
iPad Mini Potrait
  -- FRONT PAGE DONE
  -- HELP & FEEDBACK DONE
  -- ALL FORMS NO-NEED
  -- PRIVATE PAGE VIEW DONE
  -- VIEW PAGE DONE
  -- EDIT SLIDE SYNCORNISING DONE 
  -- MAKE VIDEO DONE
  -- SEARCH VIDEO DONE
  -- MY VIDEOS DONE
*/
@media screen and (min-width: 481px) and (max-width: 768px) {
  :root {
    --size-font-size: clamp(20px, 3vw, 25px);
  }

  /* SEARCH VIDEO */
  .search-container__form-and-video {
    flex-direction: column;
    padding: 1rem;
  }

  .form__fieldset-text {
    overflow-wrap: anywhere;
  }

  /* make video*/
  .section__video-form-content .buttons .button {
    font-size: 0.7rem;
    padding: 0.1rem;
    width: 5rem;
  }

  .saved-content__video {
    width: 100%;
  }

  /* notification*/
  #notification {
    width: 80%;
    left: 50%;
    transform: translateX(-50%);
  }

  /* user entering private video */
  .view__form {
    width: 100%;
  }
  .view__form .form__fieldset {
    flex-direction: column;
  }

  .view__form label,
  .view__form input[type="text"] {
    width: 100%;
  }

  /*thesis container*/
  .thesis-container__form-and-video {
    flex-direction: column;
  }

  .thesis-container__form-and-video > form {
    width: 100%;
  }

  .thesis-container__video-and-ppt {
    width: 100%;
    padding-left: 0rem;
    padding-top: 0.3rem;
  }

  .thesis-container__video-and-ppt-item {
    width: 100%;
    margin-top: 0.25rem;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  /*buttons*/

  .button {
    min-width: 11rem;
  }

  .buttons__my-videos {
    all: unset;
    margin: 10rem;
  }

  .buttons__my-videos .buttons .button {
    font-size: 0.7rem;
    width: 5rem;
    margin: 0.2rem;
    padding: 0.3rem;
  }

  .buttons__my-videos .buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin: 0rem;
  }

  .landscape-warning {
    display: none;
  }

  /* edit slide syncronising page */

  .slider-container {
    width: 90%;
  }
  .slider-container__item-arrow,
  .slider-container__item-arrow_empty {
    width: 2.125rem;
    height: 2.125rem;
    font-size: 1.3rem;
  }

  #arrow_left {
    left: -2.4rem;
    padding-left: 0.1rem;
  }

  #arrow_right {
    right: -2.4rem;
    padding-left: 0.1rem;
  }

  .radio-buttons {
    width: 100%;
    gap: 1rem;
  }

  .radio-buttons label {
    font-size: 0.7rem;
  }

  /* view pages */
  .view-container {
    flex-direction: column;
    width: 95%;
  }

  .view__slides-wrapper {
    width: 100%;
  }

  #fullscreenBtn {
    padding: 0rem;
    margin: 1rem;
  }

  #fullscreenBtn:hover {
    background: none;
  }

  #fullscreenBtn svg {
    width: 1rem;
  }

  .view__only_video {
    width: 100%;
    margin-bottom: 1rem;
  }
  .view__equal_video-and-slides {
    width: 100%;
    margin-bottom: 1rem;
  }

  .view__large-item {
    width: 100%;
    margin-bottom: 1rem;
  }

  .view__small-item {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* Small tablets landscape, big phones landscape, big tablets potrait
  iPad Mini Landscape
  Galaxy Z Fold 5 Landscape
  Iphone XR, 12 Pro, 14 Pro Max Landscape
  iPad Air, Pro Potrait
  Nest hub
  Surface Pro 7 Potrait
  -- FRONT PAGE DONE
  -- HELP & FEEDBACK DONE
  -- ALL FORMS  NO NEED
  -- VIEW PAGE DONE (??? no need???)
  -- PRIVATE PAGE VIEW DONE
  -- EDIT SLIDE SYNCORNISING DONE
  -- MAKE VIDEO DONE
  -- SEARCH VIDEO DONE
  -- MY VIDEOS DONE
*/
@media screen and (min-width: 769px) and (max-width: 1024px) {
  :root {
    --size-font-size: clamp(16px, 3vw, 27px);
  }
  /* notificaion */
  #notification {
    width: 80%;
    left: 50%;
    transform: translateX(-50%);
  }

  .button {
    min-width: 11rem;
  }
  /* make video*/
  .section__video-form-content .buttons .button {
    font-size: 0.7rem;
    padding: 0.1rem;
    width: 5rem;
  }

  .saved-content__video {
    width: 100%;
  }

  /* SEARCH VIDEO */
  .search-container__form-and-video {
    flex-direction: column;
    padding: 1rem;
  }

  .form__fieldset-text {
    overflow-wrap: anywhere;
  }
  /*thesis container*/
  .thesis-container__form-and-video {
    flex-direction: column;
  }

  .thesis-container__form-and-video > form {
    width: 100%;
  }

  .thesis-container__video-and-ppt {
    width: 100%;
    padding-left: 0rem;
    padding-top: 0.3rem;
  }

  .thesis-container__video-and-ppt-item {
    width: 100%;
    margin-top: 0.25rem;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  /*buttons*/
  .buttons__my-videos {
    all: unset;
    margin: 10rem;
  }

  .buttons__my-videos .buttons .button {
    font-size: 0.7rem;
    width: 5rem;
    margin: 0.2rem;
    padding: 0.1rem;
  }

  .buttons__my-videos .buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin: 0rem;
  }

  .landscape-warning {
    display: none;
  }
  /* user entering private video */
  .view__form {
    width: 100%;
  }
  .view__form .form__fieldset {
    flex-direction: column;
  }

  .view__form label,
  .view__form input[type="text"] {
    width: 100%;
  }

  /* edit slide syncronising page */

  .slider-container {
    width: 90%;
  }
  .slider-container__item-arrow,
  .slider-container__item-arrow_empty {
    width: 2.125rem;
    height: 2.125rem;
    font-size: 1.3rem;
  }

  #arrow_left {
    left: -2.4rem;
    padding-left: 0.1rem;
  }

  #arrow_right {
    right: -2.4rem;
    padding-left: 0.1rem;
  }

  .radio-buttons {
    width: 100%;
    gap: 1rem;
  }

  /* view pages */
  .view-container {
    flex-direction: column;
    width: 95%;
  }

  .view__slides-wrapper {
    width: 100%;
  }

  #fullscreenBtn {
    padding: 0rem;
    margin: 1rem;
  }

  #fullscreenBtn:hover {
    background: none;
  }

  #fullscreenBtn svg {
    width: 1rem;
  }

  .view__only_video {
    width: 100%;
    margin-bottom: 1rem;
  }
  .view__equal_video-and-slides {
    width: 100%;
    margin-bottom: 1rem;
  }

  .view__large-item {
    width: 100%;
    margin-bottom: 1rem;
  }

  .view__small-item {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* Big tablets landscape, small laptop
  iPad Air landscape
  Nest hub max
  -- FRONT PAGE DONE 
  -- HELP & FEEDBACK NO-NEED
  -- ALL FORMS  NO-NEED
  -- VIEW PAGE DONE (??? no need???)
  -- PRIVATE PAGE VIEW DONE
  -- EDIT SLIDE SYNCORNISING DONE 
  -- MAKE VIDEO DONE
  -- SEARCH VIDEO DONE
  -- MY VIDEOS DONE
*/
@media screen and (min-width: 1025px) and (max-width: 1280px) {
  :root {
    --size-font-size: clamp(23px, 3vw, 23px);
  }

  .button {
    min-width: 11rem;
  }

  /* notificaion */
  #notification {
    width: 70%;
    left: 50%;
    transform: translateX(-50%);
  }

  /* SEARCH VIDEO */
  .search-container__form-and-video {
    flex-direction: column;
    padding: 1rem;
  }

  .form__fieldset-text {
    overflow-wrap: anywhere;
  }

  /* make video*/
  .section__video-form-content .buttons .button {
    padding: 0.1rem;
    width: 100%;
    width: 7rem;
  }

  .saved-content__video {
    width: 100%;
  }

  /* user entering private video */
  .view__form {
    width: 100%;
  }
  .view__form .form__fieldset {
    flex-direction: column;
  }

  .view__form label,
  .view__form input[type="text"] {
    width: 100%;
  }

  /*thesis container*/
  .thesis-container__form-and-video {
    flex-direction: column;
  }

  .thesis-container__form-and-video > form {
    width: 100%;
  }

  .thesis-container__video-and-ppt {
    width: 100%;
    padding-left: 0rem;
    padding-top: 0.3rem;
  }

  .thesis-container__video-and-ppt-item {
    width: 100%;
    margin-top: 0.25rem;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  /* buttons */

  .buttons__my-videos {
    flex-direction: column;
    align-items: center;
  }

  .buttons__my-videos .buttons .button {
    width: 7rem;
    margin: 0.2rem;
    padding: 0.9rem;
  }

  .buttons__my-videos .buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin: 0rem;
  }

  .landscape-warning {
    display: none;
  }

  /* edit slide syncronising page */

  .slider-container {
    width: 90%;
  }
  .slider-container__item-arrow,
  .slider-container__item-arrow_empty {
    width: 2.125rem;
    height: 2.125rem;
    font-size: 1.3rem;
  }

  #arrow_left {
    left: -2.4rem;
    padding-left: 0.1rem;
  }

  #arrow_right {
    right: -2.4rem;
    padding-left: 0.1rem;
  }

  .radio-buttons {
    width: 100%;
    gap: 1rem;
    font-size: 0.8rem;
  }

  /* view pages */
  .view-container {
    flex-direction: column;
    width: 95%;
  }

  .view__slides-wrapper {
    width: 100%;
  }

  #fullscreenBtn {
    padding: 0rem;
    margin: 1rem;
  }

  #fullscreenBtn:hover {
    background: none;
  }

  #fullscreenBtn svg {
    width: 1rem;
  }

  .view__only_video {
    width: 100%;
    margin-bottom: 1rem;
  }
  .view__equal_video-and-slides {
    width: 100%;
    margin-bottom: 1rem;
  }

  .view__large-item {
    width: 100%;
    margin-bottom: 1rem;
  }

  .view__small-item {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* Big tablets landscape, small laptop
  iPad Pro landscape
  Surface Pro 7 landscape
  -- FRONT PAGE  DONE
  -- HELP & FEEDBACK DONE
  -- ALL FORMS  NON-NEED
  -- VIEW PAGE  (??? no need???)
  -- PRIVATE PAGE VIEW DONE
  -- EDIT SLIDE SYNCORNISING DONE
  -- MAKE VIDEO DONE
  -- SEARCH VIDEO DONE
  -- MY VIDEOS DONE

@media screen and (min-width: 1281px) and (max-width: 1400px) {
  :root {
    --size-font-size: clamp(23px, 3vw, 27px);
  }

  #notification {
    width: 70%;
    left: 50%;
    transform: translateX(-50%);
  }
  .search-container__form-and-video {
    flex-direction: column;
    padding: 1rem;
  }

  .form__fieldset-text {
    overflow-wrap: anywhere;
  }


  .saved-content__video {
    width: 100%;
  }
  .view__form {
    width: 100%;
  }
  .view__form .form__fieldset {
    flex-direction: column;
  }

  .view__form label,
  .view__form input[type="text"] {
    width: 100%;
  }

  .thesis-container__form-and-video {
    flex-direction: column;
  }

  .thesis-container__form-and-video > form {
    width: 100%;
  }

  .thesis-container__video-and-ppt {
    width: 100%;
    padding-left: 0rem;
    padding-top: 0.3rem;
  }

  .thesis-container__video-and-ppt-item {
    width: 100%;
    margin-top: 0.25rem;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .buttons__my-videos {
    flex-direction: column;
    align-items: center;
  }

  .buttons__my-videos .buttons .button {
    min-width: 9.2rem;
    margin: 0.2rem;
    padding: 0.9rem;
  }

  .buttons__my-videos .buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin: 0rem;
  }
  .slider-container {
    width: 90%;
  }
  .slider-container__item-arrow,
  .slider-container__item-arrow_empty {
    width: 2.125rem;
    height: 2.125rem;
    font-size: 1.3rem;
  }

  #arrow_left {
    left: -2.4rem;
    padding-left: 0.1rem;
  }

  #arrow_right {
    right: -2.4rem;
    padding-left: 0.1rem;
  }
  .view-container {
    flex-direction: column;
    width: 95%;
  }

  .view__slides-wrapper {
    width: 100%;
  }

  #fullscreenBtn {
    padding: 0rem;
    margin: 1rem;
  }

  #fullscreenBtn:hover {
    background: none;
  }

  #fullscreenBtn svg {
    width: 1rem;
  }

  .view__only_video {
    width: 100%;
    margin-bottom: 1rem;
  }
  .view__equal_video-and-slides {
    width: 100%;
    margin-bottom: 1rem;
  }

  .view__large-item {
    width: 100%;
    margin-bottom: 1rem;
  }

  .view__small-item {
    width: 100%;
    margin-bottom: 1rem;
  }
}
*/

/* Styles for wide monitors CHECK WITH PAAVO's SCREEN
@media screen and (min-width: 1920px) {
  :root {
    --size-font-size: clamp(18px, 1.5vw, 20px);
  }
}
*/
